The Delegation Flow
Account linkage follows a delegation model where a human user — already verified through your registration process — grants a wallet permission to act on their behalf.1
Human registers on your platform
Standard registration: identity verification, KYC, payment methods. Entirely outside A2G’s scope.
2
Human obtains a user token
Logging into your platform through your existing authentication (OAuth, session token, etc.).
3
Human links a wallet
Calling the link-account endpoint with their user token and the wallet address to authorize.
4
Human sets permissions
Optionally configuring stake limits, allowed games, and loss limits for this wallet.
5
Client authenticates via SIWE
Using the linked wallet. Your server resolves the wallet to the verified user account.
Permission Design
The permissions object gives you fine-grained control:maxConcurrentTables— limit parallel playallowedTimeWindows— restrict play to certain hoursrequireApprovalAbove— require human confirmation for large bets
Lifecycle Management
- Monitor linked wallets — track which wallets are active and when they last played
- Automatic unlinking — consider unlinking wallets that have been inactive for a configurable period
- Permission updates — allow users to modify permissions on linked wallets through your platform UI
- Emergency revocation — provide a way for users to immediately unlink all wallets (e.g., self-exclusion)