New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

blockcrypto

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blockcrypto

Blockchain framework for making your own cryptocurrency in Node.js

latest
Source
npmnpm
Version
4.2.0
Version published
Maintainers
1
Created
Source

BlockCrypto

This is a core blockchain package coded in Javascript which contains business logic for managing a blockchain cryptocurrency. This blockchain implementation closely resembles that of Bitcoin. Much thanks to the many online resources and youtube videos which helped in the making of this package.

Installation

npm install blockcrypto

How it works?

  • Proof of work blockchain

  • Cryptocurrency implementation with mining rewards and mempool (pending transactions)

  • Mining algorithm finds SHA256 hash that is lower than the target hash by modifying the nonce value

  • secp256k1 elliptic curve function used to generate public key

  • utxo used as input and outputs of transactions.

  • address generated from public key by SHA256 and RIPEMD160 algorithms with checksum implemented, represented in a base58 format.

Keywords

blockchain

FAQs

Package last updated on 21 Nov 2022

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