Go Gasless
Last updated
Last updated
With Cometh Connect, you can pay the transaction gas fees of your users. You will need to add the contract address of your transaction as a sponsored address for your project. Remember, the contract address corresponds to the "to" field of your transaction.
To authorize the sponsorship of a given contract address, you need to add it to your sponsored addresses in the dashboard. From there, we will accept sponsoring transactions targeting this contract.
More details about the Cometh paymaster API :
You'll first need to instantiate a paymaster Client, you'll need to get a paymasterUrl from the cometh dashboard.
You'll then need to add a paymaster methods on your client creation: getUserOperationGasPrice.
Here is the full overview: