ink! is an eDSL to write smart contracts in Rust for blockchains built on the Substrate framework. ink! contracts are compiled to WebAssembly.
pink! is based on Parity's ink! language and provide some extra functionality to interact with phala's phat contract runtime.
Useful utilities for pink!.
Macros for writing phat contract.
Mock pink chain extension for Phala pink contract.
Ethereum JSON-RPC client for pink. Port of rust-web3 to Pink contract.
Simple S3 client for Phala's pink.
serde_json for pink programs. The serde-json-core with
Easy to use conversion of ethereum contract calls to bytecode. Ethereum ABI encoding decoding library.
KV session primitives for phat off-chain rollup.
Type-erased Serialize and Serializer traits. This crate provides type-erased versions of Serde's
Deserializer traits that can be used as trait objects.
Note: Floating points operations are removed to run in
A substrate rpc client running in pink. Substrate json RPC module with limited functionalities.
Framework to help developing phala sidevm program. This crate provides some instrumentation to write sidevm programs. It is built on top of the Sidevm ocalls.
Macros for writing fat contract sidevm program.
The low level protocol between sidevm guest and host.
A logger works in sidevm guest program. Enabling a logger for sidevm programs.