Orchestration for cross-chain tokens & contracts
- Install dependencies
pnpm i
- Run the application
pnpm dev
The following scripts are available in the project:
dev
: Starts the development server usingnext dev
.build
: Runs thebuild.sh
script to build the production version of the app.build:analyze
: Runs thebuild
script with theANALYZE
environment variable set totrue
, which generates a report of the bundle size and dependencies.start
: Starts the production server usingnext start
.lint
: Runsnext lint
to check for linting errors.dev:e2e
: Starts the development server with end-to-end testing enabled.test:e2e
: Runs end-to-end tests usingplaywright
.ci:e2e
: Runs end-to-end tests in a continuous integration environment usingplaywright
.test
: Runs unit tests usingvitest
.test:coverage
: Runs unit tests with coverage reporting usingvitest
.sync
: Runs thesync.cjs
script to sync the app with other environments.codegen
: Runs thewagmi generate
command to generate typesafe react-query client for interacting with the ITS contracts.release
: Creates a github release from the latest changelog entry.
To run the ui end to end tests, you'll need to install foundry
once you have set up Foundry, on one terminal start the dev server and anvil
pnpm dev:e2e
on another terminal, run the tests
pnpm test:e2e