-
* fix * doc(end2end): detail test users * doc(all): update docker tag update docker image name from 0.2.0 to 0.3.0 use "docker compose" everywhere instead of "docker-compose" improve table of content fix layout * doc(all): improve docs add logo to readme add table of content rewording complete * doc(all): fix typos
* fix * doc(end2end): detail test users * doc(all): update docker tag update docker image name from 0.2.0 to 0.3.0 use "docker compose" everywhere instead of "docker-compose" improve table of content fix layout * doc(all): improve docs add logo to readme add table of content rewording complete * doc(all): fix typos
manual.md 1.69 KiB
Manual for wallet developers
This functional documentation presents how wallets can interact with the blockchain. It is intended to complete the runtime calls documentation in a runtime-specific way to fit the real needs of wallet developers.
Only ĞDev is covered for now.
Notations
1 ĞD = 100 units
Account existence
An account exists if and only if it contains at least the existential deposit (2 ĞD).
Become member
Only use identity
pallet. The membership
calls are disabled.
- The account that wants to gain membership needs to exists.
- Any account that already has membership and respects the identity creation period can create an identity for another account, using
identity.createIdentity
. - The account has to confirm its identity with a name, using
identity.confirmIdentity
. The name must be ASCII alphanumeric, punctuation or space characters:/^[-!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~a-zA-Z0-9 ]{3,64}$/
(additionally, trailing spaces and double spaces are forbidden, as a phishing countermeasure). If the name is already used, the call will fail.
Revoke an identity
Revoking an identity makes it lose its membership, hence UD creation and governance rights. Other data such as balance will remain.
This feature is useful in case the user has lost their private key since the revocation document can be made in advance.
Generate the revocation payload
- Scale-encode the revocation payload, that is the concatenation of the 32-bits public key and the genesis block hash.
- Store this payload and its signature.
Effectively revoke the identity
- From any origin that can pay the fee, use
identity.revokeIdentity
with the revocation payload.