From 16347d82004fe7c272a0372a10e1224062812ab3 Mon Sep 17 00:00:00 2001 From: MaxMustermann2 <82761650+MaxMustermann2@users.noreply.github.com> Date: Fri, 19 Aug 2022 17:10:31 +0000 Subject: [PATCH] add references to https://snapshot.org --- README.md | 35 +++++++---------------------------- cmd/subcommands/values.go | 6 +++++- 2 files changed, 12 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index ad48714..9ae1b78 100644 --- a/README.md +++ b/README.md @@ -126,36 +126,15 @@ Check README for details on json file format. 20. Check which shard your BLS public key would be assigned to as a validator ./hmy --node=https://api.s0.t.hmny.io utility shard-for-bls -21. List Space In Governance -./hmy governance list-space - -22. List Proposal In Space Of Governance -./hmy governance list-proposal --space=[space key, example: staking-testnet] - -23. View Proposal In Governance -./hmy governance view-proposal --proposal=[proposal hash] - -24. New Proposal In Space Of Governance -./hmy governance new-proposal --proposal-yaml=[file path] --key=[key name] -PS: key must first use (hmy keys import-private-key) to import -Yaml example(time is in UTC timezone): -space: staking-testnet -start: 2020-04-16 21:45:12 -end: 2020-04-21 21:45:12 -choices: - - yes - - no -title: this is title -body: | - this is body, - you can write mutli line - -25. Vote Proposal In Space Of Governance -./hmy governance vote-proposal --proposal=[proposal hash] --choice=[your choice text, eg: yes] --key=[key name] +21. Vote on a governance proposal on https://snapshot.org +./hmy governance vote-proposal --space=[harmony-mainnet.eth] \ + --proposal= --proposal-type=[single-choice] \ + --choice= --app=[APP] --key= \ + --privacy=[PRIVACY TYPE] PS: key must first use (hmy keys import-private-key) to import -26. Enter Console -./hmy command --net=testnet --shard=0 +22. Enter Console +./hmy command --net=testnet ``` # Sending batched transactions diff --git a/cmd/subcommands/values.go b/cmd/subcommands/values.go index 711eaf9..e1ab1a8 100644 --- a/cmd/subcommands/values.go +++ b/cmd/subcommands/values.go @@ -110,6 +110,9 @@ Check README for details on json file format. --choice= --app=[APP] --key= \ --privacy=[PRIVACY TYPE] PS: key must first use (hmy keys import-private-key) to import + +%s +./hmy command --net=testnet `, g("1. Check account balance on given chain"), g("2. Check sent transaction"), @@ -131,6 +134,7 @@ PS: key must first use (hmy keys import-private-key) to import g("18. Get current staking utility metrics"), g("19. Check in-memory record of failed staking transactions"), g("20. Check which shard your BLS public key would be assigned to as a validator"), - g("21. Vote on a governance proposal"), + g("21. Vote on a governance proposal on https://snapshot.org"), + g("22. Enter console"), ) )