package.json
, add the following line:
import/export
) in your script.
Tip: Alternatively, you can use the following command to set "type": "module"
directly:
index.js
:
index.js
and complete the following sections:
viem
for blockchain interactions@inquirer/prompts
for interactive CLI promptsfs
and path
for saving private key backupsUSDC_CONTRACT
is the address of the USDC token on World Chain SepoliaUSDC_DECIMALS
is the number of decimals used in USDC calculations