Socket
Socket
Sign inDemoInstall

@ambire/login-sdk-web3-react

Package Overview
Dependencies
48
Maintainers
5
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ambire/login-sdk-web3-react

Ambire Wallet Login SDK web3-react module


Version published
Weekly downloads
1
decreased by-50%
Maintainers
5
Install size
4.33 MB
Created
Weekly downloads
 

Readme

Source

@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)
)

FAQs

Last updated on 11 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc