urbit / urbit-key-generation

Key derivation and HD wallet generation functions for Urbit
MIT License
15 stars 8 forks source link

Add generator metadata to wallets #51

Closed jtobin closed 5 years ago

jtobin commented 5 years ago

(Resolves #48.)

Adds a 'meta' object to wallets that includes information on the utility used to generate it.

(This metadata field should probably be added to the wallet spec -- implementations should be expected to include their metadata in the 'generator' field, e.g. 'arvo-keygen-someversion'.)

g-a-v-i-n commented 5 years ago

This is not important now, but in the future versions of this lib, I think we should add more metadata to the output of generateWallet. This would be useful for any downstream consumer of this data, like PaperCollateralRenderer. I can think of the following additions now:

Some of these may be per-wallet, others obviously per-seed.