EVM ERC-20

How to Test USDT & USDC Payments on Ethereum Sepolia

Learn how to test Ethereum Sepolia payments using Rabby, test ETH, and ERC-20 token transfers through the Sepolia blockchain explorer.

Network Details

Network
Ethereum Sepolia
Recommended Wallet
Rabby
Gas Token
ETH
Token Standard
ERC-20
Chain ID
11155111
Supported Assets: usdt usdc

Supported Testnet Token Contracts

The following token contracts are configured for crptoX Sandbox. Use these exact contract addresses when obtaining test tokens or interacting with token contracts.

USDT ERC-20
View on Explorer
Contract Address
0xa7dA08FafDC9097Cc0E7D4f113A61e31d7e8e9b0
USDC ERC-20
View on Explorer
Contract Address
0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238
These contract addresses are for test networks only. Do not use them for mainnet payments. Before sending a test payment, verify the selected network, token contract, recipient address, and amount.

Useful Resources

Step 1 — Configure Your Wallet

Install Rabby, create a dedicated test account, and select the Ethereum Sepolia test network. Verify the network configuration before submitting any transaction.

Use a dedicated testing wallet. Never share your private key or recovery phrase, and never enter it into a faucet or blockchain explorer.

Step 2 — Obtain Test Tokens

Request some test ETH to cover blockchain transaction fees. You will also need test USDT or USDC tokens supported by the crptoX Sandbox.

Use the network faucet to obtain test ETH. Gas tokens and test stablecoins are separate assets. Make sure you also hold the supported test token before attempting a transfer.

Important: Only transfers involving the token contracts monitored by crptoX Sandbox can be recognized as supported payments. Verify the exact testnet contract address before obtaining or transferring tokens.

Step 3 — Create a Sandbox Invoice

Create an invoice using your Sandbox API secret. The response includes the payment address and the amount to transfer.

درخواست BASH
curl -X POST https://crptox.com/api/v1/invoices \
  -H "Authorization: Bearer YOUR_SANDBOX_API_SECRET" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Idempotency-Key: sandbox-test-1001" \
  -d '{
    "network": "ethereum",
    "asset": "usdt",
    "amount": "1.000000",
    "description": "Sandbox test payment"
  }'

This request is an example. Use a valid amount accepted by your API configuration. The payment address must be taken from the actual API response.

Step 4 — Send the Test Payment

For EVM testnets, you can submit a token transfer directly through the blockchain explorer using the verified token contract and your Rabby wallet.

  1. Open the testnet blockchain explorer.
  2. Open the supported USDT or USDC token contract using the View on Explorer link provided above.
  3. Open the Contract section and select Write Contract or Write as Proxy, when applicable.
  4. Connect your Rabby wallet and verify the selected test network.
  5. Call transfer(address,uint256) using the invoice payment address and the amount converted to token base units.
  6. Review the transaction, confirm it in Rabby, and save the transaction hash.
ERC-20 / BEP-20 SOLIDITY
transfer(address to, uint256 amount)

Token Decimals

The transfer amount must be expressed in the token’s smallest unit. Use the decimals() function of the actual token contract. For example, one token with 6 decimals equals 1000000 units.

نمونه TEXT
1 token (6 decimals)  = 1000000
1 token (18 decimals) = 1000000000000000000

Step 5 — Verify the Payment

After submitting the transfer, inspect the transaction in the blockchain explorer and check how crptoX processes the payment.

  1. Open the transaction hash in the testnet explorer.
  2. Verify that the transaction succeeded.
  3. Confirm the recipient, token contract, and transferred amount.
  4. Check the invoice and payment status in crptoX after the required confirmations.
  5. Verify that your application received and processed the expected webhook.
Open Testnet Explorer

Explore Other Test Networks