Mento Protocol
  • Mento Protocol
    • Home
    • What, why, who Mento?
    • Quick Links
  • HOW TO SOURCE MENTO STABLES
    • Overview
    • CEXs, DEXs, Pools
    • From other Chains
    • On-ramp Providers
    • Automation via MATE
  • Protocol Concepts
    • Stability
    • Reserve
    • Asset exchanges
      • Broker
      • Trading Limits
      • Exchange Providers
      • BiPoolManager
    • Oracles
    • On-Chain Circuit Breaker
    • Governance
      • Verification
  • Developers
    • Repository Overview
    • Integrate Mento Stables
    • Smart Contracts
      • Broker
      • TradingLimits
      • BiPoolManager
      • Pricing Modules
      • SortedOracles
      • BreakerBox
      • Reserve
      • StableToken
      • Audits
    • Deployments
      • Addresses
      • Verification
      • Parameters
    • Mento SDK
      • Installation
      • Guides
        • Getting Exchange Pairs
        • Getting a Quote
        • Initiating a Swap
    • Oracles
      • Oracle Client
        • Price Sources
      • Becoming an Oracle Provider
  • Economics
    • Stability
    • Risks
    • Research
  • Governance & Token
    • Overview
    • Governance Components
    • Governance Scope
    • MENTO Token
      • Listing information
    • Airdrop
    • Governance Watchdogs
Powered by GitBook
On this page
Edit on GitHub
  1. Developers
  2. Mento SDK

Installation

PreviousMento SDKNextGuides

Last updated 1 year ago

is required as a peer dependency in order to use the SDK

We recommend installing SDK either through yarn or npm:

yarn add @mento-protocol/mento-sdk
npm i --save @mento-protocol/mento-sdk

Using the SDK

After you've installed the SDK using your favourite package manager, you can go through the following walkthrough guides:

All the codes snippets in the above guides can be found in . We encourage you to clone the repository, and execute the different code snippets as you read through the guides.

Ethers v5
Discovering exchanges and pairs
Getting price quotes
Executing swaps
mento-sdk-examples