Surface accounts the chain names, and make genesis unmissable #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Some accounts are special, and nothing on the site says so. The treasury looks
like any other empty address; the minting sentinel looks like a wallet; the
twenty-one accounts endowed at genesis look like they earned it.
Everything needed is already on the chain, and the chain names them itself — so
this needs no curated list, and a pallet added next year gets its accounts
labelled for free.
The three sources, which are three different claims
They must not be flattened into one badge:
spec_version.set_treasury_accountexistsprecisely to change it (root only, never dispatched here).
be endowed and have no job.
Note the treasury is not among the endowed, so "named as treasury, never
funded" becomes a stated fact rather than something a reader notices by accident.
Scope
decode_storagealready builds the set ofAccountId32values itsaw and throws it away. Expose it, and do the same for constants. This is the
only correct way to tell an account from a hash: after
normaliseboth are0x+ 64 hex, and filtering by shape wrongly catchesSystem::ParentHashand
ZkTree::Root.storage_keys_pagedneeds anathash so genesis can beenumerated. Genesis state needs an archive node; bob is
archive-canonical,but the endowed set never changes, so read it once and hold it rather than
depending on that forever.
/v1/chains/:chain/roles(every named account, what names it,whether it holds anything) and
/v1/chains/:chain/genesis(endowments plusgenesis facts).
AccountDetailgains the roles for that account.TREASURY,MINTING,GENESIS— inthe same visual language as the existing
node?/elsewhere/Youchips.
is the claim and the citation is the evidence.
to anyone who has not read the chainspec.
/:chain/block/0should surfacethem.
Genesislink in the chain nav routing straight to block zero, sosomebody who would never think to look is given an unmissable opportunity
to.
Constraints
MintingAccountis0x0101…0101— a sentinel with noSystem::Accountentryat all, not a wallet. Label it as what the runtime calls it and let the empty
balance speak. Anything warmer would be the site vouching for an address,
which it has no standing to do.
(
TreasuryPallet::TreasuryAccount→TREASURY), never invented.