Add the trait CheckAccountWorthiness
defined in the pallet-identity
and implemented in the duniter-account
pallet, exposing the Fungible
trait, that checks if an account exists and if this account has enough balance to pay for the entire identity creation process. This will change the identity creation process as follows:
- Create the account by transferring at least twice the existential deposit.
- Create the identity.
Edited by Benjamin Gallois