This project was generated using Nx.
It is a monorepo enabling the learning of the web3 space.
All projects are prototypes which are nowhere near production ready!!
- Have correct .env file in app folder - e.g
apps/chain-chat/env.example
running fork will compile and deploy automatically
npm run fork
- update
.env
npm run config:local -- --environment=dev
npm run start
npm run deploy:local
- update
.env
For security reasons the config is generated from .env
files at build time. Using the npm config
scripts will generate the correct environment.ts
files required by the application. For different networks use different .env
files.
npm run config:local -- --environment=dev
npm run build
npm run config:local -- --environment=prod
npm run build -- --configuration=production