How to Rekey a Xahau account
How to rekey a Xahau account
Concept and Implementation
The XRP Ledger allows an account to authorize a secondary key pair, called a regular key pair, to sign transactions on behalf of another account.
It is often used to protect an account by securing the master key and using the regular key in its place. This has multiple advantages;
The primary account is safer because the master key does not need to be generally available
The regular key account does not need to be activated so has no value in and of itself
The regular key can be removed or swapped out as needed
Example
A good example of how this works would be to look at the recommended configuration of a pair of Xaman (Tangem) cards.
In this case, you have a Primary account on one card and you have a Signing account on another card.
When you run the Tangem Backup xApp, it creates a "link" between the two accounts which is called a 'regular key pair'. It connects the Primary account to the Signing account which allows you to sign transactions on the Primary account using the Signing account.
The following steps explain how to manually configure a regular key pair between two Xahau accounts.
Step 1: Make sure you have a Primary account
The Primary account must be imported into Xaman (formerly Xumm) with Full access. (You must be able to sign transactions on this account.)
This is the account that will have your XAH.
Step 2: Make sure you have a Signing account
The Signing account must be imported into Xaman with Full access. (You must be able to sign transactions on this account.)
This account does not need to contain XAH and does not even need to be activated. As long as you have full access to the account, it can be used to sign transactions on the Primary account.
Step 3: How to set a Regular Key Pair
Once you have completed the following steps, you will be able to sign transactions on your Primary account using both your Primary account and your Signing account.
1) Launch Xaman and switch networks to ensure you are connected to Xahau.
2) Switch accounts to your Signing account.
3) Press the Request button then press the Copy button.
4) Switch accounts to your Primary account and go to Xahau Services.
6) On the Xahau Services page, select Set Regular Key
7) In the field below, paste the r-address for the Signing account, then press the Send Set Regular Key to Xaman button.
8) Sign the transaction in Xaman and you're all done!
Last updated