Skip to content

oikos-cash/swap-v2-core

Repository files navigation

Swap V2

Actions Status Version

Swap v2 is a Tron port of Uniswap v2. In-depth documentation on Uniswap V2 is available at uniswap.org.

The built contract artifacts can be browsed via unpkg.com.

Contract Addresses

Chain Address
Mainnet TALZyLNFk1ftUkJSy9bYZVLgBSuWzKMcR2
Nile TFyQKFhnFxt45zA2rdmCswmXa1YNiDs46n

Compiled with solc 0.5.16+commit.9c3226ce.Emscripten.clang.

Local Development

The following assumes the use of node v12.

nvm use 12

Install Dependencies

npm install

Compile Contracts

npm run compile

Run Tests

npm test

Tron Deployment

Note: use Node <12 to use Truffle...

npm run deploy or npm run deploy:nile.