exact payment scheme. This uses EIP-3009 (Transfer with Authorization) for gasless USDC transfers.
SKALE Base Sepolia is the first SKALE Expand deployment, sourcing liquidity from Base Sepolia. It supports multiple native EIP-3009 tokens including USDC, USDT, WBTC, and WETH.
What is EIP-3009?
EIP-3009 enables gasless payments by allowing you to:- Sign an authorization message off-chain (EIP-712)
- A facilitator submits the transaction and pays gas
- The USDC contract verifies your signature and executes the transfer
Full Example
Step-by-Step Breakdown
1. Load Private Key
- 64-character hex string
- Prefixed with
0x - Example:
0x1234567890abcdef...
2. Define Custom Chain
ChainInfo type that only requires the chain ID, name, and RPC URL.
3. Create Wallet
- Uses your private key for signing
- Connects to SKALE Base Sepolia RPC
- Implements EIP-712 typed data signing (required for EIP-3009)
4. Create Payment Handler
- Defaults to USDC on the wallet’s chain
- Signs EIP-3009 authorization messages
- Uses EIP-712 typed data for secure signing
5. Make Payment
- The handler creates an EIP-3009 authorization
- Signs it using EIP-712 typed data
- Returns the authorization + signature
- The facilitator submits the transaction
- The original request is retried and returns successfully
Payment Flow
Custom Asset Selection
SKALE Base Sepolia supports multiple native EIP-3009 tokens:- USDC.e:
0x2e08028E3C4c2356572E096d8EF835cD5C6030bD - USDT:
0x3ca0a49f511c2c89c4dcbbf1731120d8919050bf - WBTC:
0x4512eacd4186b025186e1cf6cc0d89497c530e87 - WETH:
0xf94056bd7f6965db3757e1b145f200b7346b4fc0 - SKL:
0xaf2e0ff5b5f51553fdb34ce7f04a6c3201cee57b - ETHC:
0xD2Aaa00700000000000000000000000000000000
Command Line Arguments
- First argument: Server port (default:
4021) - Second argument: Endpoint path (default:
weather)
EIP-712 Signing Details
The authorization is signed using EIP-712 typed data: Domain:Environment Variables
EVM_PRIVATE_KEY: Your EVM private key (0x-prefixed hex string)
Funding Your Wallet
Make sure your wallet has:- USDC: Sufficient USDC for payments (bridged from Base Sepolia)
- Credits: SKALE Base Sepolia uses compute CREDITS to maintain EVM compatibility while offering gasless usage
- SKALE Base Sepolia Faucet
- Base Sepolia Faucet - For Base Sepolia USDC to bridge
SKALE Base Sepolia Features
SKALE Base Sepolia is the first SKALE Expand deployment with unique features:- Zero Gas Fees: All transactions are gas-free
- Instant Finality: Single slot finality for immediate confirmation
- Base Liquidity: Sources tokens from Base Sepolia via native bridge
- Native EIP-3009: USDC, USDT, WBTC, WETH all support direct EIP-3009
- High Performance: 268,435,455 block gas limit
- Native Bridge: Permissionless bridging from Base Sepolia
Related Resources
- Base Exact Payment - Base Sepolia example
- Monad Exact Payment - Monad testnet example
- Base Ledger Payment - Hardware wallet example
- Package Reference - EVM payment handler docs
- EIP-3009 Specification - Transfer with authorization
- SKALE Base Sepolia Docs - Official SKALE documentation