Rari Capital's Web3 Portal.
- Run
npm run dev
to start the development server. - Run
npm run build
to build a production bundle - Run
npm run bump-rari-components
to automatically install the latest version (i.e. most recent commit hash) of rari-components and updatepackage.json
. - Run
npm run typecheck
to typecheck
- Set
NEXT_PUBLIC_USE_MOCKS
totrue
to test the dapp with mock objects (e.g.NEXT_PUBLIC_USE_MOCKS=true npm run dev
).- Currently, this env var is only used in the Turbo code — Ctrl+F for
process.env.NEXT_PUBLIC_USE_MOCKS
to see the specific use sites.
- Currently, this env var is only used in the Turbo code — Ctrl+F for
- node:
v14.17.0
- npm:
v6.14.13
What are the "compiled" folders in src/static?
- The
src/static/compiled
folder has misc. files that are auto generated from scripts like: rari-tokens-generator - You can generate these files using
npm install
. - These files are gitignored so do not worry about trying to commit them!