Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
nanocurrency
Advanced tools
A toolkit for the Nano cryptocurrency, allowing you to derive keys, generate seeds, hashes, signatures, proofs of work and blocks.
A battle-tested toolkit for the Nano cryptocurrency.
If you are looking for legacy blocks, you will want the ^1.0.0
versions.
The documentation is available locally in docs/
or online at https://marvinroger.github.io/nanocurrency-js/packages/nanocurrency/docs/.
To install the library:
npm install nanocurrency
# or yarn add nanocurrency
import * as nanocurrency from 'nanocurrency'
You might be wondering how fast is the work generation. There's a pow-benchmark
example in the examples/
directory.
On an Intel Core i7-8550U CPU, with 100 iterations, the average computation time is 18.5s per work.
Considering you can pre-compute and cache the work prior to an actual transaction, this should be satisfying for a smooth user experience.
Contributions are very welcome. To develop, make use of the following commands (using Yarn):
yarn build:dev
: build the C++ code to WebAssembly and bundle the files into the dist/
directory, without optimization so that it is fast while developing. Note that you'll need to have Docker installed
yarn test
: test the code
yarn lint
: lint the code against JavaScript Standard Style
yarn generate-docs
: generate the docs/
website from the JSDoc annotations
If you like the project, feel free to donate some nano:
xrb_3mrogerjhkdyj6mzf4e7aatf3xs3gp4stwc9yt9ymgasw7kr7g17t4jwwwy8
FAQs
A toolkit for the Nano cryptocurrency, allowing you to derive keys, generate seeds, hashes, signatures, proofs of work and blocks.
The npm package nanocurrency receives a total of 119 weekly downloads. As such, nanocurrency popularity was classified as not popular.
We found that nanocurrency 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.