durt library

Functions

generateMnemonic({String lang = 'english'}) String
Return a 12 random worlds mnemonic based on bip39 standard. You can choose a custom language like french, default is english.
harden(int index) int
Hardens index, meaning it won't have a public key
isHardened(int index) bool
Returns true if index is hardened.
randomSecretCode(int len, {bool isNum = false}) String

Exceptions / Errors

ChecksumException
GraphQLException