Payroll

COUNTERPARTIES Cardholder Merchant USD REEDUSD 0x86449a994fED1c90f5DdCB3cc5bd4fD236aE4B0f Rowe Visa XFTRoutingFactoryV6

SOFTWARE SEQUENCE / EXECUTION

  1. Load Hardhat, network config, and RAILS definitions.

  2. Set constants for TOKEN, mint amount, and transfer amount.

  3. Get deployer signer and print address.

  4. Deploy XFTRoutingFactoryV6 with TOKEN address.

  5. Wait for deployment and optionally verify on Etherscan.

  6. Attach to REEDUSD token contract at TOKEN address.

  7. Grant MINTER_ROLE to factory.

  8. Grant BURNER_ROLE to factory if available.

  9. For each enabled rail, predict deterministic wallet from ID.

  10. Deploy wallet for each rail ID.

  11. Mint REEDUSD to each deployed wallet.

  12. For transfer rails, transfer from wallet A to wallet B.

  13. Burn remaining balances from wallets.

  14. Query and print all rail–ID–wallet mappings.

  15. Exit on success or log error and exit on failure.

American Express


RESOURCES

Last updated