Skip to content

Commit

Permalink
Merge branch 'main' into version-to-1.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemadero authored Jul 21, 2023
2 parents 278181c + 2f774b4 commit e79c803
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Note that the above command will run until you stop it with `CTRL + C`. You shou
To ping the server:

```bash
curl -X POST -k http://localhost:8081/v1/ping -d ''
curl -X POST -k http://localhost:8081/v1/ping

# or
avalanche-network-runner ping \
Expand Down Expand Up @@ -211,7 +211,7 @@ avalanche-network-runner control start \
To wait for all the nodes in the cluster to become healthy:
```bash
curl -X POST -k http://localhost:8081/v1/control/health -d ''
curl -X POST -k http://localhost:8081/v1/control/health
# or
avalanche-network-runner control health \
Expand All @@ -222,7 +222,7 @@ avalanche-network-runner control health \
To get the API endpoints of all nodes in the cluster:
```bash
curl -X POST -k http://localhost:8081/v1/control/uris -d ''
curl -X POST -k http://localhost:8081/v1/control/uris
# or
avalanche-network-runner control uris \
Expand All @@ -233,7 +233,7 @@ avalanche-network-runner control uris \
To query the cluster status from the server:
```bash
curl -X POST -k http://localhost:8081/v1/control/status -d ''
curl -X POST -k http://localhost:8081/v1/control/status
# or
avalanche-network-runner control status \
Expand All @@ -255,7 +255,7 @@ stream-status \
To save the network to a snapshot:
```bash
curl -X POST -k http://localhost:8081/v1/control/savesnapshot -d '{"snapshot_name":"node5"}'
curl -X POST -k http://localhost:8081/v1/control/savesnapshot -d '{"snapshotName":"node5"}'
# or
avalanche-network-runner control save-snapshot snapshotName
Expand All @@ -264,7 +264,7 @@ avalanche-network-runner control save-snapshot snapshotName
To load a network from a snapshot:
```bash
curl -X POST -k http://localhost:8081/v1/control/loadsnapshot -d '{"snapshot_name":"node5"}'
curl -X POST -k http://localhost:8081/v1/control/loadsnapshot -d '{"snapshotName":"node5"}'
# or
avalanche-network-runner control load-snapshot snapshotName
Expand All @@ -274,7 +274,7 @@ An avalanchego binary path and/or plugin dir can be specified when loading the s
optional. If not specified, will use the paths saved with the snapshot:
```bash
curl -X POST -k http://localhost:8081/v1/control/loadsnapshot -d '{"snapshot_name":"node5","execPath":"'${AVALANCHEGO_EXEC_PATH}'","pluginDir":"'${AVALANCHEGO_PLUGIN_PATH}'"}'
curl -X POST -k http://localhost:8081/v1/control/loadsnapshot -d '{"snapshotName":"node5","execPath":"'${AVALANCHEGO_EXEC_PATH}'","pluginDir":"'${AVALANCHEGO_PLUGIN_PATH}'"}'
# or
avalanche-network-runner control load-snapshot snapshotName --avalanchego-path ${AVALANCHEGO_EXEC_PATH} --plugin-dir ${AVALANCHEGO_PLUGIN_PATH}
Expand All @@ -292,7 +292,7 @@ avalanche-network-runner control get-snapshot-names
To remove a snapshot:
```bash
curl -X POST -k http://localhost:8081/v1/control/removesnapshot -d '{"snapshot_name":"node5"}'
curl -X POST -k http://localhost:8081/v1/control/removesnapshot -d '{"snapshotName":"node5"}'
# or
avalanche-network-runner control remove-snapshot snapshotName
Expand All @@ -301,7 +301,7 @@ avalanche-network-runner control remove-snapshot snapshotName
To create 1 validated subnet, with all existing nodes as participants (requires network restart):
```bash
curl -X POST -k http://localhost:8081/v1/control/createsubnets -d '[{}]'
curl -X POST -k http://localhost:8081/v1/control/createsubnets -d '{"subnetSpecs": [{}]}'
# or
avalanche-network-runner control create-subnets '[{}]'
Expand All @@ -310,7 +310,7 @@ avalanche-network-runner control create-subnets '[{}]'
To create 1 validated subnet, with some of existing nodes as participants (requires network restart):
```bash
curl -X POST -k http://localhost:8081/v1/control/createsubnets -d '[{"participants": ["node1", "node2"]}]'
curl -X POST -k http://localhost:8081/v1/control/createsubnets -d '{"subnetSpecs:" [{"participants": ["node1", "node2"]}]}'
# or
avalanche-network-runner control create-subnets '[{"participants": ["node1", "node2"]}]'
Expand All @@ -319,7 +319,7 @@ avalanche-network-runner control create-subnets '[{"participants": ["node1", "no
To create 1 validated subnet, with some of existing nodes and another new node as participants (requires network restart):
```bash
curl -X POST -k http://localhost:8081/v1/control/createsubnets -d '[{"participants": ["node1", "node2", "testNode"]}]'
curl -X POST -k http://localhost:8081/v1/control/createsubnets -d '{"subnetSpecs": [{"participants": ["node1", "node2", "testNode"]}]}'
# or
avalanche-network-runner control create-subnets '[{"participants": ["node1", "node2", "testNode"]}]'
Expand All @@ -329,7 +329,7 @@ avalanche-network-runner control create-subnets '[{"participants": ["node1", "no
To create N validated subnets (requires network restart):
```bash
curl -X POST -k http://localhost:8081/v1/control/createsubnets -d '[{}, {"participants": ["node1", "node2", "node3"]}, {"participants": ["node1", "node2", "testNode"]}]'
curl -X POST -k http://localhost:8081/v1/control/createsubnets -d '{"subnetSpecs": [{}, {"participants": ["node1", "node2", "node3"]}, {"participants": ["node1", "node2", "testNode"]}]}'
# or
avalanche-network-runner control create-subnets '[{}, {"participants": ["node1", "node2", "node3"]}, {"participants": ["node1", "node2", "testNode"]}]'
Expand All @@ -339,7 +339,7 @@ avalanche-network-runner control create-subnets '[{}, {"participants": ["node1",
To create a blockchain without a subnet id (requires network restart):
```bash
curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'"}]}'
curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vmName":"'$VM_NAME'","genesis":"'$GENESIS_PATH'"}]}'
# or
avalanche-network-runner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'"}]'
Expand All @@ -348,7 +348,7 @@ avalanche-network-runner control create-blockchains '[{"vm_name":"'$VM_NAME'","g
Genesis can be given either as file path or file contents:
```bash
curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_CONTENTS'"}]}'
curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vmName":"'$VM_NAME'","genesis":"'$GENESIS_CONTENTS'"}]}'
# or
avalanche-network-runner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_CONTENTS'"}]'
Expand All @@ -357,7 +357,7 @@ avalanche-network-runner control create-blockchains '[{"vm_name":"'$VM_NAME'","g
To create a blockchain with a subnet id (does not require restart):
```bash
curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_id": "'$SUBNET_ID'"}]}'
curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vmName":"'$VM_NAME'","genesis":"'$GENESIS_PATH'","subnetId":"'$SUBNET_ID'"}]}'
# or
avalanche-network-runner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_id": "'$SUBNET_ID'"}]'
Expand All @@ -366,7 +366,7 @@ avalanche-network-runner control create-blockchains '[{"vm_name":"'$VM_NAME'","g
To create a blockchain with a subnet id, and chain config, network upgrade and subnet config file paths (requires network restart):
```bash
curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_id": "'$SUBNET_ID'", "chain_config": "'$CHAIN_CONFIG_PATH'", "network_upgrade": "'$NETWORK_UPGRADE_PATH'", "subnet_config": "'$SUBNET_CONFIG_PATH'"}]}'
curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vmName":"'$VM_NAME'","genesis":"'$GENESIS_PATH'","subnetId": "'$SUBNET_ID'","chainConfig": "'$CHAIN_CONFIG_PATH'","networkUpgrade":"'$NETWORK_UPGRADE_PATH'","subnetConfig":"'$SUBNET_CONFIG_PATH'"}]}'
# or
avalanche-network-runner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_id": "'$SUBNET_ID'", "chain_config": "'$CHAIN_CONFIG_PATH'", "network_upgrade": "'$NETWORK_UPGRADE_PATH'", "subnet_config": "'$SUBNET_CONFIG_PATH'"}]'
Expand All @@ -376,7 +376,7 @@ To create a blockchain with a new subnet id with select nodes as participants (r
(New nodes will first be added as primary validators similar to the process in `create-subnets`)
```bash
curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_spec": {"participants": ["node1", "node2", "testNode"]}"]}'
curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vmName":"'$VM_NAME'","genesis":"'$GENESIS_PATH'","subnetSpec": {"participants": ["node1", "node2", "testNode"]}"]}'
# or
avalanche-network-runner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_spec": "{"participants": ["node1", "node2", "testNode"]}]'
Expand All @@ -385,7 +385,7 @@ avalanche-network-runner control create-blockchains '[{"vm_name":"'$VM_NAME'","g
To create two blockchains in two disjoint subnets (not shared validators), and where all validators have bls keys (participants new to the network):
```bash
curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_spec": {"participants": ["new_node1", "new_node2"]}},{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_spec": {"participants": ["new_node3", "new_node4"]}}]'
curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vmName":"'$VM_NAME'","genesis":"'$GENESIS_PATH'","subnetSpec": {"participants": ["new_node1", "new_node2"]}},{"vmName":"'$VM_NAME'","genesis":"'$GENESIS_PATH'","subnetSpec": {"participants": ["new_node3", "new_node4"]}}]'
# or
go run main.go control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_spec": {"participants": ["new_node1", "new_node2"]}},{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_spec": {"participants": ["new_node3", "new_node4"]}}]'
Expand All @@ -406,7 +406,7 @@ Chain config can also be defined on a per node basis. For that, a per node chain
Then a blockchain with different chain configs per node can be created with this command:
```bash
curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_id": "'$SUBNET_ID'", "per_node_chain_config": "'$PER_NODE_CHAIN_CONFIG'", "network_upgrade": "'$NETWORK_UPGRADE_PATH'", "subnet_config": "'$SUBNET_CONFIG_PATH'"}]}'
curl -X POST -k http://localhost:8081/v1/control/createblockchains -d '{"pluginDir":"'$PLUGIN_DIR'","blockchainSpecs":[{"vmName":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnetId": "'$SUBNET_ID'","perNodeChainConfig": "'$PER_NODE_CHAIN_CONFIG'","networkUpgrade":"'$NETWORK_UPGRADE_PATH'","subnetConfig":"'$SUBNET_CONFIG_PATH'"}]}'
# or
avalanche-network-runner control create-blockchains '[{"vm_name":"'$VM_NAME'","genesis":"'$GENESIS_PATH'", "subnet_id": "'$SUBNET_ID'", "per_node_chain_config": "'$PER_NODE_CHAIN_CONFIG'", "network_upgrade": "'$NETWORK_UPGRADE_PATH'", "subnet_config": "'$SUBNET_CONFIG_PATH'"}]'
Expand Down Expand Up @@ -543,7 +543,7 @@ avalanche-network-runner control send-outbound-message \
To terminate the cluster:
```bash
curl -X POST -k http://localhost:8081/v1/control/stop -d ''
curl -X POST -k http://localhost:8081/v1/control/stop
# or
avalanche-network-runner control stop \
Expand All @@ -559,11 +559,11 @@ To transform permissioned Subnets into permissionless Subnets (NOTE: this action
Values provided below are the default values on [Primary Network on Mainnet](https://docs.avax.network/subnets/reference-elastic-subnets-parameters#primary-network-parameters-on-mainnet).
```bash
curl -X POST -k http://localhost:8081/v1/control/elasticsubnets -d '[{"subnet_id":"'$SUBNET_ID'", "asset_name":"'$ASSET_NAME'",
"asset_symbol":"'$ASSET_SYMBOL'", "initial_supply": 240000000, "max_supply": 720000000, "min_consumption_rate": 100000,
"max_consumption_rate": 120000, "min_validator_stake": 2000, "max_validator_stake": 3000000, "min_stake_duration": 336,
"max_stake_duration": 8760, "min_delegation_fee": 20000, "min_delegator_stake": 25, "max_validator_weight_factor": 5,
"uptime_requirement": 800000}]'
curl -X POST -k http://localhost:8081/v1/control/transformelasticsubnets -d '{"elasticSubnetSpec": [{"subnetId":"'$SUBNET_ID'","assetName":"'$ASSET_NAME'",
"assetSymbol":"'$ASSET_SYMBOL'", "initialSupply": 240000000, "maxSupply": 720000000, "minConsumption_rate": 100000,
"maxConsumption_rate": 120000, "minValidatorStake": 2000, "maxValidatorStake": 3000000, "minStakeDuration": 336,
"maxStakeDuration": 8760, "minDelegationFee": 20000, "minDelegatorStake": 25, "maxValidatorWeightFactor": 5,
"uptimeRequirement": 800000}]}'
# or
avalanche-network-runner control elastic-subnets '[{"subnet_id":"'$SUBNET_ID'", "asset_name":"'$ASSET_NAME'",
Expand All @@ -584,8 +584,8 @@ when the command was called and the node will be a validator until the node stop
Note: Asset ID is returned by elastic-subnets command
```bash
curl -X POST -k http://localhost:8081/v1/control/addpermissionlessvalidator -d '[{"subnet_id": "'$SUBNET_ID'", "node_name":"node1",
"staked_token_amount": 2000, "asset_id": "'$ASSET_ID'", "start_time": "2023-05-25 21:00:00", "stake_duration": 336}]'
curl -X POST -k http://localhost:8081/v1/control/addpermissionlessvalidator -d '{"validatorSpec": [{"subnetId":"'$SUBNET_ID'","nodeName":"node1",
"stakedTokenAmount": 2000, "assetId": "'$ASSET_ID'", "startTime": "2023-05-25 21:00:00", "stakeDuration": 336}]}'
# or
avalanche-network-runner control add-permissionless-validator '[{"subnet_id": "'$SUBNET_ID'", "node_name":"node1",
Expand All @@ -595,10 +595,10 @@ avalanche-network-runner control add-permissionless-validator '[{"subnet_id": "'
To remove a node as a permissioned validator from a Subnet:
```bash
curl -X POST -k http://localhost:8081/v1/control/removesubnetvalidator -d '[{"subnet_id": "'$SUBNET_ID'", "node_names":["node1"]}]'
curl -X POST -k http://localhost:8081/v1/control/removesubnetvalidator -d '[{"subnetId": "'$SUBNET_ID'", "nodeNames":["node1"]}]'
# or
avalanche-network-runner control remove-subnet-validator '[{"subnet_id": "'$SUBNET_ID'", "node_names":["node1"]}]'
avalanche-network-runner control remove-subnet-validator '[{"subnetId": "'$SUBNET_ID'", "nodeNames":["node1"]}]'
```
To delegate stake in a permissionless validator in an Elastic Subnet:
Expand All @@ -609,7 +609,7 @@ If `start_time` and `stake_duration` are omitted, the default value for validati
when the command was called and the stake will be delegated until the node stops validating on the primary network.
```bash
curl -X POST -k http://localhost:8081/v1/control/addpermissionlessdelegator -d '[{"subnet_id": "'$SUBNET_ID'", "node_name":"node1", "asset_id": "'$ASSET_ID'", "staked_token_amount": 2000, "start_time": "2023-05-25 21:00:00", "stake_duration": 336}]'
curl -X POST -k http://localhost:8081/v1/control/addpermissionlessdelegator -d '{"validatorSpec": [{"subnetId": "'$SUBNET_ID'", "nodeName":"node1", "assetId": "'$ASSET_ID'", "stakedTokenAmount": 2000, "startTime": "2023-05-25 21:00:00", "stakeDuration": 336}]}'
# or
avalanche-network-runner control ./bin/avalanche-network-runner control add-permissionless-delegator '[{"subnet_id": "'$SUBNET_ID'", "node_name":"node1", "asset_id": "'$ASSET_ID'", "staked_token_amount": 2000, "start_time": "2023-05-25 21:00:00", "stake_duration": 336}]'
Expand All @@ -626,7 +626,7 @@ avalanche-network-runner server \
--grpc-gateway-port=":8081"
# make sure network-runner server is up
curl -X POST -k http://localhost:8081/v1/ping -d ''
curl -X POST -k http://localhost:8081/v1/ping
```
To start the cluster with custom chains:
Expand Down Expand Up @@ -726,13 +726,13 @@ avalanche-network-runner control start \
```bash
# to get cluster information including blockchain ID
curl -X POST -k http://localhost:8081/v1/control/status -d ''
curl -X POST -k http://localhost:8081/v1/control/status
```
Blockchain config file, network upgrade file, and subnet config file paths can be optionally specified at network start, eg:
```bash
curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${AVALANCHEGO_EXEC_PATH}'","numNodes":5,"logLevel":"INFO","pluginDir":"'${AVALANCHEGO_PLUGIN_PATH}'","blockchainSpecs":[{"vm_name":"subnetevm","genesis":"/tmp/subnet-evm.genesis.json","chain_config":"'$CHAIN_CONFIG_PATH'","network_upgrade":"'$NETWORK_UPGRADE_PATH'","subnet_config":"'$SUBNET_CONFIG_PATH'"}]}'
curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${AVALANCHEGO_EXEC_PATH}'","numNodes":5,"logLevel":"INFO","pluginDir":"'${AVALANCHEGO_PLUGIN_PATH}'","blockchainSpecs":[{"vm_name":"subnetevm","genesis":"/tmp/subnet-evm.genesis.json","chainConfig":"'$CHAIN_CONFIG_PATH'","networkUpgrade":"'$NETWORK_UPGRADE_PATH'","subnetConfig":"'$SUBNET_CONFIG_PATH'"}]}'
# or
avalanche-network-runner control start \
Expand All @@ -754,7 +754,7 @@ avalanche-network-runner server \
--grpc-gateway-port=":8081"
# make sure network-runner server is up
curl -X POST -k http://localhost:8081/v1/ping -d ''
curl -X POST -k http://localhost:8081/v1/ping
```
To start the cluster with custom chains:
Expand Down Expand Up @@ -812,13 +812,13 @@ avalanche-network-runner control start \
```bash
# to get cluster information including blockchain ID
curl -X POST -k http://localhost:8081/v1/control/status -d ''
curl -X POST -k http://localhost:8081/v1/control/status
```
Blockchain config file and network upgrade file paths can be optionally specified at network start, eg:
```bash
curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${AVALANCHEGO_EXEC_PATH}'","numNodes":5,"logLevel":"INFO","pluginDir":"'${AVALANCHEGO_PLUGIN_PATH}'","blockchainSpecs":[{"vm_name":"blobvm","genesis":"/tmp/blobvm.json","chain_config":"'$CHAIN_CONFIG_PATH'","network_upgrade":"'$NETWORK_UPGRADE_PATH'","subnet_config":"'$SUBNET_CONFIG_PATH'"}]}'
curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${AVALANCHEGO_EXEC_PATH}'","numNodes":5,"logLevel":"INFO","pluginDir":"'${AVALANCHEGO_PLUGIN_PATH}'","blockchainSpecs":[{"vm_name":"blobvm","genesis":"/tmp/blobvm.json","chainConfig":"'$CHAIN_CONFIG_PATH'","networkUpgrade":"'$NETWORK_UPGRADE_PATH'","subnetConfig":"'$SUBNET_CONFIG_PATH'"}]}'
# or
avalanche-network-runner control start \
Expand All @@ -840,7 +840,7 @@ avalanche-network-runner server \
--grpc-gateway-port=":8081"
# make sure network-runner server is up
curl -X POST -k http://localhost:8081/v1/ping -d ''
curl -X POST -k http://localhost:8081/v1/ping
```
To start the cluster with custom chains:
Expand Down Expand Up @@ -885,7 +885,7 @@ echo hello > /tmp/timestampvm.genesis.json
AVALANCHEGO_EXEC_PATH="${HOME}/go/src/github.com/ava-labs/avalanchego/build/avalanchego"
AVALANCHEGO_PLUGIN_PATH="${HOME}/go/src/github.com/ava-labs/avalanchego/build/plugins"
curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${AVALANCHEGO_EXEC_PATH}'","numNodes":5,"logLevel":"INFO","pluginDir":"'${AVALANCHEGO_PLUGIN_PATH}'","blockchainSpecs":[{"vmName":"timestampvm","genesis":"/tmp/timestampvm.genesis.json","blockchain_alias":"timestamp"}]}'
curl -X POST -k http://localhost:8081/v1/control/start -d '{"execPath":"'${AVALANCHEGO_EXEC_PATH}'","numNodes":5,"logLevel":"INFO","pluginDir":"'${AVALANCHEGO_PLUGIN_PATH}'","blockchainSpecs":[{"vmName":"timestampvm","genesis":"/tmp/timestampvm.genesis.json","blockchainAlias":"timestamp"}]}'
# or
avalanche-network-runner control start \
Expand All @@ -898,7 +898,7 @@ avalanche-network-runner control start \
```bash
# to get cluster information including blockchain ID
curl -X POST -k http://localhost:8081/v1/control/status -d ''
curl -X POST -k http://localhost:8081/v1/control/status
```
To call `timestampvm` APIs:
Expand Down

0 comments on commit e79c803

Please sign in to comment.