
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
A full node implementation of bitcoin-based coins.
Note: This is still heavily under construction. After sitting on my hard drive collecting dust for the last 2 years, I've deciding to get it back into it. The original plan was to be pure JavaScript, however, the lack of a suitable database solution for the blockchain means I will probably use a simple library like LevelDB that, while not pure JavaScript, tends to be highly compatible.
npm install coindjs
The CoinDJs library is carved up into several smaller pieces, as only sub-components may be necessary for many projects.
This is a very simple node, which will connect to a bitcoin node on the current host and dump messages.
var Node = require('./node').Node;
var node = new Node();
node.connect('127.0.0.1', 8333);
node.on('send', function (peer, message) {
console.log('send ', message.command);
});
node.on('message', function(peer, message) {
console.log('message', message);
});
node.on('peerError', function (peer, error) {
console.log('error', error);
});
Obviously, it's all licensed under the MIT license, so use it as you wish; but if you'd like to buy me a coffee, I won't complain. =)
14LqHMgjUvsZqExfun9WxMDqKRzAE8RyRE
D6Boh5yJW5GZgXxBvBDc14abmERqPytXtu
msruGAUef59FYSsmVnAWxrapCKiSvRnj2J
FAQs
Bitcoin full node and library.
The npm package coindjs receives a total of 3 weekly downloads. As such, coindjs popularity was classified as not popular.
We found that coindjs 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.