I propose a new design implementation of Rooch address mapped keyring, implementing from current built-in schemes to an unanimous address generated from Ed25519 crypto scheme, i.e. Rooch address from the first key pair and auth key in Ed25519.
Design outlined as below:
Implementation in an interactive language:
Init an initial key pair and auth key from an Ed25519 crypto scheme.
rooch init
Creating config file ["/Users/system/.rooch/rooch_config/rooch.yaml"] with default server and ed25519 crypto scheme.
Generated new keypair for address with scheme "ed25519" [0xcdae48e2a4cb5f0062a7467f8c6d244e102dc0adfc5736332b81e0354b24ca46]
Secret Recovery Phrase : [claim sibling public noble banana change hip capable dwarf visa riot adult]
StoreConfig init store dir "/Users/system/.rooch/roochdb/rooch_store" "/Users/system/.rooch/roochdb/moveos_store"
"Rooch config file generated at /Users/system/.rooch/rooch_config/rooch.yaml"
Update the address with the same mnemonic phrase generated from step 1 and an ECDSA crypto scheme to add ECDSA key pair and auth key to the address.
rooch account update -a 0xcdae48e2a4cb5f0062a7467f8c6d244e102dc0adfc5736332b81e0354b24ca46 -s ecdsa "claim sibling public noble banana change hip capable dwarf visa riot adult"
"claim sibling public noble banana change hip capable dwarf visa riot adult"
0xcdae48e2a4cb5f0062a7467f8c6d244e102dc0adfc5736332b81e0354b24ca46
Generated a new keypair for an existing address on scheme "ecdsa" [0xcdae48e2a4cb5f0062a7467f8c6d244e102dc0adfc5736332b81e0354b24ca46]
Update the address with the same mnemonic phrase generated from step 1 and a Schnorr crypto scheme to add Schnorr key pair and auth key to the address.
rooch account update -a 0xcdae48e2a4cb5f0062a7467f8c6d244e102dc0adfc5736332b81e0354b24ca46 -s schnorr "claim sibling public noble banana change hip capable dwarf visa riot adult"
"claim sibling public noble banana change hip capable dwarf visa riot adult"
0xcdae48e2a4cb5f0062a7467f8c6d244e102dc0adfc5736332b81e0354b24ca46
Generated a new keypair for an existing address on scheme "schnorr" [0xcdae48e2a4cb5f0062a7467f8c6d244e102dc0adfc5736332b81e0354b24ca46]
I propose a new design implementation of Rooch address mapped keyring, implementing from current built-in schemes to an unanimous address generated from Ed25519 crypto scheme, i.e. Rooch address from the first key pair and auth key in Ed25519.
Design outlined as below:
Implementation in an interactive language:
Final result of the accounts in a wallet:
Tha wallet contains 3 different crypto schemes: Ed25519, ECDSA and Schnorr.
Tasks divided to achieve the designed goal:
548
556
557
574
577
595
599