Skip to main content

Ledger hardware wallet



Recently, PlatON has initially integrated Ledger hardware wallet (currently in developer mode for the time being), and will subsequently provide hardware wallet services to a wide range of PlatON users.Ledger, one of the most popular hardware wallets on the market today, provides the highest level of security and reliability for PlatON’s network assets through a state-of-the-art security chip that holds private keys.
Samurai, PlatON’s open-source web browser plug-in wallet, has completed support for the Lager hardware wallet, providing users with a more secure way to store and use their assets.
- Authentication and authorization of transactions
- Provide a cold storage option for creating wallets and storing private keys offline

By using the Ledger hardware wallet to store private keys and sign transactions, the private keys will not come into contact with your software wallet, making the transaction signing process more secure and simple.
Note: The ATON mobile wallet will also support the Ledger hardware wallet in the future, so stay tuned!

This article will guide you through the process of configuring the Ledger hardware wallet and signing Samurai transactions using the Ledger Nano hardware wallet.Here are the details of the process.

Prepare the environment for Ledger Hardware Wallets#

Initialization and program installation#



Ledger hardware wallets, Ledger Live Desktop, Samurai Wallet;

[Ledger Nano S and Ledger Nano X are operated basically in the same way. Here we take Ledger Nano X as an example]

Ledger hardware wallet initialization#



[Operation instructions: press the black and white buttons respectively to switch between options. Press the black and white buttons at the same time to confirm]
① Set the PIN identification code: Long press the black button to start the Ledger hardware wallet, enter and confirm the PIN identification code setting, as shown in Figure 1.1.1;

Figure1.1.1


② Between the two options, [Set up as new device] and [Restore from Recovery phrase], here we choose Restore from Recovery phrase (mnemonic phrase), as shown in Figure 1.1.2;

Figure1.1.2

③ In the recovery phrase (mnemonic phrase), the PlatON network can generate multiple types of mnemonic phrases. To facilitate ATON HD Wallet to import mnemonic phrase, here we choose [12 words], as shown in Figure 1.1.3;

Figure1.1.3


Or we can choose 24 words to restore from the recovery phrase self-generated by Ledger. Enter the Ledger hardware wallet after creating/recovering the phrase, as shown in Figure 1.1.4;You need to install Ledger hardware wallet in Ledger Live Desktop.

Figure1.1.4


Note: Ledger and ATON mnemonics are not compatible with Samurai mnemonics, please use your wallet private key to import each other.

Prepare the environment for Ledger Live Desktop#



Download Ledger Live and install it locally; download link:
https://www.ledger.com/ledger-live/download
Steps of operation and installation are as shown in Figures 1.1.5 and 1.1.6.

Figure1.1.5


Figure1.1.6

To prepare the environment for Samurai Wallet#



① Download and unpack Samurai Wallet from
https://github.com/AlayaNetwork/Samurai/releases
as shown in Figure 1.1.7;

Figure1.1.7


② Open the Chrome browser, enter chrome://extensions/ in the address bar and press Enter to enter the page of Extensions. [Activate] developer mode, select [Load unpacked], import the directory where the Samurai plug-in wallet is unpacked, as shown in Figures 1.1.8.

Figure1.1.8

Install PlatON hardware Drivers (Method 1)#



Use Ledger Live Desktop to add [PlatON] to the Ledger hardware wallet

1) Open Ledger Live Desktop and select the corresponding Ledger hardware device, as shown in Figure 1.2.1. You need to set the PIN identification code for the first use, and the previously set options are directly synchronized to the application;

Figure1.2.1


2)To connect to the desktop program for pairing, you need to enter the PIN identification code, and authorize the pairing, as shown in Figure 1.2.2;

Figure1.2.2


3)Download and install the PlatON application in Ledger Live Desktop: Since the PlatON application has not been officially launched on Ledger Live, it is currently in a beta phase for professional enthusiasts/community members. So you need to manually activate the developer mode before you can search [PlatON]. Large transactions are not suggested in the current testing phase;
① Enter Ledger Live Desktop, and activate the developer mode in the settings, as shown in Figure 1.2.3;

Figure1.2.3


② Then find and install [PlatON] in Manager, as shown in Figure 1.2.4. After that, we need Samurai/MetaMask;

Figure1.2.4

Install PlatON hardware Drivers (Method 2)#



Adding the [PlatON] hardware driver to the Ledger Hardware Wallet — Use the Ledger live App pairing to add the [PlatON] app to the Ledger Hardware Wallet.

1)Open the Ledger Live app and select the corresponding Ledger hardware device, as shown in Figure 1.3.1. You need to set the PIN identification code for the first use, and the previously set options are directly synchronized to the application;

Figure1.3.1


2)It is necessary to pair the Ledger hardware wallet with the Ledger Live app, as shown in Figure 1.3.1.1;

Figure1.3.1.1


You need to confirm the pairing on both your Ledger hardware wallet and the Ledger Live app, as shown in Figures 1.3.2, 1.3.3, and 1.3.4.;

Figure1.3.2


Figure1.3.3


Figure1.3.4


Pairing can be successful only after confirmation, as shown in Figure 1.3.5.;

Figure1.3.5

Before pairing, you need to make sure that the Ledger hardware wallet is unlocked and Bluetooth is turned on. Under normal circumstances, the Ledger hardware wallet remains unlocked, without the need of manual setting. Here is a precondition: the setting prescribed in [1.1] has been completed.

3)In the Ledger Live app, add [PlatON] to the Ledger hardware wallet:
Portfolio page: Tap [Settings] in the upper right corner, as shown in Figure 1.3.6. Select [Experimental Function], and activate [Developer mode], as shown in Figure 1.3.7;

Figure1.3.6


Figure1.3.7


Manager page: Select your Ledger hardware wallet device, and open the application catalog, as shown in Figure 1.3.8. Find and download [PlatON], as shown in Figure 1.3.9. After that, we need Samurai/MetaMask;

Figure1.3.8


Figure1.3.9


Use the Ledger hardware wallet signature to complete the transaction#


[Samurai Wallet and MetaMask Wallet are operated basically in the same way. Here we take Samurai Wallet as an example]

Select PlatON hardware driver application#



Prerequisites: Prepare the environment stated in the above [1.]; then the Ledger hardware wallet needs to enter the PlatON application, till it reads [application is ready], as shown in Figure 2.1.1;

Figure2.1.1


Samurai pair and unlock Ledger hardware wallet#



Create an account randomly with Samurai, enter the main page of Samurai Wallet, and select [Link Hardware Wallet] to pair, as shown in Figure 2.2.1; after the link is successfully paired, select the account to unlock the hardware wallet, as shown in Figure 2.2.2;

Figure2.2.1


Figure2.2.2


Ledger hardware wallet completes signature transfer transaction#



Now that Samurai reads and enters the hardware wallet page, you can send the transfer, as shown in Figure 2.3.1. The Ledger hardware wallet receives the signature and confirms it, as shown in Figures 2.3.2 and 2.3.3. After confirmation, the transfer is completed, as shown in Figure 2.3.4;

Figure2.3.1


Figure2.3.2


Figure2.3.3


Figure2.3.4


Change PIN identification code and reset Ledger hardware wallet#

Change the PIN identification code in the Ledger hardware wallet#



Press and hold the black and white buttons at the same time for 3 seconds, select [Setting Manage device], as shown in Figure 3.1.1. Select [Security], as shown in Figure 3.1.2. Select [Change PIN] as shown in Figure 3.1.3. Finally, set a new PIN identification code.

Figure3.1.1


Figure3.1.2


Figure3.1.3


Reset Ledger hardware wallet#



Press and hold the black and white buttons at the same time for 3 seconds, and select [Setting Manage device], as shown in Figure 3.1.1. Select [Security], as shown in Figure 3.1.2. Select [Reset device] as shown in Figure 3.2.1. To reset, select [Restore from Recovery phrase] (mnemonic phrase) as shown in Figure 1.1.2.

Figure3.2.1


Tip#



When the Ledger hardware wallet enters the PlatON application, if it is [Pending] without displaying [application is ready], as shown in Figure 4.1.1, you need to unplug the USB and plug it in again or restart it to re-enter the application, until you see [application is ready], as shown in Figure 4.1.2.

Figure4.1.1


Figure4.1.2