1.1.8 • Published 1 year ago

@macarom/swap-sdk v1.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Macaromswap/swap-sdk

Forked from the Uniswap SDK.

You can refer to the Uniswap SDK documentation uniswap.org.

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/Macaromswap/swap-sdk.git

Move into the swap-sdk working directory

cd swap-sdk/

Install dependencies

yarn

Run tests

yarn test

You should see output like the following:

$ tsdx test
 PASS  test/fraction.test.ts
 PASS  test/pair.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/router.test.ts
 PASS  test/constants.test.ts
 PASS  test/trade.test.ts
 PASS  test/token.test.ts
 PASS  test/route.test.ts

Test Suites: 1 skipped, 9 passed, 9 of 10 total
Tests:       2 skipped, 124 passed, 126 total
Snapshots:   0 total
Time:        2.269s, estimated 5s
Ran all test suites.
✨  Done in 3.46s.
1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.2

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago