Skip to main content

Overview

Prudra identifies blockchains by a stable string slug (for example base, arbitrum, tempo). The same slug is used in REST bodies, SDK Chain constants, and configuration. Each slug maps to a numeric chain id, default RPC URL (typically via Alchemy), and confirmation defaults.

Supported chains (mainnet)

SlugTypical chain idNotes
tempo4217Tempo network; MPP-oriented flows.
base8453Coinbase L2.
ethereum1Mainnet.
optimism10OP Mainnet.
arbitrum42161Arbitrum One.
polygon137Polygon PoS.
Non-production environments may expose base-sepolia, eth-sepolia, and tempo-moderato for integration testing.

How Prudra uses chain slugs

  • ProvisioningPOST /wallet-infra/master-wallets validates chain against the server allowlist.
  • TransfersfromChain and toChain must both be supported and have RPC configuration (or PAYMENT_STUB_MODE for development).
  • Token contracts — Per-chain token addresses live in server config (tokens.ts); unsupported pairs return 422 with a clear validation error.

SDK

@prudra/core exports Chain and type ChainType:
import { Chain } from '@prudra/core';

const from = Chain.BASE;