
Security News
Node.js Homepage Adds Paid Support Link, Prompting Contributor Pushback
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
@sidan-lab/whisky-js-nodejs
Advanced tools
Wrapper around the cardano-serialization-lib for easier transaction building, heavily inspired by cardano-cli APIs
Whisky is an open-source Cardano Rust SDK, containing following modules:
whisky
- The core Rust crate supporting Cardano DApp development in Rust.whisky-common
- Serving universal types and utilities.whisky-csl
- The crate to implement most cardano-serialization-lib
wrapper.whisky-provider
- The crate to connect external services like blockfrost or maestro.whisky-wallet
- The crate to handle wallet signing and provide key encryption utility.whisky-js
- An point of output for wasm package for @meshsdk/core-csl
.With whisky, you can
Maestro
and Blockfrost
uplc
integrated.cargo add whisky
# For nodejs package
yarn add @sidan-lab/whisky-js-nodejs
# For browser package
yarn add @sidan-lab/whisky-js-browser
use whisky::*;
pub fn send_lovelace(
recipient_address: &str,
my_address: &str,
inputs: &[UTxO],
) -> Result<String, WError> {
let mut tx_builder = TxBuilder::new_core();
tx_builder
.tx_out(
recipient_address,
&[Asset::new_from_str("lovelace", "1000000")],
)
.change_address(my_address)
.select_utxos_from(inputs, 5000000)
.complete_sync(None)?;
Ok(tx_builder.tx_hex())
}
Please refer to the hosted documentation for the list of endpoints.
FAQs
Wrapper around the cardano-serialization-lib for easier transaction building, heavily inspired by cardano-cli APIs
The npm package @sidan-lab/whisky-js-nodejs receives a total of 231 weekly downloads. As such, @sidan-lab/whisky-js-nodejs popularity was classified as not popular.
We found that @sidan-lab/whisky-js-nodejs demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.
Research
Security News
The Socket Research Team investigates a malicious Python typosquat of a popular password library that forces Windows shutdowns when input is incorrect.