diff --git a/README.md b/README.md index b0f2ff3..d621cb4 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The following are the list of stuff that can don with this tool at the moment 1. Generating worker node files 2. Genrating reputer node files 3. Generating validator node files -4. Funding of testnet account addresses +4. Funding of edgenet account addresses for all the files generation commands, the tool will help in generation of the needed files and their respective docker files and you can spin them up as usual docker containers with docker-compose @@ -76,7 +76,7 @@ By running this command, `prod-docker-compose.yaml` will be generated with appro ### Initialize validator production ```shell -allocmd generate validator --name --network +allocmd generate validator --name --network ``` The above command can generate validator files and you can then use docker-compose to deploy diff --git a/allocmd/cli.py b/allocmd/cli.py index 3c27ef7..e12e18e 100644 --- a/allocmd/cli.py +++ b/allocmd/cli.py @@ -43,7 +43,7 @@ def reputer(environment, name=None, topic=None): @generate.command() @click.option('--name',required=True, help='Name of the validator.') -@click.option('--network', required=True, type=click.Choice(['testnet', 'edgenet']), help='Your preffered chain network to run the validator on.') +@click.option('--network', required=True, type=click.Choice(['edgenet']), help='Your preffered chain network to run the validator on.') def validator(name=None, network=None): """Initialize your Allora Worker Node with necessary boilerplates""" @@ -82,7 +82,7 @@ def validator(name=None, network=None): @click.command() @click.option('--address',required=True, help='the account address to be funded.') -@click.option('--network', required=True, type=click.Choice(['testnet', 'edgenet']), help='Your preffered chain network to fund address from.') +@click.option('--network', required=True, type=click.Choice(['edgenet']), help='Your preffered chain network to fund address from.') def fund(address=None, network=None): """fund allora account address""" diff --git a/allocmd/templates/config.yaml.j2 b/allocmd/templates/config.yaml.j2 index c38c9d4..2c0ad95 100644 --- a/allocmd/templates/config.yaml.j2 +++ b/allocmd/templates/config.yaml.j2 @@ -1,10 +1,10 @@ # place all {{ b7s_type }} configuration variables here name: {{ name }} -faucet_url: https://faucet.testnet.allora.network/ +faucet_url: https://faucet.edgenet.allora.network/ {{ b7s_type }}: - boot_nodes: /dns4/head-0.testnet.allora.network/tcp/9010/p2p/12D3KooWGAA1C2UNyj51QaGX5aXnVzRqeaqhyhUFFJixdqshwWC3 - chain_rpc_address: https://allora-rpc.testnet.allora.network/ + boot_nodes: /dns4/head-0-p2p.edgenet.allora.network/tcp/32050/p2p/12D3KooWQgcJ4wiHBWE6H9FxZAVUn84ZAmywQdRk83op2EibWTiZ + chain_rpc_address: https://allora-rpc.edgenet.allora.network/ chain_topic_id: {{ topic_id }} mnemonic: "" hex_coded_pk: "" diff --git a/allocmd/utilities/constants.py b/allocmd/utilities/constants.py index bbc58d3..a285288 100644 --- a/allocmd/utilities/constants.py +++ b/allocmd/utilities/constants.py @@ -1 +1 @@ -cliVersion = "2.0.0" +cliVersion = "2.0.1" diff --git a/allocmd/utilities/utils.py b/allocmd/utilities/utils.py index d6e71ef..00f97b3 100644 --- a/allocmd/utilities/utils.py +++ b/allocmd/utilities/utils.py @@ -10,7 +10,7 @@ import re import yaml -def create_worker_account(worker_name, faucet_url, type, network="testnet"): +def create_worker_account(worker_name, faucet_url, type, network="edgenet"): current_file_dir = os.path.dirname(os.path.abspath(__file__)) cli_tool_dir = os.path.dirname(current_file_dir) allora_chain_dir = os.path.join(cli_tool_dir, 'allora-chain') @@ -81,7 +81,7 @@ def create_worker_account(worker_name, faucet_url, type, network="testnet"): print(colored("'make' is not available in the system's PATH. Please install it or check your PATH settings.", "red")) return '' -def fundAddress(faucet_url, address, network="testnet"): +def fundAddress(faucet_url, address, network="edgenet"): try: subprocess.run([ 'curl',