Calling Deployed Smart Contract Code
In this video, we'll write our first Solidity smart contract
Now that we have our contract on the blockchain, we can start using it.
- First we'll parse our ABI into a JSON data structure
- Second we'll create a contract "class" using that ABI and
- Third we'll instantiate that class using our address
It's probably easier to just show you in code.
# First we're going to copy our abi file we compiled earlier cat counter_sol_Counter.abi cat counter_sol_Counter.abi | pbcopy
Next we'll go back to geth and parse the string with