Questions for Tronsave SDK
Q. Which ERC20 Tokens are supported as payments?
TronSave relayers will initially support payments in WTRX. In the future, dApps can also participate in a relayer network and collect fees in tokens of their choice.
Q. My contract is using OpenZeppelin. How do I add GSN support?
Here is a sample on how to use GSN with OpenZeppelin contracts. The _msgData
and _msgSender
methods methods of OpenZeppelin's Context
base-contract are used by all other contracts, and thus the hooks below are enough to support tokens, Ownable, roles, etc.
(Note that OpenZeppelin's GSNRecipient
is for GSN v1.0, and should not be used anymore)
You can use instead OpenZeppelin's ERC2771Context
, which is an equivalent implementation of ERC2771Recipient.
Last updated