decentri-fi / defihub-js-client

the JS api to integrate with decentrifi

Home Page:https://docs.decentri.fi/clients/javascript-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decentrifi Defi Hub Javascript Client

The Decentrifi Defi Hub javascript client provides users with an easy to integrate library. It's written in Typescript and implements the API located at https://docs.decentri.fi/api-endpoints.

Dependency

Installing the library can be done using the following command:

npm i @decentri.fi/defi-hub

Integration

import defihub from "@decentri.fi/defi-hub";


const lendingMarkets = await defihub.lending().markets("aave")

Contributing

Building the repository

npm i 
npm run build

Running tests

npm run test

About

the JS api to integrate with decentrifi

https://docs.decentri.fi/clients/javascript-client


Languages

Language:TypeScript 97.1%Language:JavaScript 2.9%