Expand description
The drink crate provides a sandboxed runtime for testing smart contracts without a need for a running node.
Modules
- Basic chain API.
- Contracts API.
- Module containing the
Runtimetrait and its example implementations. You can usedrinkwith any runtime that implements theRuntimetrait.
Structs
- An opaque 32-byte cryptographic identifier.
- A sandboxed runtime.
Enums
- Main error type for the drink crate.
Constants
- Default gas limit.
Type Aliases
- Main result type for the drink crate.
- Copied from pallet-contracts.