Giter Club home page Giter Club logo

swap-interface's Introduction

Swap Interface

Styled With Prettier

An open source interface for Swap -- a protocol for decentralized exchange of Tron tokens.

Listing a token

Please see the oikos-cash/default-token-list repository.

Development

Install Dependencies

npm install

Run

npm 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}" (e.g. 11111 for Tron Mainnet network)

Example .env.local file for Nile network:

REACT_APP_CHAIN_ID="201910292"
REACT_APP_TRON_NETWORK="nile"

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

Contributions

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

Accessing Swap Interface V1

The Swap Interface supports swapping against, and migrating or removing liquidity from Swap V1. However, if you would like to use Swap V1, the Swap V1 interface for mainnet and testnets is accessible via swap-v1.oikos.cash.

swap-interface's People

Contributors

moodysalem avatar noahzinsmeister avatar haydenadams avatar ianlapham avatar kevholder avatar chikeichan avatar kennyt avatar callil avatar mirshko avatar paulrberg avatar dy avatar hav-noms avatar christophsiegenthaler avatar tpmccallum avatar wjmelements avatar artistic709 avatar oikos1 avatar mikedemarais avatar micahzoltu avatar cryptocatvc avatar brianmcmichael avatar hacktar avatar dependabot[bot] avatar tomafrench avatar pcowgill avatar pascalvanhecke avatar olivernchalk avatar mounibec avatar eccentricexit avatar xuhcc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.