Base Sepolia
TestnetBase Sepolia is the recommended testnet for testing ZynPay integrations. It's fast, reliable, and has excellent faucet support.
๐งช This is a testnet. Use free testnet tokens for development. Never send real funds!
Network Information
Chain Details
Chain ID
84532
Network Name
Base Sepolia
Currency
ETH (for gas fees)
RPC & Explorer
RPC URL
https://sepolia.base.orgBlock Explorer
sepolia.basescan.orgContract Addresses
ZynPay Router
Handles payment routing and fee splitting (3% fee)
0x29F81b4870c3b6806a36d2c07db24fDFC6EcB5FFUSDC Token
Circle's testnet USDC on Base Sepolia
0x036CbD53842c5426634e7929541eC2318f3dCF7eGet Testnet Tokens
Coinbase Faucet
Get free ETH and USDC for testing
- Visit Coinbase Faucet
- Connect your wallet (MetaMask)
- Select "Base Sepolia" from the network dropdown
- Request ETH first (for gas fees)
- Request USDC (for payments)
- Tokens will arrive in ~30 seconds
๐ก You can request tokens once per day. If you need more, create a new wallet address.
Add to MetaMask
Manual Setup
Add Base Sepolia to MetaMask manually:
- Open MetaMask
- Click the network dropdown at the top
- Click "Add Network" โ "Add a network manually"
- 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:
- Make sure you're on Base Sepolia network
- Click "Import tokens" at the bottom
- Paste the USDC contract address:
0x036CbD53842c5426634e7929541eC2318f3dCF7e - Click "Add Custom Token"
- 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);