@oikos/swap-v2-core

1.0.3ย โ€ขย Publicย โ€ขย Published

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 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 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.

Package Sidebar

Install

npm i @oikos/swap-v2-core

Weekly Downloads

1

Version

1.0.3

License

GPL-3.0-or-later

Unpacked Size

5.98 MB

Total Files

41

Last publish

Collaborators

  • kevholder
  • oikoscash