Skip to main content
You’re viewing the 2.0 (LTS) docs. View the current 3.0 version of this page.
Para’s embedded wallets provide seamless access to M0’s programmable stablecoin infrastructure. Build next-generation financial applications with custom digital dollars.

M0 Documentation

Learn about M0’s stablecoin protocol

Prerequisites

  • Para API key configured
  • Node.js 18+ environment
  • Understanding of stablecoin mechanics
  • M0 contract addresses for your network

Installation

1

Install packages

Install the required packages:

Setup

1

Import dependencies

Import the required Para SDK and Viem components:
2

Initialize Para SDK

Set up Para server instance:
3

Create wallet

Check for existing wallet or create new pregenerated wallet:
4

Create Para account and client

Set up the account and Viem client for M0 interactions:

Contract Configuration

M0 Contract Addresses

Contract ABIs

Usage

Wrapping $M to $wM

1

Approve $M tokens

2

Wrap tokens

Unwrapping $wM to $M

Token Transfers

Examples

Basic Operations

Next Steps

M0 Documentation

Learn about M0’s stablecoin protocol

Wallet Pregeneration

Deep dive into wallet pregeneration

Aave v3 Integration

Advanced · 45 min · Lending, borrowing, and yield strategies

Brale Integration

Beginner · 20 min · Stablecoin issuance API

Squid Router Integration

Advanced · 45 min · Cross-chain USDC bridges