Cross-Standard Token Migration Tool (ERC20 to ERC777)
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Cross-Standard Token Migration Tool (ERC20 to ERC777) enables token holders to migrate their ERC-20 tokens to the upgraded ERC-777 standard through a migration contract. The tool reads the old ERC-20 token contract to verify the user's balance and allowance, and checks the migration contract state—including the conversion rate, total migrated amount, cap, deadline, and active status. The user specifies the amount to migrate, and the tool handles the full approval and migration workflow: approving the migration contract to spend the ERC-20 tokens, then calling the migrate function to burn the old tokens and mint new ERC-777 tokens at the specified conversion ratio.
This tool is essential for projects upgrading their token standard from ERC-20 to ERC-777—which offers advanced features like operators, hooks, and improved transaction control. It provides a secure, auditable migration process with clear visibility into migration parameters and user balances.
HOW TO USE
1. Connect your EVM wallet to the network where the ERC-20 token and migration contract are deployed.
2. Enter the old ERC-20 token address and the migration contract address.
3. Enter the amount of ERC-20 tokens you wish to migrate.
4. Click "Check Migration" to read the current migration parameters—conversion rate, total migrated, cap, deadline, and your token balance.
5. Review the migration details, including the number of ERC-777 tokens you will receive.
6. Click "Migrate" to approve the token spend and execute the migration transaction.
7. Track progress via the status bar and confirmation of the transaction hash upon completion.
TECHNICAL MECHANISM
The tool reads the ERC-20 token contract using balanceOf(address) to check the user's balance and approve(address, spender, amount) to grant the migration contract permission. It reads the migration contract using view functions: rate() or conversionRatio() for the exchange rate, totalMigrated() for the amount already processed, cap() for the maximum migration, and paused() or active() for the migration status. The tool then calls migrate(amount) on the migration contract, which burns the old ERC-20 tokens and mints new ERC-777 tokens. If the migration contract supports permit-based approval, the tool attempts migrateWithPermit for gas-optimized migrations. Gas estimation applies a 20% buffer, and actual gas costs are calculated from receipt.effectiveGasPrice.
WHAT IT CANNOT SEE
This tool cannot verify the security or legitimacy of the ERC-777 token or migration contract—it relies on the user to trust the contract addresses. It cannot ensure the migration rate will not change after the transaction; the rate is set by the contract owner and may be updated. It cannot recover tokens if the migration contract is malicious, compromised, or contains a bug—users should audit the contract before migrating. It cannot verify that the ERC-777 token implements the standard correctly; the tool assumes the token follows ERC-777. It cannot account for gas costs that may exceed the user's balance; insufficient gas will cause the transaction to fail. It cannot manage migrations across multiple token pairs or chains simultaneously; each migration must be executed separately.
PLEASE NOTE
EVM chains only. This tool requires that the migration contract implements the standard migration interface. Always verify the contract addresses from official project sources—phishing contracts are common during token migrations. Test with a small amount first before migrating large balances. The tool does not handle rebasing or fee-on-transfer tokens; use only with standard ERC-20s.