0.6.26 • Published 3 years ago

@oikos/oikos-js v0.6.26

Weekly downloads
190
License
MIT
Repository
github
Last release
3 years ago

OikosJs library

npm version Twitter Follow

The Oikos-JS library provides a simple pre-packaged API to communicate with Oikos on Tron. You can use it to contribute to DeFi's growing synthetic asset ecosystem.

This is particularly useful for hackathon teams to quickly npm install @oikos/oikos-js and start building in just a few minutes.

Install via npm

npm install @oikos/oikos-js

Example for getting the total sUSD stablecoin in circulation

const { SynthetixJs } = require('@oikos/oikos-js');
const snxjs = new SynthetixJs();
(async function() {
  const totalSUSD = await snxjs.sUSD.totalSupply();
  const totalSUSDSupply = snxjs.utils.formatEther(totalSUSD);
  console.log('sUSDTotalSupply', totalSUSDSupply);
})();

Got any questions?

support@oikos.cash

0.6.26

3 years ago

0.6.25

3 years ago

0.6.23

3 years ago

0.6.24

3 years ago

0.6.20

3 years ago

0.6.19

3 years ago

0.6.18

3 years ago

0.6.17

3 years ago

0.6.16

3 years ago

0.6.14

3 years ago

0.6.13

3 years ago

0.6.15

3 years ago

0.6.12

3 years ago

0.6.11

3 years ago

0.6.10

3 years ago

0.6.9

3 years ago

0.6.8

3 years ago

0.6.7

3 years ago

0.6.6

4 years ago

0.6.5

4 years ago

0.6.4

4 years ago

0.6.3

4 years ago

0.6.2

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.1.1

4 years ago

0.0.1

4 years ago