Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@edgeandnode/wallet

Package Overview
Dependencies
Maintainers
21
Versions
855
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edgeandnode/wallet

Wallet utils and related components

  • 11.52.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
357
increased by106.36%
Maintainers
21
Weekly downloads
 
Created
Source

E&N Wallet

Reusable React component for connecting to web3 wallets

Test coverage

Coverage lines Coverage functions Coverage branches Coverage statements

Usage

SigninModal and Context

import { SigninModal, useWallet } from '@edgeandnode/wallet'

const App = () => {
  const { address, setIsModalOpen } = useWallet()
  return (
    <div>
      Wallet address: { address }
      <button onClick={() => { setIsModalOpen(true) }}>
        Connect
      </button>
      <SigninModal headerImage="link/to/image.png" />
    </div>
  )
}

Context Provider

<WalletContextProvider infuraId={process.env.INFURA_KEY}>
  <App />
</WalletContextProvider>

FAQs

Package last updated on 24 Sep 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc