Skip to main content

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.

TutorialWhat you build
Understanding account abstractionWhat account abstraction is, and the providers that support it on Gnosis Chain
Account abstraction with SafeSafe as the smart account layer
Generate your Safe Smart AccountA Safe created with Auth Kit and On Ramp Kit
Safe with GelatoGasless Safe transactions through Gelato Relay
Safe with PimlicoERC-4337 user operations with a Pimlico bundler and paymaster
ZeroDevAn app with a ZeroDev embedded smart wallet
Particle NetworkAn 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.

TutorialWhat you build
Custom signersThe concepts, and when to use them
PrivyLogin flows and embedded wallets with Privy
DynamicLogin and onboarding flows with Dynamic

Pectra upgrades​

Use the wallet features that arrived with the Pectra hard fork.

TutorialWhat you build
EIP-7702An EOA that temporarily runs smart contract code
EIP-5792Batched calls in a single wallet prompt, with status polling

DeFi and confidential computing​

TutorialWhat you build
Deploy a CoW Swap frontendYour own swap interface from the CoW Swap widget examples
Secret NetworkConfidential 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.