-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keys without network access #6
Comments
|
|
yes, keystore.getPublicKey and keystore.getPrivateKey here are example keyPath parameter: |
ok. let's try:
prints out |
Add It will be interesting to see ideas in how roles are used.. |
Here is a use-case showing how the roles, keys, and page navigation interact: |
In the |
ok. i've managed to generate keys offline. |
No you don't need this library then.. Have a look at my comment here, please let me know if this helps and I'll see what I can do to document this better.. |
Updated README 02cea2f |
ok. i removed extra dependency. const master = PrivateKey.fromSeed( 'test' )
const childKeys1 = master.getChildKey( 'active/1' )
const publicKey1 = childKeys1.toPublic().toString()
const childKeys2 = ownerPrivate.getChildKey( 'active/2' )
const publicKey2 = childKeys2.toPublic().toString() does is look correct? |
It was designed to go like this: Owner is the parent of all keys including active.. I am not aware of any use-case for owner having another child other than active .. Let me know if you see one.. You might do better with actual permission names instead of 1, 2, 3 .. |
How to generate master key and derived keys without network access?
How to convert keys to corresponding address?
The text was updated successfully, but these errors were encountered: