Gasless SDK (EOA)
Enable meta transactions or gasless transactions in your Dapp by integrating Gasless SDK (EOA) in your DApp in a few lines of code
Last updated
Was this helpful?
Enable meta transactions or gasless transactions in your Dapp by integrating Gasless SDK (EOA) in your DApp in a few lines of code
Last updated
Was this helpful?
Gasless SDK (EOA) enables meta transactions or gasless transactions in your DApp (Decentralized Application) out of the box without any change in your smart contracts and just a few lines of code in your DApp to integrate Gasless SDK (EOA).
By using Gasless SDK (EOA), DApp users are able to use the DApp and send transactions free of cost while developer pays the gas fee on their behalf as a part of user acquisition cost.
Go to to register your DApp and methods on which to enable meta transactions and copy your API Key.
Install Gasless SDK (EOA)
Gasless SDK (EOA) can be installed either via npm repository or using standalone javascript file using html <script/> tag
You can use Gasless SDK (EOA) either with or library. It works with both libraries.
Note: <web3 provider> could be window.ethereum for Metamask or portis.provider for Portis and so on. It should be a provider object not RPC url.
Congratulations ๐
You have now enabled meta transactions in your DApp. Interact with web3 the way you have been doing it.
Now whenever there is a write transaction action (registered in dashboard also) initiated from the user Gasless SDK (EOA) will ask for userโs signature either format or personal signature as instructed and handle the transaction rather than sending signed transaction directly to blockchain from userโs wallet.
Checkout how you can use Gasless SDK (EOA) to do gasless transactions in