@web3-onboard/blocto

Blocto SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern
1,742 922
Install
npm install @web3-onboard/blocto
Latest Version:2.1.1
License:MIT
Last Updated:May 28, 2026
Links: GitHub  ·  npm
Maintainer: jake-thirdweb

@web3-onboard/blocto

Wallet module for connecting Blocto SDK to web3-onboard

See Blocto Developer Docs

Install

npm i @web3-onboard/blocto

Usage

import Onboard from '@web3-onboard/core'
import bloctoModule from '@web3-onboard/blocto'

// initialize the module with options
const blocto = bloctoModule()

const onboard = Onboard({
  // ... other Onboard options
  wallets: [
    blocto
    //... other wallets
  ]
})

const connectedWallets = await onboard.connectWallet()
console.log(connectedWallets)

Build Environments

For build env configurations and setups please see the Build Env section here

Webpack 4

Node built-ins are automatically bundled in v4 so that portion is handled automatically.

Blocto support will require a Babel to compile from es6 if not already supported. See config for Babel and Webpack4 as follows

npm i --save-dev @babel/cli @babel/core @babel/node @babel/plugin-proposal-nullish-coalescing-operator @babel/plugin-proposal-optional-chaining @babel/plugin-syntax-bigint @babel/register

AND

npm i babel-loader

babel.config.js

module.exports = api => {
  api.cache(true)

  const plugins = [
    '@babel/plugin-proposal-optional-chaining',

    '@babel/plugin-proposal-nullish-coalescing-operator',

    '@babel/plugin-syntax-bigint'
  ]

  return { plugins }
}

webpack.config.js

config.module.rules = [
  ...otherModuleRules,

  {
    test: /\.js$/,

    exclude: _ => !/node_modules\/(@web3auth|@ethereumjs)/.test(_),

    loader: 'babel-loader'
  }
]

Related Packages

@web3-onboard/tallyho

(DEPRECATED. Use @web3-onboard/taho instead) Tally Ho (now named Taho Wallet) SD...

8,873 922
@0xzoz/tallyho

Tally Ho SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it...

632 922
@web3-onboard/walletconnect

WalletConnect SDK module for connecting to Web3-Onboard. Web3-Onboard makes it s...

340,306 922
@web3-onboard/hw-common

Web3-Onboard makes it simple to connect Ethereum hardware and software wallets t...

161,695 922
@web3-onboard/ledger

Ledger hardware wallet module for connecting to Web3-Onboard. Web3-Onboard makes...

83,146 922

Version History

Version Released License
2.1.1 MIT
2.1.0 MIT
2.0.1 MIT
2.0.0 MIT
Pre-releases (6)
Version Released License
2.1.0-alpha.2 MIT
2.1.0-wagmi.2 MIT
2.1.0-wagmi.1 MIT
2.1.0-viem.1 MIT
2.0.1-alpha.1 MIT