You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The balances subcommand manages the genesis.json balances information.
Flags
--genesis-path - the path to the genesis.json
balances add
The balances add subcommand adds in the balance information from a specified source (see flags) to the genesis.json.
Flags (EITHER-OR)
--balance-sheet - the path to the balance file containing addresses in the format <address>=<amount>ugnot
--single - the direct balance addition in the format <address>=<amount>ugnot
--parse-export - the path to the tx-archive export containing a list of transactions. The command should parse the exported transactions and calculate balances of initialized accounts
balances remove
The balances remove subcommand removes the balance information of a specific account from the genesis.json.
Flags
--address - the address of the account whose balance information should be removed from genesis.json
## Description
This PR introduces the `genesis balances` subcommand, as outlined in
#1230.
Closes#1230
<details><summary>Contributors' checklist...</summary>
- [x] Added new tests, or not needed, or not feasible
- [x] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [x] Updated the official documentation or not needed
- [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [x] Added references to related issues and PRs
- [x] Provided any useful hints for running manual tests
- [x] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>
Description
Task copied from the master issue: #1203
PR against branch: feat/genesis
The text was updated successfully, but these errors were encountered: