Security News
npm Updates Search Experience with New Objective Sorting Options
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
airgap-coin-lib
Advanced tools
The airgap-coin-lib is setup in a way that prepare, signing and broadcasting are willingfully separated.
The airgap-coin-lib
is a protocol-agnostic library that allows easy handling of the most important tasks relating cryptocurrencies and blockchains.
It implements operations such as preparing, signing and broadcasting transactions for a range of protocols.
The library consists of a shared interface for all implements protocols. This is especially useful in the context of AirGap. The following operations are specified:
The modular design used in this library allows you to simply add new protocols with special logic. Adding a new Bitcoin-like protocol basically means:
src/networks.ts
)Adding a new Ethereum-like protocol means:
Currently supported are:
The way the interface was designed is to allow stateless calls. This means the class itself stores very little state itself. All required input comes from the method params (public key, extended public key, etc...)
Currently we support for Bitcoin-like protocols:
Currently we support for Ethereum-like protocols:
Such that the system works we need to be able to synchronise wallets. A wallet can be:
For the single address wallet we only need to share the public key. For HD Wallet we need to share the extended public key.
npm >= 5
NodeJS >= 8
Everything else gets installed automatically using npm install
.
$ git clone https://github.com/airgap-it/airgap-coin-lib.git
$ cd airgap-coin-lib
$ npm install
$ npm test
FAQs
The airgap-coin-lib is a protocol agnostic library to prepare, sign and broadcast cryptocurrency transactions.
The npm package airgap-coin-lib receives a total of 51 weekly downloads. As such, airgap-coin-lib popularity was classified as not popular.
We found that airgap-coin-lib demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.