This code follow https://codeburst.io/build-your-first-ethereum-smart-contract-with-solidity-tutorial-94171d6b1c4b To learn smart-contract and solidity. Develop and test solidity code on Remix Web Browser IDE From setup Private Ethereum Network. Run Mining Process Use Mist to create account ,create transaction, deploy smart contracts. There are 2 smart contracts in this reposity
- smart contracts without selfdestruct function
- smart contracts with selfdestruct function
Develop and test solidity code on Remix Web Browser IDE
Compile , Run and Create contract
try add()
try subtract()
Setup Private Ethereum Network.
Run Mining Process
try miner.start();
try miner.stop();
Get Eth from mining
Deploy first contract without selfdestruct function
No transaction confirm since run in private network must run mining process by yourself
Start Mining again
Contract Created
try Subtract funtion in contract
try Add funtion in contract
Next , Deploy second contract with selfdestruct function
Send some Eth to contract
Call Kill function
That contract will be disable