Skip to content

Bond-Protocol/dapp

Repository files navigation

logo Frontend Monorepo

Usage

Clone repo and:

Setup

pnpm && pnpm build

Dev Mode

You should use the flag --filter=<package_name> to run commands only on a specific package like:

pnpm dev --filter=dapp

This would only run the dapp package on dev mode while using the built code from other dependencies like the ui or contract-library, making reloading faster

This command can also be chained like:

pnpm dev --filter=dapp --filter=ui

Test Mode

To simply run tests use

pnpm test

For developing tests or debugging its useful to have the cypress dashboard, open it with:

cd apps/dapp
pnpm test:open

Enabling new Chains

  • Check examples under packages/contract-library/src/deployments for the configuration structure
  • Update ../deployments/(mainnets/testnets)/index.ts to include the newly added deployment configuration
  • If oracle markets or fixed expiry is available, add it to dapp/.../create-market/config.ts

Useful Links

Turbopack Cypress

About

Bond Protocol dApp Frontend

Resources

License

Stars

Watchers

Forks

Contributors 5