Skip to content
Snippets Groups Projects

Draft: initial user flow for creating a wallet

Merged Janssen, D.D. (Dylan, Student M-CS) requested to merge 2-implement_all_user_flows into main
1 file
+ 0
10
Compare changes
  • Side-by-side
  • Inline
+ 0
10
@@ -7,16 +7,6 @@ from util import DBManager
db = DBManager()
def new_wallet(userId: Union[int, str]) -> Wallet:
"""
Creates a new regular wallet.
userId: name of the wallet
"""
return Wallet.create(name=userId,
network=os.getenv("BTC_NETWORK"),
db_uri=db.db_uri)
def new_multig_wallet(userId: Union[int, str],
sigs: int, klist: list[HDKey]) -> WalletKey:
"""
Loading