Transfer tokens gaslessly
Gasless transactions with RLY token
import 'package:rly_network_flutter_sdk/network.dart';
//get Amoy config
final amoy = rlyAmoyNetwork;
//add your API Key
amoy.setApiKey(env.API_KEY);
//claim 10 test RLY tokens gaslessly for testing
await amoy.claimRly();
//destination address for testing
final destinationAddress = "0x8D9F6c7Ab1316B613BDdcD1fDbac6025A1323569"
//transfer RLY token using ExecuteMetaTransaction
await amoy.transferExact(
destinationAddress,
BigInt.parse(1),
MetaTxMethod.ExecuteMetaTransaction
); Getting started with your chosen ERC-20 token
Prerequisites
Gasless transactions with your chosen ERC-20 token
Last updated