drink-pink-runtime
Overview
drink-pink-runtime is a runtime implementation for drink framework for Pink contract environment. It extends Drink functionalities, offering a more convenient approach to writing strongly-typed tests for Pink contracts. This crate simplifies testing by simulating contract deployment, transaction execution, and queries in a Pink contract environment.
Installation
To include drink-pink-runtime in your project, add it to your Cargo.toml:
[]
= "0.5"
= "0.8.0"
= "1.2"
Usage
Here's an example demonstrating the basic usage of drink-pink-runtime. This includes setting up a test environment, deploying a contract bundle, and simulating transactions and queries.