Spaces:
Runtime error
Runtime error
Commit
·
d1d0241
1
Parent(s):
2ee2a5d
address from wallet object
Browse files
app.py
CHANGED
@@ -18,10 +18,9 @@ def wallet(private_key):
|
|
18 |
account, mnemonic = get_wallet()
|
19 |
|
20 |
private_key = account.key.hex()
|
21 |
-
address = account.address
|
22 |
|
23 |
wallet = Wallet(ocean.web3, private_key, transaction_timeout=20, block_confirmations=config.block_confirmations)
|
24 |
-
|
25 |
|
26 |
OCEAN_token = BToken(ocean.web3, ocean.OCEAN_address)
|
27 |
|
|
|
18 |
account, mnemonic = get_wallet()
|
19 |
|
20 |
private_key = account.key.hex()
|
|
|
21 |
|
22 |
wallet = Wallet(ocean.web3, private_key, transaction_timeout=20, block_confirmations=config.block_confirmations)
|
23 |
+
address = wallet.address
|
24 |
|
25 |
OCEAN_token = BToken(ocean.web3, ocean.OCEAN_address)
|
26 |
|