Skip to content

Sifchain/sifchain-ui-next

Repository files navigation

⚡️ T H E    O M N I C H A I N    J A V A S C R I P T    L I B R A R Y ⚡️

FRONTEND 🤝 TRADING BOTS 🤝 ARBITRAGE


✨ Links

Learn how to use Sifchain.js.

🖼 Dex

Sifchain's User Interface

Development

This monorepo is powered by pnpm and turborepo. So make sure you have pnpm installed before you run this commands:

script description
pnpm dev Run the dex app in development mode
pnpm build Build a deployable app to the apps/dex/.next folder
pnpm test Run unit and integration tests
pnpm e2e Run end to end tests against code built in apps/dex
pnpm storybook Launch storybook
pnpm build-storybook Build storybook to the storybook-static folder

Running a command with the --help flag will display a help message explaining what the command does.

Deployment

See here

Testing against environments

Attaching a query string var _env will set cookies to point your build to any environment you want:

url env
http://localhost:3001?\_env=mainnet MAINNET
http://localhost:3001?\_env=testnet TESTNET
http://localhost:3001?\_env=devnet DEVNET
http://localhost:3001?\_env=localnet LOCALNET