A Node.js script to transfer USDC tokens on Plume testnet.
-
Install dependencies:
npm install
-
Create a
.envfile with your configuration:PRIVATE_KEY=your_private_key_here RECIPIENT_ADDRESS=0x...
-
Get test USDC tokens:
- Visit the Plume testnet faucet or bridge
- Connect your wallet with your address
- Request test USDC tokens
- Wait for the transaction to confirm
-
Run the script:
node index.js
- PRIVATE_KEY: Your wallet's private key (with or without 0x prefix)
- RECIPIENT_ADDRESS: The address to send USDC to
- Amount: Currently set to 10 USDC (modify in index.js if needed)
- This script is configured for Plume testnet
- USDC contract address:
0xcB5f30e335672893c7eb944B374c196392C19D18 - USDC has 6 decimals on this network