Dashboard
Changes to be done on the dashboard to enable end-users to pay gas in stablecoins in your Dapp.
​
​Checkout this section if you don't know how to register a DApp on the dashboard.
After having your DApp registered, on the “Add Smart Contract” page, enter the contract name, address and ABI, select Meta Transaction Type as “ERC20 Forwarder” then click “Add”.
add smart contract with meta transaction type
After this step you need to add your APIs as mentioned in the steps in Biconomy Dashboard​
Before using this API and SDK make sure you have native meta transaction support in your smart contracts i.e., you have removed the dependency on the msg.sender property from your smart contracts.‌

Is your contract ready

  • Inherit BaseRelayRecipient.sol and set the trusted forwarder address.
  • Use _msgSender() wherever you use msg.sender in your smart contract.
  • Added method setTrustedForwarder(address _forwarder) to change trusted forwarder address in future.
Last modified 10mo ago
Copy link