Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJohnnyGault committed May 2, 2023
1 parent 8923f0d commit b6dd577
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pkg/configs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ Some example of the kinds of commands you might run during a dev workflow.

```sh
ggt utils init
ggt init v1.9.7 v0.4.8 # This will download avalanchego and subnet-evm from GitHub
ggt init v1.10.1 v0.5.1 # This will download avalanchego and subnet-evm from GitHub Releases
# Prepare a node with just avalanchego and no custom VMs
ggt node prepare NodeV1 --ava-bin=$GOPATH/src/github.com/ava-labs/avalanchego/build/avalanchego
ggt node prepare NodeV1 --ava-bin=avalanchego-v1.10.1 --vm-name=subnetevm --vm-bin=subnet-evm-v0.5.1
# Prepare a node with avalanchego and a custom VM
ggt node prepare NodeV1 --ava-bin=$GOPATH/src/github.com/ava-labs/avalanchego/build/avalanchego --vm-name=subnetevm --vm-bin=$GOPATH/src/github.com/ava-labs/avalanchego/build/plugins/srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy

rm -rf NodeV1 # Remove a node directory
ggt node prepare NodeV1 --ava-bin=avalanchego-v1.10.1 --vm-name=subnetevm --vm-bin=$GOPATH/src/github.com/ava-labs/avalanchego/build/plugins/srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy

ggt node run NodeV1 --clear-logs

Expand All @@ -34,6 +32,9 @@ ggt node info | jq
ggt node health | jq
ggt node explorer MyChain

# Delete node's data directory
ggt node reset NodeV1

export ETH_RPC_URL=`ggt node info | jq -r '.rpcs.MyChain'`
echo $ETH_RPC_URL
cast chain-id
Expand Down

0 comments on commit b6dd577

Please sign in to comment.