Skip to content

Update goal commands to use new participation key API #2594

@winder

Description

@winder

This was started with #3148

  • goal account installpartkey - Installs a participation key. Changes to use the new API.

  • goal account addpartkey - this command generates keys and then installs them. The install step changes to use the new API.

  • goal account renewpartkeys - Like renew all except for a single account.

  • goal account renewallpartkeys - Generates new participation keys for all accounts. The key lookup command changes to use the status API, and the install step changes to use the add API.

  • goal account listpartkeys

  • partkeyinfo - Returns metadata about keys. Changes to fetch data from the new status API.

  • algokey part hash - helper command to print a participation ID from the participation key data. This algokey change is not strictly necessary for the project, and the intended workflow doesn’t require it either. But it would be easy to implement and may be useful, we should consider adding it.

Acceptance criteria:

  • Update goal cmds to use REST endpoints
  • Add endpoints to lib goal

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions