ERC-8092 · Draft · ERC · 2025-11-25
ERC-8092: Associated Accounts
A draft standard record that lets two accounts, even on different chains or key types, publicly declare, co-sign and later revoke a relationship, so apps can link sub-accounts, delegates and reputations to one identity.
What problem does it solve?
On-chain identity is usually one address. In practice people and organisations use many: a main wallet, app-scoped sub-accounts, a passkey wallet, accounts on other chains. There is no common way to say "these two accounts belong together" that any app can read and verify, so each project invents its own schema.
ERC-8092 defines a standard association payload: two accounts sign the same record describing their relationship (with optional app-specific data). Anyone can then verify it, store it on-chain or off-chain, and either party can revoke it. Use cases include sub-account identity inheritance, delegated authorization and pooling reputation across addresses.
How it works
There are two nested structures:
- AssociatedAccountRecord (AAR), the agreed payload:
initiatorandapproveraddresses (as ERC-7930 interoperable addresses in raw bytes, so non-EVM accounts work), avalidAtstart time, an optionalvalidUntilexpiry, and an optionalinterfaceIdplusdatadescribing the relationship. - SignedAssociationRecord (SAR), which wraps the AAR with each party's signature, a 2-byte key type for each signature, and a
revokedAttimestamp (0 if active).
Both parties sign the EIP-712 hash of the AAR under the domain { name: "AssociatedAccounts", version: "1" } (no chain ID or contract). Key types cover secp256k1 (0x0001), secp256r1, BLS, Ed25519, and protocol types with the high bit set: WebAuthn (0x8001), ERC-1271 contract signatures (0x8002) and ERC-6492 pre-deploy signatures (0x8003).
A consumer treats an association as valid if: now ≥ validAt; validUntil is 0 or in the future; revokedAt is 0 or in the future; and every populated signature verifies with its key type.
Records can live on-chain (the store must validate, emit AssociationCreated, and support revocation with AssociationRevoked) or in a public off-chain store. Either party can revoke; an earlier revocation timestamp always wins.
Sample code
Signing an association with ethers v6 (both accounts sign the same payload):
import { Wallet } from "ethers";
const domain = { name: "AssociatedAccounts", version: "1" };
const types = {
AssociatedAccountRecord: [
{ name: "initiator", type: "bytes" },
{ name: "approver", type: "bytes" },
{ name: "validAt", type: "uint40" },
{ name: "validUntil", type: "uint40" },
{ name: "interfaceId", type: "bytes4" },
{ name: "data", type: "bytes" },
],
};
const record = {
initiator: initiator7930Bytes, // ERC-7930 encoding of the main account
approver: approver7930Bytes, // ERC-7930 encoding of the sub-account
validAt: Math.floor(Date.now() / 1000),
validUntil: 0, // no expiry
interfaceId: "0x00000000",
data: "0x",
};
const initiatorSig = await mainWallet.signTypedData(domain, types, record);
const approverSig = await subWallet.signTypedData(domain, types, record);
const sar = {
revokedAt: 0,
initiatorKeyType: "0x0001", // secp256k1
approverKeyType: "0x0001",
initiatorSignature: initiatorSig,
approverSignature: approverSig,
record,
};
Things to know
- Status: Draft. Field names, key-type table and events may still change.
- Off-chain stores add a trust assumption; the spec asks integrators to make that risk visible. If the same association exists both on- and off-chain, on-chain data should win.
- Some key types (for example BLS or Ed25519) may be too expensive or impossible to verify on-chain; integrators must decide how to handle them.
- The
Delegatedkey type (0x0000) requires the implementer to publish how its delegation scheme is parsed. - Signatures are only required when records are used in trustless settings, but in that case both parties should sign.