Transfer tokens gaslessly
An API key is required to use the infrastructure to power gasless transactions. Visit https://app.rallyprotocol.com/ to generate both Amoy and Mainnet Polygon API keys.
Gasless transactions with RLY token
In this section, we leverage the RLY token (polygonscan) and our faucet to enable developers to complete a gasless token transfer in just seconds. Use the following code to claim test RLY tokens and transfer it to a destination wallet of your choosing.
Getting started with your chosen ERC-20 token
Contract requirements
Contract is compatible with the RallyMobile SDK
Contracts that are ERC2771 compatible are natively supported by the RallyMobile SDK. Those that are not ERC2771 compatible must be whitelisted, view the guide here.
Contract natively supports gasless transactions
Contracts that have the
executeMetaTransaction
orPermit
method for gasless transactions are natively supported by our SDK. To determine which method is supported by your contract, view the guide here.
View our supported tokens list to see if your token is already supported.
Gasless transactions with your chosen ERC-20 token
Use the following code to transfer your chosen token gaslessly.
Last updated