Introduction
A dApp Definition is an ordinary Radix account whose metadata names your application and lists the website, packages, components and resources that belong to it. The Radix Wallet reads the definition to show users which dApp is asking and to confirm that a website owns the components it claims. On Mainnet the wallet requires one before it accepts requests from your dApp. This page sets one up for a deployed component and a front end built with the Radix dApp Toolkit.
What the Metadata Does
A dApp Definition account carries a handful of metadata entries:
account_typeset todapp definitionβ the flag that makes the account a dApp Definition rather than a normal one.name,description,tags,icon_urlβ the display fields the wallet shows whenever your dApp sends a request. These are what turn "an unknown site wants your account" into a recognisable prompt.claimed_websitesβ the origins you assert this dApp runs on.claimed_entitiesβ the packages, components, and resources that belong to this dApp.
The claims are two-way. The account states that it owns a website, and the website has to state that it belongs to the account β which is what stops anyone from claiming your domain by writing your URL into their own metadata.
Setting One Up
Do this once your components and front end exist, since you need their addresses and origin to claim them.
- Create a fresh account in the Radix Wallet β this one becomes the dApp Definition, so keep it separate from an account you hold funds in.
- Open the Developer Console and connect your wallet, sharing that account. Note that it sets Mainnet definitions only: there is no hosted Stokenet console (
stokenet-console.radixdlt.comstill returns HTTP 530, re-checked 6 November 2026), so on Stokenet, run a console of your own as described in Deploying to Stokenet and Mainnet. - On Configure Metadata, enter the account address and search for it.
- Set
account_typetodapp definition, then fill in name, description, tags, and icon URL. - Fill in
claimed_websiteswith your dApp's origin, andclaimed_entitieswith your component, package, and resource addresses. - Send the transaction to the wallet and approve it. The metadata is now on-ledger.
ShardSpace is a community-built alternative to the console for creating and managing dApp definitions.
Proving the Website Side
After reading the claimed origin from metadata, the wallet fetches /.well-known/radix.json from that origin and expects to find the dApp Definition account address listed there:
{
"dApps": [
{ "dAppDefinitionAddress": "account_rdx12y..." }
]
}Serve that file at the exact origin you claimed β scheme, host, and port all have to match, and www.example.com is not example.com. Until both directions agree, the wallet rejects your dApp's Mainnet requests; a wallet set to developer mode skips these checks.
When Verification Fails
- Origin mismatch β check the claimed string against the origin the browser sends.
- File not served as JSON β some hosts return the SPA shell for unknown paths, so the wallet receives the site's HTML page in place of
radix.json. Fetch the URL yourself and check the response body. - Wrong network β a Stokenet dApp Definition does not verify a Mainnet dApp. They are separate accounts on separate ledgers.
- Address typo in
claimed_entitiesβ the wallet will connect, but your component will not display as part of the dApp. - Entity does not point back β a claim in
claimed_entitiesis confirmed only when the entity's own metadata names the dApp Definition:dapp_definitionon a component,dapp_definitionson a package or resource (Metadata for Verification). - Trailing slash on an origin β
claimed_websitestakes origins without a path, and a value ending in/is rejected as an invalid origin (same page).
Stokenet resets
The Stokenet reset of 29 August 2026 erased the ledger side of this handshake, the definition's metadata and the entities it claimed, and left radix.json on your origin as it was, so a definition that reuses the same account needs its metadata and claimed_entities set again but no change to the file.
Next Steps
- Radix APIs β choose the right API once your dApp needs a backend
- Building on Radix β the wider index of tooling, SDKs, and community services
External Links
- dApp Definition Setup β Radix Documentation
- Metadata for Verification β Radix Documentation
- RadixScan Developer Console β the Mainnet console;
console.radixdlt.comanswers HTTP 302 to it (checked 21 September 2026) - ShardSpace β community dApp definition manager
