Skip to main content

Integrating Brale with Para Wallets

Combine Para’s wallet infrastructure with Brale’s stablecoin issuance and orchestration platform to mint, redeem, and manage stablecoins across 20+ chains, all from a Para-powered wallet.

What You Need

You need these components to integrate Brale with Para:
  • Para SDK for creating and managing wallets
  • Brale API key from the Brale dashboard
  • EVM-compatible chain such as Base, Polygon, or Ethereum

Step-by-Step Integration

  1. Initialize Para and create a viem wallet client
import { createParaViemClient, createParaAccount } from "@getpara/viem-v2-integration";
import { http } from "viem";
import { base } from "viem/chains";
import { ParaWeb } from "@getpara/react-sdk";

// Initialize Para (complete authentication before signing)
const para = new ParaWeb("YOUR_PARA_API_KEY");

const account = await createParaAccount(para);

const wallet = createParaViemClient(para, {
  account,
  chain: base,
  transport: http(),
});
  1. Register the Para wallet address with Brale
const walletAddress = account.address;

const registerResponse = await fetch("https://api.brale.xyz/v1/addresses", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${BRALE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    data: {
      type: "addresses",
      attributes: {
        address: walletAddress,
        chain: "base",
      },
    },
  }),
});

const registered = await registerResponse.json();
  1. Mint stablecoins (fiat-to-stablecoin) to the Para wallet
const mintResponse = await fetch("https://api.brale.xyz/v1/transfers", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${BRALE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    data: {
      type: "transfers",
      attributes: {
        amount: "1000.00",
        direction: "mint",
      },
      relationships: {
        destination: {
          data: { type: "addresses", id: registered.data.id },
        },
        stablecoin: {
          data: { type: "stablecoins", id: "YOUR_STABLECOIN_ID" },
        },
      },
    },
  }),
});

const mint = await mintResponse.json();
  1. Redeem stablecoins (stablecoin-to-fiat) from the Para wallet
const redeemResponse = await fetch("https://api.brale.xyz/v1/transfers", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${BRALE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    data: {
      type: "transfers",
      attributes: {
        amount: "500.00",
        direction: "redeem",
      },
      relationships: {
        source: {
          data: { type: "addresses", id: registered.data.id },
        },
        stablecoin: {
          data: { type: "stablecoins", id: "YOUR_STABLECOIN_ID" },
        },
      },
    },
  }),
});

const redeem = await redeemResponse.json();

Why Combine Para and Brale

FeatureBenefit
Para walletsInstant onboarding, MPC-secure, white-label
Brale APIMint, redeem, and manage stablecoins across 20+ chains
Together, you can launch and manage stablecoins with fintech-grade UX in your app without friction.

Example Use Cases

Integrating Para and Brale enables these example use cases: 1. Stablecoin Payments App: Build a payments experience with instant mint and redeem flows powered by Para wallets 2. Treasury Management: Automate stablecoin operations for treasury workflows from a Para wallet with programmable rules 3. Cross-Chain Stablecoin Orchestration: Manage stablecoin issuance and redemption across multiple chains from a single Para wallet