Browse Source

help function for python console

283
ThomasV 10 years ago
parent
commit
d6f4b57d64
  1. 3
      lib/commands.py

3
lib/commands.py

@ -249,6 +249,9 @@ class Commands:
apply(self._callback, ()) apply(self._callback, ())
return result return result
def help(self):
return sorted(known_commands.keys())
def make_seed(self, nbits, custom_entropy, language): def make_seed(self, nbits, custom_entropy, language):
from mnemonic import Mnemonic from mnemonic import Mnemonic
s = Mnemonic(language).make_seed(nbits, custom_entropy=custom_entropy) s = Mnemonic(language).make_seed(nbits, custom_entropy=custom_entropy)

Loading…
Cancel
Save