Skip to content

bank8426/solidity-eth-tutorial2-helloworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

solidity-eth-tutorial2-helloworld

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 alt text

try add()

alt text

try subtract()

alt text

Setup Private Ethereum Network. alt text alt text

Use Mist to Create account alt text alt text

Run Mining Process try miner.start(); alt text try miner.stop(); alt text Get Eth from mining alt text

Deploy first contract without selfdestruct function alt text alt text alt text No transaction confirm since run in private network must run mining process by yourself alt text Start Mining again alt text alt text

Contract Created alt text try Subtract funtion in contract alt text alt text try Add funtion in contract alt text

Next , Deploy second contract with selfdestruct function alt text alt text alt text alt text Send some Eth to contract alt text alt text alt text Call Kill function alt text alt text That contract will be disable alt text

Releases

No releases published

Packages

No packages published