All Questions
3 questions
9
votes
3
answers
7k
views
Who pays gas for smart contracts?
I'm currently writing my first smart contract and I'm trying to figure out how to inject gas into the contract, of course, if it's possible.
I'm not sure If I got it correctly. With every transaction ...
2
votes
1
answer
6k
views
How to Deploy and call a contract? Address needed beforehand?
I want to store a string from a script in node.js to blockchain.
This is the contract.
pragma solidity ^0.4.0;
contract SimpleStorage {
string storedData;
function set(string x) {
...
1
vote
1
answer
7k
views
what is [Reverted] during contract execution
I have sent ETH to a contract address, and it "failed" the transaction saying it is: Warning! Error encountered during contract execution [Reverted]
contract address and transaction failure here:
...