npm install @nexusmutual/sdk
This package only exports CommonJS modules. You can import it like this:
// Usage with ES6 modules
import { products, productTypes } from '@nexusmutual/sdk'
Source of truth for the latest mainnet addresses. Feeds into https://api.nexusmutual.io/sdk/.
The products
folder contains all protocols listed on Nexus Mutual.
If you're a protocol owner and want to update any details (i.e. logo, website, etc), please submit a PR. Logos should meet the following criteria:
- svg format, with 1:1 ratio
- no fixed width or height
- the image should reach the edge of the viewbox
npm ci
npx husky install
to activate husky in project
Copy the .env.example
file into .env
and populate with the required values.
npm build