Getting started

Requirements

This section focuses on enabling gasless transactions on mobile device using natively embedded wallets generated by the SDK. If you would like to utilize gasless transactions on a non-native mobile device such as web app or backend, visit Using without embedded wallets.

Get an API key for gasless transactions

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.

Network

This section utilizes Polygon's testnet Amoy network. To switch between Amoy and Mainnet Polygon, simply use a different Network via the NetworkProvider

var polygon = NetworkProvider.RlyPolygon;
var amoy = NetworkProvider.RlyAmoy;

RLY Token

In this section, we leverage the RLY token (polygonscan) to simplify the developer experience. We maintain a token faucet and manage token contracts to ensure that developers can execute their first gasless transaction without the extra steps.

Once you are ready to use your preferred token on production, refer to the subsequent 'your chosen ERC-20 token' sections.

Last updated