Skip to content
Snippets Groups Projects
Cédric Moreau's avatar
Resolve #152 "remove random_id mechanism which is heavy and that we do not...
Cédric Moreau authored
Resolve #152 "remove random_id mechanism which is heavy and that we do not use" (!235)

* remove unnecessary currency associated type

* WIP: rebase

* WIP: update docs

* WIP: clippy

* WIP: test pass

* WIP: // TODO: decrement consumers?
f562a95b
History
Name Last commit Last update
..
src
Cargo.toml
README.md

Duniter account pallet

Duniter customizes the AccountData of the Balances Substrate pallet. In particular, it adds the field linked_idty.

Account creation fee

DuniterAccount defines a creation fee that is preleved to the account one block after its creation. This fee goes to the treasury.

Sufficient

DuniterAccount tweaks the substrate AccountInfo to allow identity accounts to exist without existential deposit. This allows to spare the creation fee.

Linked identity

Duniter offers the possibility to link an account to an identity with the linked_idty field. It allows to request refund of transaction fees in OnChargeTransaction.