Skip to content

openocean-finance/OpenOcean-SDK-API

Repository files navigation

Quick Start

How to install

You can install the SDK by npm.

npm i @openocean.finance/api

Or, if you use yarn as your module management tool.

yarn add @openocean.finance/api

Or, if you want to build up a wallet and contract object by yourself, you will need web3 and bignumber.js.

npm install bignumber.js
npm install web3

How to use the sdk in your project

import { OpenoceanApiSdk } from '@openocean.finance/api';
const openoceanApiSdk = new OpenoceanApiSdk()
const { api, swapSdk, config } = openoceanApiSdk

You can then use all the functions explored by the SDK (API and swapSdk).

Start programing now

More details in Recommend Workflow

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published