🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@mento-protocol/mento-sdk

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mento-protocol/mento-sdk

Official SDK for interacting with the Mento Protocol

1.10.2
latest
Source
npm
Version published
Maintainers
5
Created
Source

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

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.

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

Token Graph Visualization

Current token connectivity on Celo Mainnet (last updated: 2025-06-19):

graph TD
    USDT["USD₮"]
    USDC --- cUSD
    USDT --- cUSD
    CELO --- cEUR
    CELO --- cREAL
    USDC --- cREAL
    USDC --- cEUR
    axlUSDC --- cUSD
    CELO --- cUSD
    PUSO --- cUSD
    cJPY --- cUSD
    cCOP --- cUSD
    cGBP --- cUSD
    cUSD --- cZAR
    cCAD --- cUSD
    cAUD --- cUSD
    cCHF --- cUSD
    axlUSDC --- cEUR
    axlUSDC --- cREAL
    axlEUROC --- cEUR
    cKES --- cUSD
    cGHS --- cUSD
    cNGN --- cUSD
    CELO --- eXOF
    axlEUROC --- eXOF

Network Stats: 20 tokens, 24 direct trading pairs

💡 This graph shows direct trading pairs only. The SDK automatically finds optimal routes including multi-hop paths.

To regenerate: yarn getTokenGraph

Keywords

mento

FAQs

Package last updated on 26 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts