whisky 1.0.25

The Cardano Rust SDK, inspired by MeshJS
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use whisky_common::data::{ByteString, Constr0, Credential, Int, PlutusDataJson};
use whisky_macros::ImplConstr;

// Newtype wrappers with ImplConstr that provides both from() and PlutusDataJson
#[derive(Clone, Debug, ImplConstr)]
pub struct OutputReference(pub Constr0<Box<(ByteString, Int)>>);

// #[derive(Clone, Debug, ImplConstr)]
// pub struct UserTradeAccount(pub Constr0<Box<(ByteString, ByteString)>>);

#[derive(Clone, Debug, ImplConstr)]
pub struct Account(pub Constr0<Box<(ByteString, Credential, Credential)>>);