Transfer tokens gaslessly
Gasless transactions with RLY token
import {
RlyAmoyNetwork,
getAccount,
Network } from '@rly-network/mobile-sdk';
const rlyNetwork: Network = RlyAmoyNetwork;
//add your API Key
rlyNetwork.setApiKey(YourAPIKey...)
//claim 10 test RLY tokens gaslessly for testing
await rlyNetwork.claimRly();
//destination address for testing
const destinationAddress = "0x8D9F6c7Ab1316B613BDdcD1fDbac6025A1323569"
//transfer 5 RLY token expressed in wei using executeMetaTransaction
await rlyNetwork.transferExact(
destinationAddress,
5000000000000000000,
MetaTxMethod.ExecuteMetaTransaction
); Getting started with your chosen ERC-20 token
Contract requirements
Gasless transactions with your chosen ERC-20 token
Last updated