How-To Guides
Last updated
Last updated
Depending on your target use case, choose from the guides below that best match your desired destination or integration flow.
Creating a Sponsor API Key : A Sponsor API Key is required to enable sponsorship for users.
Sponsoring gas for users : A third-party sponsor (1Balance) covers the gas fees, allowing users to transact without holding any native tokens.
Allowing users to pay gas with their ERC20 tokens : Users can pay gas fees using supported ERC-20 tokens, eliminating the need to acquire native tokens.
Allowing users to pay gas with their Native tokens : Users cover gas fees directly using native tokens like ETH—the default and most widely supported method.
Creating Dynamic Environment Ids : An Environment ID is required to set up the various available wallet providers.
Using Dynamic/Privy as wallet providers with React SDK : Users can interact with applications using email, phone, or social logins through wallet providers like Dynamic and Privy, enjoying full dApp functionality with a seamless Web2-like experience.
Estimating Gas before sending transactions on-chain : Developers can simulate transactions to estimate gas costs in advance, improving reliability and user experience.
npm install @gelatonetwork/smartwallet viem