Skip to content

brittle-box/react-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sample-react-box

  • This sample is a constract written in JS for icetea platform.
  • If you prefer React Hooks, use this version

Directory

project
└───client               <-- create-react-app
└───src
│   │   simplestore.djs  <-- your source here
└───icetea.js            <-- blockchain connection config
└───deploy.js            <-- deploy logic

Step

  1. Modify connection config in icetea.js. Deploy contract with brittle (brittle deploy)
  2. Change deployed contract address in client/src/App.js (line 7)
  3. Start the react app
$ cd client
$ npm install
$ npm start

About

react-box

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published