Developer tutorials
Step-by-step tutorials for integrating the tools and protocols that run on Gnosis Chain. Each one takes you from setup to working code.
Before you start: you need Node.js, a wallet, and some test xDai on the Chiado testnet from the faucet. New to the chain? Do the quickstart first.
Smart accounts and account abstraction
Give users smart contract wallets with batched transactions, gas sponsorship and recovery.
| Tutorial | What you build |
|---|---|
| Understanding account abstraction | What account abstraction is, and the providers that support it on Gnosis Chain |
| Account abstraction with Safe | Safe as the smart account layer |
| Generate your Safe Smart Account | A Safe created with Auth Kit and On Ramp Kit |
| Safe with Gelato | Gasless Safe transactions through Gelato Relay |
| Safe with Pimlico | ERC-4337 user operations with a Pimlico bundler and paymaster |
| ZeroDev | An app with a ZeroDev embedded smart wallet |
| Particle Network | An app with Particle's smart wallet-as-a-service |
Custom signers
Let users sign in with email, social logins or passkeys instead of a seed phrase.
| Tutorial | What you build |
|---|---|
| Custom signers | The concepts, and when to use them |
| Privy | Login flows and embedded wallets with Privy |
| Dynamic | Login and onboarding flows with Dynamic |
Pectra upgrades
Use the wallet features that arrived with the Pectra hard fork.
| Tutorial | What you build |
|---|---|
| EIP-7702 | An EOA that temporarily runs smart contract code |
| EIP-5792 | Batched calls in a single wallet prompt, with status polling |
DeFi and confidential computing
| Tutorial | What you build |
|---|---|
| Deploy a CoW Swap frontend | Your own swap interface from the CoW Swap widget examples |
| Secret Network | Confidential data and private computation for a Gnosis app |
Get help
Stuck on a step? Ask in Discord or on the forum, where the community and the Gnosis Chain developer relations team can help.