An open source interface for Trisolaris -- a community-driven decentralized exchange for Aurora and Ethereum assets with fast settlement, low transaction fees, and a democratic distribution -- powered by Aurora.
- Website: https://www.trisolaris.io/
- Telegram: TrisolarisLabs
- Mail: TrisolarisLabs
- Twitter: @trisolarislabs
Visit https://www.trisolaris.io/.
yarn
yarn start
The Tokens Repo's master branch is added as a submodule. This repo references the tokens in the Tokens repo (and their associated metadata). Items defined in dev/generate_tokens/base_tokens_map.js
take precedence over the imported tokens, and will override the imported metadata.
Run this command when there's an update to the master branch or if you want to update/rebuild the tokens list. There's no harm in running this command multiple times.
yarn build-tokens
yarn test
To have the interface default to a different network when a wallet is not connected:
- Make a copy of
.env
named.env.local
- Change
REACT_APP_NETWORK_ID
to"{YOUR_NETWORK_ID}"
- Change
REACT_APP_NETWORK_URL
to your JSON-RPC provider
- Create PR that includes
npm version patch
- Merge PR to
main
branch - Deploy to Staging
- Deploy to Prod
Note: If a feature is going directly to prod, please make a PR that includes npm version patch
as its final diff. Deploy to production after this PR has been merged to main
branch
This code was adapted from this Uniswap repo: uniswap-interface.