Does Your Web3 App Support Hardware Wallets?

Blocknative Ethereum Web3

ℹ️ Web3Onboard has joined the thirdweb family, please contact them for any support questions.

Hardware wallets — such as Ledger and Trezor — are popular among crypto whales and traders. They provide an additional safeguard for digital assets. But that extra layer of protection presents a challenge for Web3 developers — as hardware wallets do not have any built-in user interface for selecting, viewing, and switching accounts or networks. 

Before now, if you wanted your product to support hardware wallets, you had to build a custom user interface from scratch. This takes serious time and effort.

Thankfully, those days are gone!

We are excited to introduce the latest update to Onboard.js — Blocknative’s open-source user onboarding framework. A new hardware wallet module makes it easy to add support for hardware wallets via your web3 application's connect wallet button.

Now any Ethereum project that requires hardware wallet support can easily deploy this functionality.

What are Hierarchical Wallets?

Hardware wallets like Ledger and Trezor are designed to support multiple blockchains and networks. They do this using hierarchical deterministic (HD) keys, which allow any number of addresses to be derived using a single seed phrase. Hardware wallets are HD wallets.

Onboard.js uses the most common practices for HD wallets to automatically derive Ethereum addresses. This means your users do not need to understand derivation paths and BIP32/BIP44 standards. They simply select the address, or balance, they want to use.

Screen Shot 2020-03-12 at 3.54.13 PM

Users Simply Select The Wallet Or Balance They Wish To Use

This easy to use interface makes it easier to transact. And you can begin using this functionality today with just a few lines of code. 

Easily Integrate Hardware Wallet Support

Developers can quickly get started with Onboard. You can configure Onboard to support hardware wallets by adding the following wallet details to the configuration object:  

Screen Shot 2020-03-09 at 2.46.15 PM

Once installed, users will be able to select either Ledger or Trezor as a wallet. When a user selects that, Onboard will display a wallet check module that directs users to: 

  • plug in their hardware wallet
  • unlock it via the pin code,
  • select their account,
  • have the Ethereum app open on their device
  • wait while Onboard loads their accounts 

That's it. With just a few lines of code, you can easily support hardware wallets (as well as all the best web3 wallets) in your project.

Gas Extension

Blocknative's proven & powerful Gas API is available in a browser extension to help you quickly and accurately price transactions on 20+ chains.

Download the Extension

Want to keep reading?

Good choice! We have more articles.

tl;dr-on-gas-network-⛽
Gas

TL;DR on Gas Network ⛽

Gas Network is a decentralized oracle network that brings gas prices onchain—securely,..

exploring-the-gas-network-community-dashboard
Gas

Exploring the Gas Network Community Dashboard

The Gas Network Community Dashboard A Cross Chain Fee Analysis Tool The blockchain ecosystem has..

optimizing-uniswap-v4-swap-fees-with-gas-network
Gas

Optimizing Uniswap V4 Swap Fees With Gas Network

Optimizing Uniswap V4 Swap Fees With Gas Network This was originally published on the Gas Network..

Connect with us. Build with us.

We love to connect with teams who are building with Blocknative. Tell us about your team and what you would like to learn.

"After first building our own infrastructure, we appreciate that mempool management is a difficult, expensive problem to solve at scale. That's why we partner with Blocknative to power the transaction notifications in our next-generation wallet."

Schedule a demo