Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@aguycalled/electrum-client-js
Advanced tools
JavaScript implementation of Electrum Protocol Client.
This is a library that can communicate with the ElectrumX Server
on tcp
, ssl
, ws
and wss
protocols.
Works in node.js and browser.
Implements methods described in Electrum Protocol methods documentation.
Subscriptions and notifications are also supported, please see example.
Latest CircleCI build status:
npm install --save @keep-network/electrum-client-js
const ElectrumClient = require('@keep-network/electrum-client-js')
async function main() {
const client = new ElectrumClient(
'fortress.qtornado.com',
50002,
'ssl'
)
try {
await client.connect(
'electrum-client-js', // optional client name
'1.4.2' // optional protocol version
)
const header = await client.blockchain_headers_subscribe()
console.log('Current header:', header)
await client.close()
} catch (err) {
console.error(err)
}
}
main()
See more examples.
FAQs
Electrum protocol client for node.js and browser
We found that @aguycalled/electrum-client-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.