Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.66 KB

README.md

File metadata and controls

53 lines (35 loc) · 1.66 KB

Baoswap Interface

Tests Styled With Prettier

An open source interface for Baoswap -- a protocol for decentralized exchange of Bao tokens.

Accessing the Baoswap Interface

To access the Baoswap Interface, use an IPFS gateway link from the latest release, or visit baoswap.xyz.

Listing a token

Bao uses token lists, which are community managed lists.

Development

Install Dependencies

yarn

Run

yarn start

Configuring the environment (optional)

To have the interface default to a different network when a wallet is not connected:

  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. "https://{YOUR_NETWORK_ID}.infura.io/v3/{YOUR_INFURA_KEY}"

Note that the interface only works on testnets where both Uniswap V2 and multicall are deployed. The interface will not work on other networks.

Contributions

Please open all pull requests against the main branch. CI checks will run against all PRs.