- This sample is a constract written in JS for icetea platform.
- If you prefer React Hooks, use this version
project
└───client <-- create-react-app
└───src
│ │ simplestore.djs <-- your source here
└───icetea.js <-- blockchain connection config
└───deploy.js <-- deploy logic
- Modify connection config in
icetea.js. Deploy contract with brittle (brittle deploy) - Change deployed contract address in
client/src/App.js(line 7) - Start the react app
$ cd client
$ npm install
$ npm start