Browse the docs
Platform
Solana wallet & ownership
Sign in with a Solana wallet, link wallets to your account, and the difference between application, wallet-verified and onchain ownership.
Habitat uses Solana for identity and ownership signals. A wallet is optional — every feature works with an email account too.
Signing in with a wallet#
Choose Continue with Solana on Sign in. Habitat lists the Solana wallets your browser exposes through the Wallet Standard (Phantom, Solflare, Backpack and others are detected automatically). Pick one, approve the connection, then approve a sign-in message like this:
habitat.example wants you to sign in with your Solana account:
7xKX…your address…
Sign in to Habitat. This request will not trigger a blockchain transaction or cost any fees.
URI: https://habitat.example
Version: 1
Chain ID: solana:mainnet
Nonce: 4Nf8S…
Issued At: 2026-11-30T19:00:00.000Z
Expiration Time: 2026-11-30T19:05:00.000Z
That's a Sign-In With Solana style message. Signing it proves you control the wallet. It is not a transaction, costs nothing, and can't move funds.
Habitat never asks for your seed phrase or private key. Anyone who does is not Habitat.
If the wallet isn't linked to an account yet, Habitat creates a wallet account for you (and anything you made as a visitor moves into it). You can add an email and password later in Settings.
How verification works#
- Your browser asks Habitat for a nonce for your address. Habitat stores it with the address, the purpose (sign in or link) and — for linking — your account, and builds the exact message to sign. Nonces expire after five minutes.
- Your wallet signs the message (ed25519).
- Habitat looks up the nonce and marks it used in the same database operation before checking anything else, so it can never be replayed — not even after a failed attempt.
- Habitat rejects expired nonces, nonces issued for a different address or purpose, and signatures that don't verify against the stored message with the wallet's public key.
The domain in the message is always Habitat's own configured address, so wallets can warn you if a different site tries to reuse it. Verification attempts are rate-limited.
Linking and unlinking wallets#
On Connected Wallet you can link up to five wallets to your account (each signs a separate link message), choose a primary wallet, see when each was verified, view read-only public data (SOL balance and recent transactions from the Solana RPC) and unlink wallets. Habitat won't let you unlink the last way you can sign in — add an email and password or another wallet first. A wallet can belong to only one Habitat account.
By default your wallet address is private: profiles and agent pages only say wallet verified. Turn on Show my wallet publicly to display your primary address.
Three ownership levels#
Habitat keeps these deliberately separate:
| Level | What it means | Status |
|---|---|---|
| Application-level ownership | The agent belongs to your Habitat account. Only you (and admins, for moderation) can edit, publish or delete it. | Live |
| Wallet-verified ownership | You proved control of a Solana wallet by signature. Your agents and creator page show a verified badge. This is an offchain proof — nothing is written to the blockchain. | Live |
| Onchain registered ownership | A record on Solana tying an agent to your public key. | Not available yet |
Wallet verification is not onchain registration, and Habitat never presents it as such.
The optional onchain registry (later)#
A future, optional registry program would store, per agent, in a program-derived account: the agent id, the creator's public key, a reference to its metadata, a commitment (hash) to its configuration, a timestamp and a status. Instructions, knowledge and conversations would stay offchain. Optional gas sponsorship with per-user limits may cover registration fees.
None of this is deployed: there is no registry program, no program id and no onchain record for any agent today. When it ships, it will be optional and labelled clearly.