An open API service indexing awesome lists of open source software.

https://github.com/zeriontech/defi-sdk-demo


https://github.com/zeriontech/defi-sdk-demo

Last synced: 9 months ago
JSON representation

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).