Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
swap-v2-sdk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
swap-v2-sdk
Commits
d5ac3d06
Unverified
Commit
d5ac3d06
authored
Mar 04, 2021
by
Moody Salem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
point to the new repo name
parent
8810b890
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
50 deletions
+2
-50
README.md
README.md
+1
-49
package.json
package.json
+1
-1
No files found.
README.md
View file @
d5ac3d06
# Uniswap SDK
# Uniswap SDK
[

](https://github.com/prettier/prettier)
[

](https://github.com/prettier/prettier)
[

](https://github.com/Uniswap/uniswap
-sdk)
[

](https://github.com/Uniswap/uniswap-v2
-sdk)
[

](https://www.npmjs.com/package/@uniswap/v2-sdk/v/latest)
[

](https://www.npmjs.com/package/@uniswap/v2-sdk/v/latest)
[

](https://bundlephobia.com/result?p=@uniswap/v2-sdk@latest)
[

](https://bundlephobia.com/result?p=@uniswap/v2-sdk@latest)
In-depth documentation on this SDK is available at
[
uniswap.org
](
https://uniswap.org/docs/v2/SDK/getting-started/
)
.
In-depth documentation on this SDK is available at
[
uniswap.org
](
https://uniswap.org/docs/v2/SDK/getting-started/
)
.
## Running tests
To run the tests, follow these steps. You must have at least node v10 and
[
yarn
](
https://yarnpkg.com/
)
installed.
First clone the repository:
```
sh
git clone https://github.com/Uniswap/uniswap-sdk.git
```
Move into the uniswap-sdk working directory
```
sh
cd
uniswap-sdk/
```
Install dependencies
```
sh
yarn
install
```
Run tests
```
sh
yarn
test
```
You should see output like the following:
```
sh
yarn run v1.22.4
$
tsdx
test
PASS
test
/constants.test.ts
PASS
test
/pair.test.ts
PASS
test
/fraction.test.ts
PASS
test
/miscellaneous.test.ts
PASS
test
/entities.test.ts
PASS
test
/trade.test.ts
Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests: 3 skipped, 82 passed, 85 total
Snapshots: 0 total
Time: 5.091s
Ran all
test
suites.
✨ Done
in
6.61s.
```
package.json
View file @
d5ac3d06
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
"files"
:
[
"files"
:
[
"dist"
"dist"
],
],
"repository"
:
"https://github.com/Uniswap/uniswap-sdk.git"
,
"repository"
:
"https://github.com/Uniswap/uniswap-
v2-
sdk.git"
,
"keywords"
:
[
"keywords"
:
[
"uniswap"
,
"uniswap"
,
"ethereum"
"ethereum"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment