# whisky

Whisky is an open-source Cardano Rust SDK, containing the 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-js`- A point of output for the wasm package for `@meshsdk/core-csl`.

With whisky, you can

* Builder transaction with cardano-cli-like APIs, supporting serious DApps’ backend on the Rust codebase.
* Handling transaction signing in Rust
* Interacting with blockchain with provider services like `Maestro` and `Blockfrost`
* Off-node evaluation on transaction execution units, and updating the transaction accordingly with TxPipe's `uplc` integrated.

### Installation

#### Rust Library

```sh
cargo add whisky
```

#### JS / TS WASM Lib

```sh
# For nodejs package
yarn add @sidan-lab/whisky-js-nodejs
# For browser package
yarn add @sidan-lab/whisky-js-browser
```

### Full API Documentation

Please refer to the [hosted documentation](https://sidan-lab.github.io/whisky/whisky/index.html) for the list of endpoints.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://whisky.sidan.io/whisky.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
