Base Sepolia

Testnet

Base Sepolia is the recommended testnet for testing ZynPay integrations. It's fast, reliable, and has excellent faucet support.

Network Information

Chain Details

Chain ID

84532

Network Name

Base Sepolia

Currency

ETH (for gas fees)

RPC & Explorer

RPC URL

https://sepolia.base.org

Block Explorer

sepolia.basescan.org

Contract Addresses

ZynPay Router
Handles payment routing and fee splitting (3% fee)
0x29F81b4870c3b6806a36d2c07db24fDFC6EcB5FF
View on BaseScan
USDC Token
Circle's testnet USDC on Base Sepolia
0x036CbD53842c5426634e7929541eC2318f3dCF7e
View on BaseScan

Get Testnet Tokens

Coinbase Faucet
Get free ETH and USDC for testing
  1. Visit Coinbase Faucet
  2. Connect your wallet (MetaMask)
  3. Select "Base Sepolia" from the network dropdown
  4. Request ETH first (for gas fees)
  5. Request USDC (for payments)
  6. Tokens will arrive in ~30 seconds

Add to MetaMask

Manual Setup

Add Base Sepolia to MetaMask manually:

  1. Open MetaMask
  2. Click the network dropdown at the top
  3. Click "Add Network" โ†’ "Add a network manually"
  4. Enter the following details:
Network Name: Base Sepolia
RPC URL: https://sepolia.base.org
Chain ID: 84532
Currency Symbol: ETH
Block Explorer: https://sepolia.basescan.org
Add USDC Token

After adding the network, import the USDC token:

  1. Make sure you're on Base Sepolia network
  2. Click "Import tokens" at the bottom
  3. Paste the USDC contract address: 0x036CbD53842c5426634e7929541eC2318f3dCF7e
  4. Click "Add Custom Token"
  5. USDC should now appear in your token list

Integration Code

import { ZynPayClient, Environment } from '@zyntrialabs/zynpay-sdk';

const client = new ZynPayClient({
  merchantWallet: '0xYourMerchantWalletAddress',
  environment: Environment.TESTNET,
  defaultChain: 'base', // Uses Base Sepolia
});

// Create payment
const payment = client.createPayment(10.00, 'base');

// Process with customer's wallet
const txHash = await client.pay(payment, signer);