@ambire/login-sdk-web3-react
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

@ambire/login-sdk-web3-react

A module for integrating Ambire Wallet Login for dApps using web3-react.

Install

npm install @ambire/login-sdk-web3-react

Usage

import { initializeConnector } from '@web3-react/core'
import { AmbireConnector } from '@ambire/login-sdk-web3-react'

const sdkOptions = {
  dappName: 'Your dApp name',
  dappIconPath: '<url-to-dApp-icon>',       // optional, but needed for dApp icon to be shown in Ambire Login modal
}

const [ambireConnector, ambireConnectHooks] = initializeConnector<AmbireConnector>(
  (actions) => new AmbireConnector(actions, sdkOptions, onErrorFunction)
)

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.61latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.61
0.1.51
0.1.41
0.1.31
0.1.21
0.1.11
0.1.01
0.0.221
0.0.211

Package Sidebar

Install

npm i @ambire/login-sdk-web3-react

Weekly Downloads

9

Version

0.1.6

License

MIT

Unpacked Size

53.9 kB

Total Files

12

Last publish

Collaborators

  • superkalo
  • gergana95
  • cmihaylov_dev
  • borislav.itskov
  • 0xdex18
  • 0xstojnovsky
  • ivogeorgiev