1.0.3 • Published 5 years ago
@oikos/swap-v2-core v1.0.3
Swap V2
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 | TPvAyF9bNTbP4xEkmgJKefh3pPtZsrqDHM |
| Nile | TFyQKFhnFxt45zA2rdmCswmXa1YNiDs46n |
Compiled with solc 0.5.16+commit.9c3226ce.Emscripten.clang 200 runs.
Local Development
The following assumes the use of node v12.
nvm use 12Install 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.