Skip to content
Platform documentation
Identity & wallet ownership
Guides

Identity & wallet ownership

Understand email and wallet sign-in, customer tokens, and wallet signatures.

Email and signed wallet ownership

Sign in with an email code, then link an Avalanche wallet with a nonce/domain-bound, expiring ownership signature. The wallet can be connected while retrieving the code; linking happens only after inbox verification. Email proves inbox control; the signature proves wallet control. Neither proves unique humanity.

MCP consent requires an emailed code and a signature bound to the exact OAuth request. The agent receives scoped Bagseven tokens.

A connected wallet proves a different thing

Connecting a wallet gives the interface an address and connector. Agent spending additionally verifies control of that address with a nonce-bound signature. The ownership challenge expires after five minutes; the signed ownership cookie is bound to the account and site for eight hours.

Profile wallet linking requires an ownership signature. When managing an existing spending permission, the wallet must still match the on-chain owner.

Credential boundaries

CredentialWhere it belongs
Wallet private keyWallet or configured server signer, never browser source.
Secret API and daemon keysTrusted backend only.
Publishable keyPublic provider plan listings only.
Customer access tokenOnly the authenticated customer to whom its holder is bound.
MCP OAuth tokenThe authorized MCP client; never an inbox credential or wallet private key.

Reconnect versus replace

Disconnecting a wallet does not unlink the saved account wallet. Reconnect wallet restores the browser connection; a matching saved address shows Ownership verified without another account-linking signature.

If another wallet is connected, the account screen shows both identities and an explicit Replace linked wallet flow. Confirm a fresh code sent to the existing inbox, then review the new ownership signature. Preflight checks reconfirmation before opening the signature prompt; submission checks it again. Payouts, subscription payers and spending permissions do not migrate automatically.

Email delivery and session recovery

The primary sign-in flow verifies an email code in the same window. Already-issued magic links remain supported. Return destinations stay inside the application. Public-Fuji local mode fails closed if email cannot be delivered; development preview codes require explicit DEV_MODE=true outside production.

Account, onboarding and wallet controls share the saved authenticated profile. A profile loading failure asks for a retry instead of assuming a new wallet binding. Email proof does not authorize a financial transaction.

Bagseven documentationemail and wallet · Avalanche · Registry