Skip to content

Commit

Permalink
docs: update readme for usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Ja7ad committed Mar 2, 2024
1 parent 92ece97 commit 3da903c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# staker
Pactus bond tools for multiple stake by config
Pactus bond tools for multiple stake by config, you can stake many validators in same time with specific configuration.

- Note: this approach is one to many (1 account address and many validators address)

## how to run?

Expand All @@ -20,6 +22,12 @@ Pactus bond tools for multiple stake by config
}
```

- `pactus_wallet_exec_path` is patus-wallet file address
- `wallet_path` is address wallet file for example default path is `/home/{user}/pactus/wallets/default_wallet`
- `amount` a certain amount that is shared between the validators
- `wallet_address` sender address wallet have coin
- `validators` is list of validators for stake **note: if your address is first time for validator need set public key in `pub`**

2. run tools with `./staker -config ./cfg.json -password foobar`
- `-config` config file path default is `./cfg.json`
- `-password` is optional for wallet password
Expand Down

0 comments on commit 3da903c

Please sign in to comment.