Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@emurgo/js-chain-libs
Advanced tools
WebAssembly library with Javascript bindings to the new chain libraries.
This library can be used to do things like: create addresses, transactions and certificates, an encode them to be able to post to a node. It can also be used to parse the data fetched from a node (such as blocks). A possible use-case is for building explorers and wallets in javascript, either in the browser or in nodejs, making possible to build engaging blockchain apps with good user interfaces with the same low level primitives already used in the rust node.
npm i --save js-chain-libs
Make sure to update the submodule:
git submodule init
git submodule update
Build with:
wasm-pack build
Creating an npm module:
wasm-pack pack
Check the wallet example to see how to use this bindings in electron
Check the example faucet to see how to use this bindings in node.
Run the tests with
wasm-pack test --headless --chrome
Bundle javascript tests to run in browser
npm run serve
Go to http://127.0.0.1:8080/
to see the results.
Run npm run doc
on this repository to generate the jsdoc documentation from the build,the actual files are generated in the docs
directory.
FAQs
Jörmungandr library, wallet and stake pool management.
We found that @emurgo/js-chain-libs 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.