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 addressesed in the dashboard. From there, we will accept sponsoring transactions targeting this contract.
At the end of each month, you will receive an invoice with the total amount of gas fees covered. This fee is then billed through the payment method in your Cometh Connect account.
With Cometh Connect, there is no overhead on the price you pay. Depending on your license type, you have a max number of transactions you can sponsor each month.
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 2 paymaster methods on your client creation: sponsorUserOperation and gasPrice.
Here is the full overview: