Payroll
COUNTERPARTIES Cardholder Merchant USD REEDUSD 0x86449a994fED1c90f5DdCB3cc5bd4fD236aE4B0f Rowe Visa XFTRoutingFactoryV6
SOFTWARE SEQUENCE / EXECUTION
Load Hardhat, network config, and RAILS definitions.
Set constants for TOKEN, mint amount, and transfer amount.
Get deployer signer and print address.
Deploy
XFTRoutingFactoryV6with TOKEN address.Wait for deployment and optionally verify on Etherscan.
Attach to REEDUSD token contract at TOKEN address.
Grant
MINTER_ROLEto factory.Grant
BURNER_ROLEto factory if available.For each enabled rail, predict deterministic wallet from ID.
Deploy wallet for each rail ID.
Mint REEDUSD to each deployed wallet.
For transfer rails, transfer from wallet A to wallet B.
Burn remaining balances from wallets.
Query and print all rail–ID–wallet mappings.
Exit on success or log error and exit on failure.
American Express
RESOURCES
Last updated