Does Your Web3 App Support Hardware Wallets?

Blocknative Ethereum Web3

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.

Observe Ethereum

Blocknative's proven & powerful enterprise-grade infrastructure makes it easy for builders and traders to work with mempool data.

Visit ethernow.xyz

Want to keep reading?

Good choice! We have more articles.

how-self-built-blocks-unintentionally-introduce-base-fee-volatility
Gas

How Self-Built Blocks Unintentionally Introduce Base Fee Volatility

Thank You to Toni Wahrstätter, Justin Drake, Barnabé Monnot, Julian Ma and others who contributed..

no-more-decoding-headaches:-announcing-the-blocknative-decoding-api
Developer

No More Decoding Headaches: Announcing The Blocknative Decoding API

For builders working with Layer 2 (L2) solutions, one challenge has consistently slowed development..

blob-inversion:-an-investigation-into-the-june-20th-2024-blob-spike
Gas

Blob Inversion: An Investigation Into the June 20th 2024 Blob Spike

Thank you to all those who provided input and review on this piece, including Julian Ma, Soubhik..

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