Crate drink

source ·
Expand description

The drink crate provides a sandboxed runtime for testing smart contracts without a need for a running node.

Re-exports§

Modules§

  • Module gathering common error and result types.
  • Minimal Sandbox runtime used for testing contracts with drink!.
  • This module provides all the necessary elements for supporting contract debugging directly in the contracts pallet.
  • This module provides a context-aware interface for interacting with contracts.

Macros§

  • Macro creating a minimal runtime with the given name. Optionally can take a chain extension type as a second argument.
  • A convenience macro that allows you to load a bundle found in the target directory of the current project.

Structs§

Enums§

Traits§

  • Sandbox defines the API of a sandboxed runtime.
  • Key that can be encoded to/from SS58.

Type Aliases§

Attribute Macros§