https://github.com/mento-protocol/mento-sdk
An SDK for integrating applications with the Mento protocol
https://github.com/mento-protocol/mento-sdk
sdk stability typescript
Last synced: about 1 year ago
JSON representation
An SDK for integrating applications with the Mento protocol
- Host: GitHub
- URL: https://github.com/mento-protocol/mento-sdk
- Owner: mento-protocol
- License: mit
- Created: 2022-10-21T11:15:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-14T13:58:49.000Z (about 1 year ago)
- Last Synced: 2025-04-14T14:57:24.745Z (about 1 year ago)
- Topics: sdk, stability, typescript
- Language: TypeScript
- Homepage:
- Size: 1.24 MB
- Stars: 1
- Watchers: 7
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mento SDK
The official Mento Protocol SDK for interacting with Multi-Collateral Mento smart contracts on the Celo network.
## Installation
```sh
# 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.
```sh
yarn cacheTradablePairs
```
## Learn more
You can find example usages of the SDK in the [mento-sdk-examples](https://github.com/mento-protocol/mento-sdk-examples) repository. For in-depth documentation and walk through explanations please see the [SDK section](https://docs.mento.org/mento/developers/mento-sdk) of the Mento docs.