hydra-sdk-rust is a Rust SDK for building applications that interact with Hydra, Cardano's layer 2 protocol for fast, secure off-chain transaction processing. Hydra brings Cardano's safety guarantees to high-speed environments, and Rust is the perfect match, offering performance and safety
- Transaction
- Build simple spending transaction
- Build spending transaction with datum
- Build spending transaction with redeemer
- Websocket commands
- Init head
- Close head
- Increment
- Recover
- HTTP interface
- Get snapshot
- Submit transaction
- Websocket interface
- Support adding callbacks for each type of websocket event
- Support all event types
- SnapshotConfirmed
- TxValid
- TxInvalid
- ValidationError
- Greetings
- Other messages
- Prometheus metrics
- Number of nodes
- Websocket event per second
- Current utxo count
- Wallet integration