This project is a client-side application written in React TypeScript and using the Vite bundler.
- Install dependencies using yarn:
yarn install
- Run the dev server:
yarn dev
- Go to the
contracts
directory:cd contracts
- Build contracts:
sozo build
- Run katana:
katana --allow-zero-max-fee
- Apply migrations:
sozo migrate --name eternum
- Run indexer:
torii --manifest target/dev/manifest.json
- Apply env variables:
source scripts/env_variables.sh
- Set config:
./scripts/set_config.sh
TBD
- Generate code from GraphQL:
yarn codegen
- Build the project:
yarn build
- Preview the project:
yarn preview