@qidao/sdk 5.1.12 → 5.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -53
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/dist/index.module.js +1 -1
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,53 +1 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).
|
|
4
|
-
|
|
5
|
-
This modifies uniswap-sdk's UniswapV2Factory address. The new address for sushiswap is `0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac`.
|
|
6
|
-
|
|
7
|
-
## Running tests
|
|
8
|
-
|
|
9
|
-
To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.
|
|
10
|
-
|
|
11
|
-
First clone the repository:
|
|
12
|
-
|
|
13
|
-
```sh
|
|
14
|
-
git clone https://github.com/sushiswap/sushiswap-sdk.git
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
Move into the sushiswap-sdk working directory
|
|
18
|
-
|
|
19
|
-
```sh
|
|
20
|
-
cd sushiswap-sdk/
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Install dependencies
|
|
24
|
-
|
|
25
|
-
```sh
|
|
26
|
-
yarn install
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
Run tests
|
|
30
|
-
|
|
31
|
-
```sh
|
|
32
|
-
yarn test
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
You should see output like the following:
|
|
36
|
-
|
|
37
|
-
```sh
|
|
38
|
-
yarn run v1.22.4
|
|
39
|
-
$ tsdx test
|
|
40
|
-
PASS test/constants.test.ts
|
|
41
|
-
PASS test/pair.test.ts
|
|
42
|
-
PASS test/fraction.test.ts
|
|
43
|
-
PASS test/miscellaneous.test.ts
|
|
44
|
-
PASS test/entities.test.ts
|
|
45
|
-
PASS test/trade.test.ts
|
|
46
|
-
|
|
47
|
-
Test Suites: 1 skipped, 6 passed, 6 of 7 total
|
|
48
|
-
Tests: 3 skipped, 82 passed, 85 total
|
|
49
|
-
Snapshots: 0 total
|
|
50
|
-
Time: 5.091s
|
|
51
|
-
Ran all test suites.
|
|
52
|
-
✨ Done in 6.61s.
|
|
53
|
-
```
|
|
1
|
+
# QiDao SDK
|