Skip to content

Integrate Gasless App

Estimated time to read: 2 minutes

Integrate Web3 apps with Arcana Auth SDK and enable gasless transactions via the in-app Arcana wallet.

Prerequisites

Gasless via Third-party Wallets

The Arcana Auth SDK has a built-in gasless feature to allow gasless transactions via the in-app Arcana wallet.

To enable gasless transactions in third-party wallets, install and integrate with the Arcana Gasless (Standalone) SDK.

Steps

1. Install

Depending upon the app type, you may need to install one or more SDKs and the integration code may vary from one app type to another.

2. Integrate App

Select your 'Gasless' app type and follow the integration instructions.

Conditions for Zero Gas Fees

Authenticated Users: Only authenticated users have instant access to gasless transactions via the in-app Arcana wallet.

Gas Tank Setup: If the developer has correctly set up the gas tanks, whitelisted gasless operations and deposited funds in the gas tanks, then the user will incur zero gas fees only for the whitelisted app operations.

SCW Balance: When gas tanks run out of funds, the gas fees are charged to the user's SCW account. If there is insufficient balance in the user's SCW account when gas tanks run out of funds, the transaction will fail.

For more details, see how gasless transactions work and the Gasless Transactions FAQ.

What's Next?

Add code to onboard users. Use AuthProvider, the standard EIP-1193 Web3 provider to call support JSON/RPC functions and Web3 wallet operations. Learn more...

See also

Try Demo App!


Last update: July 23, 2024 by shaloo, shaloo