algorand / algorand/go-algorand

Add 'goal clerk close' subcommand

Aperta
#1,860 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
FDE
Lingua principale
Go
Stelle
1.4k
Fork
537
Merge medio
1g 7h
PR unite (30g)
18

Descrizione

## Summary
The `goal clerk send` command has multiple modes which lead to overly complicated CLI arguments. Specifically, you must always set `amount`, `to`, and `close-to` fields to close an account. In reality `amount` and `to` should be optional.

## Scope/Requirements
We should add a `goal clerk close` subcommand which allows for this simplified workflow. It would have the following flags:
* `close-to` - required, close the account to this address.
* `amount` - optional, defaults to zero.
* `to` - optional, defaults to `close-to`.

## Urgency/Relative Priority
This is not urgent.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.