mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 12:30:07 +00:00
help function for python console
This commit is contained in:
parent
a1a4fe8e92
commit
d6f4b57d64
1 changed files with 3 additions and 0 deletions
|
@ -249,6 +249,9 @@ class Commands:
|
|||
apply(self._callback, ())
|
||||
return result
|
||||
|
||||
def help(self):
|
||||
return sorted(known_commands.keys())
|
||||
|
||||
def make_seed(self, nbits, custom_entropy, language):
|
||||
from mnemonic import Mnemonic
|
||||
s = Mnemonic(language).make_seed(nbits, custom_entropy=custom_entropy)
|
||||
|
|
Loading…
Add table
Reference in a new issue