pull/290/head
MaxMustermann2 2 years ago
parent ab8340898b
commit 16347d8200
No known key found for this signature in database
GPG Key ID: 4F4AB9DB6FF24C94
  1. 35
      README.md
  2. 6
      cmd/subcommands/values.go

@ -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 <BLS_PUBLIC_KEY>
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_IPFS_HASH> --proposal-type=[single-choice] \
--choice=<VOTING_CHOICE(S)> --app=[APP] --key=<ACCOUNT_ADDRESS_OR_NAME> \
--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

@ -110,6 +110,9 @@ Check README for details on json file format.
--choice=<VOTING_CHOICE(S)> --app=[APP] --key=<ACCOUNT_ADDRESS_OR_NAME> \
--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"),
)
)

Loading…
Cancel
Save