Skip to content

crypto-com/swap-interface

 
 

Repository files navigation

DeFi Swap Interface

Styled With Prettier

As a new DeFi protocol, DeFi Swap is designed to be the best place to swap and farm DeFi coins at the best available rate, leveraging proven and audited protocols, while offering an outstanding incentive program powered by CRO.

Please visit https://crypto.com/defi for more information!

Submit a token request

Please see the swap-token-list repository.

Development

Please update the .env file to ensure full functionality.

Build local modules

cd local_modules/swap_sdk/
yarn
yarn build

Install dependencies

yarn

Run

yarn start

Configuring the environment

  1. Make a copy of .env named .env.local
  2. Change REACT_APP_NETWORK_ID to "{YOUR_NETWORK_ID}"
  3. Change REACT_APP_NETWORK_URL to e.g. "{YOUR_NETWORK_URL}"

Packages

No packages published

Languages

  • TypeScript 99.5%
  • Other 0.5%