https://github.com/zeriontech/defi-sdk-demo
https://github.com/zeriontech/defi-sdk-demo
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zeriontech/defi-sdk-demo
- Owner: zeriontech
- Created: 2021-09-20T08:40:29.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-06T10:07:05.000Z (about 4 years ago)
- Last Synced: 2025-05-07T04:44:31.884Z (about 1 year ago)
- Language: TypeScript
- Size: 2.02 MB
- Stars: 6
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zerion defi-sdk demo
## Instruction:
- install `node.js` from official site
- clone this repository
- run `npm install` from project's root directory
- run `npm start`
## Done!
---
## Reference
In this demo you can find examples for fetching
- [address positions](https://github.com/zeriontech/defi-sdk-demo/blob/master/src/Positions.tsx#L10)
- [address history](https://github.com/zeriontech/defi-sdk-demo/blob/master/src/hooks/useHistory.ts#L4)
- [availiable swaps for pair of tokens](https://github.com/zeriontech/defi-sdk-demo/blob/master/src/requests/getQuotes.ts#L31).