- run
npm install
- run
npm run ganache
to run our local simulated Etherium blockchain. or you can download ganache UI and run it's UI version - create a .env from .env.example file and fill out the variables
- run
node compile.js
to compile contract - run
node deploy.js
to deploy contract - run
node index.js
to play with the contract
limbara / simple-contract Goto Github PK
View Code? Open in Web Editor NEWA Simple Etherium Smart Contract