Saltar al contenido principal

Interact with Ledger on Astar EVM using MetaMask

Introduction

Ledger devices can be used on Astar EVM Network to perform and sign transactions using the Ledger default Ethereum application.
This means that MetaMask users can now sign transactions for EVM accounts on Astar Network using Ledger Nano S (plus) or Ledger X devices.

This guide will show you how to set up Astar EVM on your Ledger hardware wallet and how to use it in combination with MetaMask.

info

Photos are taken using Nano S Plus device, and the example shows interaction with Ethereum app, but the process is the same with Nano S and Nano X devices.

Requirements

Your Ledger device is ready for use

Astar Network set up on Metamask

If you already have this, feel free to skip this part.

  1. In the MetaMask menu, navigate to SettingsNetworks, and click Add a network;
  2. Enter following details:
Public endpoint Astar
Network nameAstar Network
New RPC URLAstar Team: https://evm.astar.network
BlastAPI: https://astar.public.blastapi.io
Dwellir: https://astar-rpc.dwellir.com
OnFinality: https://astar.api.onfinality.io/public
Chain ID592
Currency symbolASTR
Block Explorer URLhttps://astar.blockscout.com/

  1. Close the Settings menu and, from the drop-down menu, select the network you wish to interact with.

Install Ethereum app to your Ledger device

  1. Open My Ledger in Ledger Live.
  2. Connect and unlock your Ledger device. If asked, allow My Ledger to access your device.
  3. Search for Ethereum in the app catalog.
  4. Click Install.


After this step, you should have the Ethereum app installed:



Connecting your Ledger device to MetaMask

  1. In MetaMask menu, select Connect Hardware wallet;


  1. On the next screen select Ledger and click Continue;


  1. Pair and Connect your Device when prompted by the browser;


  1. Select an account you wish to connect and click Unlock;


  1. You should now see your account and balance:


Receiving tokens

To receive tokens, copy the address of your connected account by clicking your account name in MetaMask header, and send some tokens to that address from your preferred source.

Sending tokens

  1. In MetaMask, click Send button and enter the address you wish to send to;
  2. Enter the amount to send and click Next;
  3. Connect your Ledger device and unlock it;


  1. When your Ledger device screen is showing Application is ready, click Confirm in MetaMask;


  1. Review the transaction on your Ledger device;


a) Check amount:



b) Check receiving address:



c) Check network:



d) Check Fees:







  1. Check the transaction result in MetaMask Activity tab.

Interacting with smart contracts

In order to interact with smart contracts, you need to enable blind signing in the Astar EVM app on your Ledger device:

  1. Open the app;
  2. Navigate to Settings and Confirm;
  3. Confirm the Blind signing option, so it turns to Enabled;
  4. Navigate to Back and Confirm.