Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@emurgo/cardano-serialization-lib-browser
Advanced tools
This is a library for serialization & deserialization of data structures used in Cardano's Haskell implementation of Shelley along with useful utility functions.
This is a library for serialization & deserialization of data structures used in Cardano's Haskell implementation of Shelley along with useful utility functions.
Rust is wonderfully portable! You can easily bind to the native Rust library from any common programming language (even C and WebAssembly)!
Serialization/deserialization code is automatically generated from Cardano's official specification, which guarantees it can easily stay up to date! We do this using an EMURGO-written tool called cddl-codegen which can be re-used for other tasks such as automatically generate a Rust library for Cardano metadata specifications!
It is also very easy to create scripts in Rust or WASM to share with stake pools, or even embed inside an online tool! No more crazy cardano-cli bash scripts!
Powerful and flexible enough to be used to power wallets and exchanges! (Yes, it's used in production!)
This library generates both Typescript and Flow type definitions, so it's often easiest to see what is possible by just looking at the types! You can find the Flow types here
You can also look in the example folder to see how to use this library from Typescript or just experiment with the library.
If you are looking for legacy bindings, you can find them at the following:
Here are the location of the original CDDL specifications:
If you need to install Rust, do the following:
curl https://sh.rustup.rs -sSf | sh -s -- -y
echo 'export PATH=$HOME/.cargo/bin/:$PATH' >> $BASH_ENV
rustup install stable
rustup target add wasm32-unknown-unknown --toolchain stable
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
To build this repository, do the following:
git submodule update --init --recursive
nvm use
npm install
npm run rust:build-nodejs
npm run rust:test
npm run js:publish-nodejs
npm run js:publish-browser
FAQs
(De)serialization functions for the Cardano blockchain along with related utility functions
The npm package @emurgo/cardano-serialization-lib-browser receives a total of 21,167 weekly downloads. As such, @emurgo/cardano-serialization-lib-browser popularity was classified as popular.
We found that @emurgo/cardano-serialization-lib-browser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.