Deploying smart contracts on our private chain

Now that we have mined quite a few ethers, we can start to deploy our smart contract. Figure 3.38, Figure 3.39, Figure 3.40, Figure 3.41, Figure 3.42, Figure 3.43, Figure 3.44, and Figure 3.45 depicts how to create a smart contract, then deploy it on the private blockchain by spending a few ethers and then executing the contract where each step requires us to spend some ethers. We have kept the miner started in the background so that our account gets filled up with ethers, and we do not exhaust our ethers in the middle of the execution of the smart contract. We also need the mining to deploy the smart contract. The smart contract used is the same increment and decrement operation, we discussed ...

Get Ethereum Smart Contract Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.