web3-onboard

Client library to onboard users to web3 apps

MIT License

Downloads
95.9K
Stars
844
Committers
174
web3-onboard - Fix Filters Validation

Published by aaronbarnardsound over 2 years ago

This release of the injected wallets package includes a fix to the validation when filtering wallets so that a boolean and string[] type is valid as indicated by the types.

Changelog:

  • web3-onboard:v2.0.2: [fix] - Injected Filters (#874)
web3-onboard - Auto Select Wallet Disable Modals

Published by aaronbarnardsound over 2 years ago

This release adds an enhancement to the auto select wallet flow, allowing for an additional option to disable modals which prevents modals from flashing on screen on a successful auto connect.

const previouslySelectedWallet = window.localStorage.getItem('selectedWalletLabel')

onboard.connectWallet({
  autoSelect: {
    label: previouslyConnectedWallet,
    disableModals: true
  }
})

The original way of calling connectWallet with the autoselect parameter as a string is also still valid and will get converted to the new options object internally.

There are edge cases where a user may have disabled, logged out or revoked access to your app since last session, in which case the usual wallet popups will fire, but no Onboard modals will display and the call to connect wallet may not resolve if the user does not successfully log in.

Changelog:

  • web3-onboard/core:v2.0.9: [enhancement] - Autoselect Disable Modals (#873)
web3-onboard - Bug Fix for ENS Check

Published by aaronbarnardsound over 2 years ago

This release has a small bugfix to ensure that there is a chain rpcUrl before trying to do an ENS lookup.

Changelog:

  • core/v2.0.8: [fix] - Check Before ENS Lookup (#871)
web3-onboard - Update EIP1193 Type

Published by aaronbarnardsound over 2 years ago

This release of the common package update the request type on the EIP1193 provider so that it is compatible with the ethers ExternalProvider type.

Changelog:

  • [fix] - Provider Types (#869)
web3-onboard - Update Common Package

Published by aaronbarnardsound over 2 years ago

This release of the core package updates the common package to include a type fix for the EIP1193Provider.

Changelog:

  • [fix] - Provider Types (#869)
web3-onboard - ENS Fix

Published by aaronbarnardsound over 2 years ago

This release includes two small fixes to the core module.

Changelog:

  • core-v2.0.6: [fix] - Add Avatar to ENS Object (#862)
  • core-v2.0.6: [fix] - Disable Install Wallet Component (#863)
web3-onboard - Wallet Connect RPC Provider Fixes

Published by aaronbarnardsound over 2 years ago

  • Fixes WalletConnect provider so that it can make calls to RPC endpoints that were previously failing.

Changelog:

  • walletconnect-v2.0.1: [fix] - Add RPC Providers (#860)
web3-onboard - Gnosis Module Fixes

Published by aaronbarnardsound over 2 years ago

[gnosis:v2.0.1]

  • Adds check to see if loaded within an iframe. If loaded in an iframe then it is possibly a Gnosis Safe context, so return the Gnosis module, if not, then it cannot be a safe context, so return empty array.
  • Patches eth_requestAccounts method on provider to return safe address
  • Adds error message if Gnosis is selected, but not in a safe context
  • Fixes SafeAppSDK import that was failing in some build environments

[core:v2.0.5]

  • Adds scroll to top functionality for core wallet select modal to ensure that error message is displayed even when scrolled to the bottom of modal

[demo:v2.0.1]

  • Adds Gnosis safe to the demo package
web3-onboard - Version 2: Web3-Onboard 🎉🔥

Published by aaronbarnardsound over 2 years ago

Web3-Onboard is the long awaited full re-write of Onboard that takes everything that we have learned in designing/managing Onboard V1 and implements a new architecture and API. This initial release has feature parity with version 1 along with a bunch of new features. This first release will also serve as a flexible foundation/architecture for the many upcoming features that we have planned.

Features

  • Re-designed UI: New modern UI that is fully customizable via CSS vars.
  • Multiple Chain Support: Your users can now switch between chains/networks with ease. You configure which EVM compatible chains you want to support.
  • Multiple Wallets and Accounts Connection: Your users can now connect multiple wallets and/or multiple accounts within each wallet at the same time.
  • React Hooks: A React Hooks package for slick integration in to React apps.
  • Minimal Dependencies: All wallet dependencies are included in separate packages, so you only include the ones you want to use.
  • Dynamic Imports: Supporting multiple wallets in your app requires a lot of dependencies. Onboard dynamically imports a wallet and dependencies only when the user selects it, so that minimal bandwidth is used.
  • Wallet Provider Standardization: All wallet modules expose a provider that is patched to be compliant with the EIP-1193, EIP-1102, EIP-3085 and EIP-3326 specifications.

Packages with new versions:

Wallet packages with new versions:

1.38.2 Release Contains:

  • 1.38.1-0.0.1 : [update] - walletlink version to 2.5.0 (#835)

  • 1.38.1-0.0.2 : [chore] - change xdefi redirect link to chrome store (#833)

  • 1.38.1-0.0.3: [fix] Detected wallet logic

  • 1.38.1-0.0.4 : [fix] - 1inch wallet (#843)

web3-onboard - New Blocknative Branding!

Published by Adamj1232 over 2 years ago

Update the Blocknative branding with new logos!

Description

  • 1.37.3-0.0.1 : [feature] - Dependabot update
  • 1.37.3-0.0.2 : [update] - Added DID wallet through OS PR
  • 1.37.3-0.0.3 : [update] - Update walletlink package to the latest 2.4.7 with improved error handling for coinbase wallet through OS PR
  • 1.37.3-0.1.0 : [update] - bnc-sdk package to the latest version - 4.1.0 with Fantom Network support!!

In this release we have Support for Tokenary Wallet, Gnosis package update, BlankWallet -> BlockWallet rebrand & update WalletLink Package version

  • 1.37.2-0.0.1 : [feature] - Add Tokenary Wallet (#805)
  • 1.37.2-0.0.2 : [update] - Update Gnosis SDK Packages (#809)
  • 1.37.2-0.0.3 : [update] - BlankWallet -> BlockWallet rebrand changes (#804)
  • 1.37.2-0.0.4 - Update walletlink to 2.4.6 (#812)
web3-onboard - 1inch Wallet Mobile Support and Updates to Walletlink and Walletconnect Packages

Published by Adamj1232 over 2 years ago

This release updates Walletlink version from 2.2.6 -> 2.4.4, update Walletconnect version from 1.6.2 -> 1.7.1 and adds 1inch Wallet Support for Mobile

// 1inch Wallet
{
  walletName: '1inch'
}

Changelog:
1.37.1-0.0.2: [update] - Update Walletconnect dep to 1.7.1 (#775)
1.37.1-0.0.1: [fix] - Add 1inch wallet (#779)
1.37.0-0.0.1: [update] Update Walletlink dep to 2.4.4 (#689)

web3-onboard - 1.37.1

Published by Adamj1232 almost 3 years ago

  • Update version for Walletlink and check for provider both for coinbase wallet
  • Update dev doc for merging in Forked branch
web3-onboard - 🎊 Math Wallet & Ronin Wallet added

Published by taylorjdawson almost 3 years ago

This release adds support for Math Wallet & Ronin Wallet. To add to your project, simply add the following wallet init object to your wallets array when initializing Onboard:

//Math wallet
{
  walletName: 'mathwallet'
},
// Ronin Wallet
{
  walletName: 'ronin'
}

Changelog:
1.36.0-0.1.0: [feature] Add Ronin wallet (#757)
1.36.0-0.1.1: [fix] remove providerName check for XDeFi Wallet (#758)
1.36.0-0.2.1: [feature] Add MathWallet (#689)

web3-onboard - Tally Wallet Added 🙌

Published by taylorjdawson almost 3 years ago

This release adds support for Tally Wallet. To add to your project, simply add the following wallet init object to your wallets array when initializing Onboard:

{
  walletName: 'tally'
}
web3-onboard - 🎉 Fantom Support + Bug Fix 🐛

Published by taylorjdawson almost 3 years ago

This release adds Fantom to the built-in networks such that the correct network will be displayed in the switch network modal. Furthermore the release adds a bug fix for the detected wallet.

Changelog:

  • 1.35.4-0.0.1: Generic provider is injected always when using a custom list (#743)
  • 1.35.4-0.0.2: [chore] Add Fantom networks (#746)
web3-onboard - 🚨 WalletLink Update

Published by taylorjdawson almost 3 years ago

Adds important update to WalletLink that fixes known critical issue: "Error: Unknown Ethereum address" when trying to send a transaction #149.

What's Changed

Full Changelog: https://github.com/blocknative/onboard/compare/1.35.3...1.35.4

web3-onboard - Blank Wallet + Fix: Ledger EIP1559 & Injected Wallet Options

Published by taylorjdawson almost 3 years ago

This release adds Blank wallet. Additionally the release includes 2 important bug fixes. The first is a fix to ledger signing such that it will properly sign EIP1559 transaction. Second, we include a fix to the injected wallet module to remedy the user options being overridden.

What's Changed

  • add blank wallet (#700)
  • 1.35.2-0.0.1: [fix] injected wallet options (#727)
  • 1.35.2-0.0.2: [fix] Fix ledger signing for EIP1559 (#729)

Full Changelog: https://github.com/blocknative/onboard/compare/1.35.2...1.35.3