How to use Ledger on Partisia Blockchain
Ledger is a hardware wallet that is considered one of the most secure ways to store your digital assets. Ledger uses an offline, or cold storage, method of generating private keys. Ledger is integrated with our block explorer (Browser).
Install the Partisia Blockchain app on your Ledger device to sign transactions and manage MPC tokens with the Partisia Blockchain Browser. The Partisia Blockchain app is developed and supported by the Partisia Blockchain Foundation.
Requirements: What's needed before starting
- You've initialized your Ledger hardware wallet.
- The latest firmware is installed.
- Ledger Live is ready to use.
Install Partisia Blockchain App on Ledger device
- Open My Ledger in Ledger Live.
- Connect and unlock your Ledger device.
- If asked, allow My Ledger to access your device.
- Find Partisia Blockchain in the app catalog.
- Click the Install button of the app.
- Follow the onscreen instructions on the Ledger device.
How to connect the Ledger device with Partisia Blockchain Browser?
To connect your device with the Browser you need to have gone through all steps in the above guide.
-
Enter the pin on your Ledger device
-
Choose Partisia Blockchain in the Choose app setting
-
App is now ready on the Ledger and Ledger can now login using the Browser
-
In the top right corner of the Browser you can click Sign In this gives you a menu where you can click Sign in using Ledger
-
You can now see a quick loading screen coming up where it signs you into your Partisia Blockchain Browser with the Ledger device.
In the top right corner of browser you can copy and see the PBC address of your Ledger. You can also visit the account page to get more detailed viewing of the accounts balance.
How to receive crypto assets using Ledger
To receive crypto assets you need to save the address of the ledger. This needs to be the receiving end of a MPC transfer for Ledger to get assets on the blockchain.
- Connect your ledger account with Partisia Blockchain Browser.
- In your account find the PBC address of your ledger.
- Share your PBC address to receive crypto assets on your ledger device.
How to send crypto assets using Ledger
After connecting with browser you are now ready to start moving assets around using the Ledger.
-
Go to the Your account where you can press the transfer button to send MPC tokens. You need to fill out the receiving address and the amount of MPC tokens you want to send.
-
After sending the transaction to transfer MPC tokens, you can see that the Browser waits for approval on the Ledger
-
Review the MPC transfer on the Ledger device by pressing the right button on your Ledger Device and review the different transaction details.
The review consists of:
-
Are you using the correct chain? Ledger will show which chain you are using: "Partisia Blockchain mainnet" or "Partisia Blockchain testnet".
-
Are you using the correct arguments? Its important that you verify the receiving addresses on the device as to ensure you are doing the transaction you wanted with the amount you wanted to transfer.
-
If you cannot verify the address of the amount you can reject the transaction on the Ledger.
-
-
Accept the amount of gas the transaction costs.
-
If you want to approve after the review you should click on Approve on the device. Alternatively you should click Reject.
-
After approval, you can see that the Browser finishes the transaction and the transfer is complete.
How to send blind signed transactions?
If you want to use Ledger to sign all possible transactions on Partisia Blockchain, you need to enable blind signing on your device. This guide will teach you how to enable blind signing on your ledger device and how to do an ETH token transfer to another address on PBC with a blind signed transaction.
-
Go to settings on your Ledger device
-
Default for Ledger is that blind signing is disabled.
-
To enable blind signing click on the right button for enabling blind signing on the Ledger device.
This setting update changes how Ledger signs transactions on Partisia Blockchain. The following steps shows how a blind signed transaction looks like.
-
After signing into browser with the Ledger device, we go to the ETH token contract where you can transfer ETH tokens. You need to fill out the receiving address and the amount of ETH tokens you want to send to another address on Partisia Blockchain.
Remember the amount of ETH tokens needs to have 18 decimals behind, e.g. if you want to transfer 10 ETH BYOC Tokens you would type: 10000000000000000000 in the transfer action.
-
After sending the transaction to transfer tokens, you can see that the Browser waits for approval on the Ledger
-
We now need to review the transaction on the Ledger
-
Ledger gives a warning on the device because of the blind signing. Ledger asks if you trust the content of the RPC sent on chain.
-
In this review stage of using the ledger we need to verify that it is the right contract we are using. Its always important to rigorously review that the available information is correct when blind signing a transaction with Ledger.
-
We need to accept the fee payment
-
If you want to approve after the review you should click on Approve on the device. Alternatively you should click Reject.
-
After approval, you can see that the Browser finishes the transaction and the transfer is complete.
If you need help in any of the above explained steps, you should go to the community Discord where you are able to create support tickets and get help from the Partisia Blockchain community.
If you want to integrate Ledger with your dApp we urge you to reach out in the dev-chat on Discord.