0.5.52 • Published 2 years ago

@solace-fi/sdk v0.5.52

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

The Solace SDK exists to make it easy for developers to integrate Solace into external protocols and custom scripts. It is designed to run in Javascript environments (browsers, frontend, Node.js).

This SDK is in alpha testing and may contain bugs or change significantly between patch versions. If you have questions about how to use the SDK, please reach out in the Discord. Pull requests welcome!

Install npm package

npm i @solace-fi/sdk

Testing

yarn test

Basic Usage

Get active cover limit of Solace Cover Product on Ethereum mainnet

import { Coverage } from "@solace-fi/sdk"

// Create new Coverage instance, connected to Ethereum mainnet (chainID = 1)
const coverage = new Coverage(1)

// Makes read-only call to SolaceCoverProduct.sol smart contract
const activeCoverLimit = await coverage.activeCoverLimit()

Documentation

https://docs.solace.fi/docs/dev-docs/sdk/getting-started

0.5.52

2 years ago

0.5.16

2 years ago

0.5.20

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.3

2 years ago

0.3.0

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.14

2 years ago

0.1.13

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago