Socket
Socket
Sign inDemoInstall

@web3-onboard/ledger

Package Overview
Dependencies
Maintainers
2
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web3-onboard/ledger - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1-alpha.1

2

package.json
{
"name": "@web3-onboard/ledger",
"version": "2.4.0",
"version": "2.4.1-alpha.1",
"description": "Ledger hardare 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 javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -7,3 +7,3 @@ # @web3-onboard/ledger

`npm i @web3-onboard/ledger`
`npm i @web3-onboard/core @web3-onboard/ledger`

@@ -13,36 +13,7 @@ ### Options

```typescript
type LedgerOptions = {
customNetwork?: CustomNetwork
}
interface CustomNetwork {
networkId: number
genesis: GenesisBlock
hardforks: Hardfork[]
bootstrapNodes: BootstrapNode[]
}
interface GenesisBlock {
hash: string
timestamp: string | null
gasLimit: number
difficulty: number
nonce: string
extraData: string
stateRoot: string
}
interface Hardfork {
name: string
block: number | null
}
interface BootstrapNode {
ip: string
port: number | string
network?: string
interface LedgerOptions {
chainId?: number
id: string
location: string
comment: string
bridge?: string
infuraId?: string
rpc?: { [chainId: number]: string }
}

@@ -79,3 +50,3 @@ ```

const ledger = ledgerModule({ filter: ['Safari'] })
const ledger = ledgerModule()

@@ -82,0 +53,0 @@ const onboard = Onboard({

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