# 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.
