Closed jimpick closed 1 year ago
Notes from call:
Flow for migration:
Other notes:
agent.toml
should store the selected wallet type path
as well so we remember which account they usedBug:
glif wallet list
should return the requester key (should be fixed once the requester key gets moved into the keystore)Testing:
I merged in the autopilot with pull funds code, and converted it to use the new wallet code. Tested and it is working.
When creating new keys with
glif wallet new
, the user will be prompted for a passphrase for the owner key.By default, the operator key is created with an empty passphrase, but it can be changed using
glif wallet change-passphrase <address>
.Whenever a signature is needed, and a passphrase is required, the user will be prompted.
If a passphrase is set to empty, then the passphrase prompt is skipped.
For automation, the environment variables
GLIF_OWNER_PASSPHRASE
andGLIF_OPERATOR_PASSPHRASE
can be set to provide values instead of using the interactive prompts.Legacy private keys for the owner and operator in
keys.toml
will be automatically migrated to the new go-ethereum based keystore.TODO: User facing documention needs updating.
Ledger support will come in a separate PR.