7.0.0 • Published 4 years ago
acent-sdk v7.0.0
Acentswap SDK
In-depth documentation on this SDK is available at uniswap.org.
This modifies uniswap-sdk's UniswapV2Factory address. The new address for acentswap is 0x8a93B6865C4492fF17252219B87eA6920848EdC0.
Running tests
To run the tests, follow these steps. You must have at least node v10 and yarn installed.
First clone the repository:
git clone https://github.com/AcentWallet/acentswap-sdk.gitMove into the acentswap-sdk working directory
cd acentswap-sdk/Install dependencies
yarn installRun tests
yarn testYou should see output like the following:
yarn run v1.22.10
$ tsdx test
PASS test/route.test.ts
PASS test/fraction.test.ts
PASS test/miscellaneous.test.ts
PASS test/router.test.ts
PASS test/pair.test.ts
PASS test/token.test.ts
PASS test/trade.test.ts
PASS test/entities.test.ts
Test Suites: 2 skipped, 8 passed, 8 of 10 total
Tests: 4 skipped, 124 passed, 128 total
Snapshots: 0 total
Time: 4.497s
Ran all test suites.
✨ Done in 6.94s.7.0.0
4 years ago