@mento-protocol/mento-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

Mento SDK

The official Mento Protocol SDK for interacting with Multi-Collateral Mento smart contracts on the Celo network.

Installation

# Install with npm
npm install @mento-protocol/mento-sdk

# Or install with yarn
yarn add @mento-protocol/mento-sdk

Tradable Pairs Cache

Anytime we launch a new stable token, we need to update the tradable pairs cache.

The yarn cacheTradablePairs script generates a TypeScript file containing a list of all tradable pairs on the Mento protocol. This file is used to cache the tradable pairs in the SDK and avoid costly re-fetching from the network.

yarn cacheTradablePairs

Learn more

You can find example usages of the SDK in the mento-sdk-examples repository. For in-depth documentation and walk through explanations please see the SDK section of the Mento docs.

Readme

Keywords

Package Sidebar

Install

npm i @mento-protocol/mento-sdk

Weekly Downloads

1,736

Version

1.0.7

License

MIT

Unpacked Size

682 kB

Total Files

87

Last publish

Collaborators

  • philbow61
  • bayological
  • nt-mlabs
  • philipthe2nd
  • bowd