Skip to content

🦄 🦉 An open source interface for the Uniswap protocol + the Gnosis conditional token framework

License

Notifications You must be signed in to change notification settings

davidoj/unisplit-and-swap-interface

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uniswap Interface + Gnosis Conditional Tokens

Lint Tests Styled With Prettier

This is a fork of the Uniswap interface that incorporates elements of the Gnosis conditional token explorer to facilitate conditional token exchanges. It doesn't work yet.

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.

About

🦄 🦉 An open source interface for the Uniswap protocol + the Gnosis conditional token framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.4%
  • Other 0.6%