Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
add funding address to allocmd
Browse files Browse the repository at this point in the history
  • Loading branch information
okedeji committed Apr 24, 2024
1 parent a8ebaaa commit 4a9167d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion allocmd/utilities/constants.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cliVersion = "0.3.19"
cliVersion = "0.3.20"
8 changes: 4 additions & 4 deletions allocmd/utilities/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ def create_worker_account(worker_name, faucet_url, type, network="testnet"):

subprocess.run([
'curl',
'-Lvvv',
f'{faucet_url}/send/{network}/{address}'
'-L',
f'{faucet_url}send/{network}/{address}'
], stdout=subprocess.DEVNULL)

print(colored(f"keys created and {network}-funded for this {type}. please check config.yaml for your address and mnemonic", "green"))
Expand All @@ -88,8 +88,8 @@ def fundAddress(faucet_url, address, network="testnet"):
try:
subprocess.run([
'curl',
'-Lvvv',
f'{faucet_url}/send/{network}/{address}'
'-L',
f'{faucet_url}send/{network}/{address}'
], stdout=subprocess.DEVNULL)

print(colored(f"address funded with {network}-faucet", "green"))
Expand Down

0 comments on commit 4a9167d

Please sign in to comment.