Skip to main content
Para’s embedded wallets provide seamless access to M0’s programmable stablecoin infrastructure. Build next-generation financial applications with custom digital dollars.

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