- Rename
.env.example
to.env
npm i
If you want to use local Icetea node (easier for debugging).
npm i -g ndb TradaTech/icetea
icetea init
icetea start
For help, type icetea -h
.
Setting this in the .env
file:
REACT_APP_RPC=wss://rpc.icetea.io/websocket
npm run deploy
(this will load and update.env
)
Deploying contracts will make the app uses the new contracts, thus all existing data will be lost. Only deploying at the first time you install Icetea, when the contracts' sources were changed, or after you reset the local Icetea Node.
npm start