Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@sidan-lab/sidan-csl-rs-nodejs
Advanced tools
Wrapper around the cardano-serialization-lib for easier transaction building, heavily inspired by cardano-cli APIs
This is a library for building off-chain code on Cardano. It is a cardano-cli-like wrapper on cardano-serialization-lib (equivalent to MeshJS’s lower-level APIs), supporting serious DApps’ backend on the Rust codebase. It has an active F11 proposal to support the development.
whisky is composed of 2 layers - the root layer sidan-csl-rs and the user-facing layer whisky. sidan-csl-rs composed of the core serialization logic with JSON-to-transaction pattern, compilable to wasm. whisky is the user-facing package that Rust Cardano developers can import directly for use.
uplc
for off-node auto redeemer exUnits updates.cargo add whisky
# For nodejs package
yarn add @sidan-lab/sidan-csl-rs-nodejs
# For browser package
yarn add @sidan-lab/sidan-csl-rs-browser
use whisky::{
builder::TxBuilder,
model::{Asset, UTxO},
};
async fn my_first_whisky_tx(
recipient_address: &str,
my_address: &str,
inputs: Vec<UTxO>,
) -> String {
let mut mesh = TxBuilder::new_core();
mesh.tx_out(
&recipient_address,
vec![Asset::new_from_str("lovelace", "1000000")],
)
.change_address(my_address)
.select_utxos_from(inputs.clone(), 5000000)
.complete(None)
.await;
mesh.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/sidan-csl-rs-nodejs receives a total of 697 weekly downloads. As such, @sidan-lab/sidan-csl-rs-nodejs popularity was classified as not popular.
We found that @sidan-lab/sidan-csl-rs-nodejs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.