smejak commited on
Commit
685bf3b
1 Parent(s): 028625f

Create wallet.py

Browse files
Files changed (1) hide show
  1. wallet.py +7 -0
wallet.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from eth_account import Account
2
+
3
+ Account.enable_unaudited_hdwallet_features()
4
+
5
+ def get_wallet():
6
+ acct, mnemonic = Account.create_with_mnemonic()
7
+ return acct, mnemonic