Directories
¶
Path | Synopsis |
---|---|
Package api provides the interfaces for the virtual machine that executes smart contracts.
|
Package api provides the interfaces for the virtual machine that executes smart contracts. |
cmd
|
|
Package runtime provides the execution environment for smart contracts.
|
Package runtime provides the execution environment for smart contracts. |
wasm
WebAssembly 合约通信包装层 为智能合约提供与主机环境通信的标准接口
|
WebAssembly 合约通信包装层 为智能合约提供与主机环境通信的标准接口 |
Package core 定义了智能合约与VM系统交互所需的核心接口 合约开发者只需了解并使用此文件中的接口即可编写智能合约
|
Package core 定义了智能合约与VM系统交互所需的核心接口 合约开发者只需了解并使用此文件中的接口即可编写智能合约 |
examples
|
|
contracts/counter
A simple counter contract example based on WASM wrapper
|
A simple counter contract example based on WASM wrapper |
contracts/counter_factory
Package counter implements a simple counter contract example.
|
Package counter implements a simple counter contract example. |
contracts/nft1
A simple NFT contract example based on WASM wrapper
|
A simple NFT contract example based on WASM wrapper |
contracts/token1
A simple token contract example based on WASM wrapper
|
A simple token contract example based on WASM wrapper |
contracts/token2
A simple token contract example based on WASM wrapper
|
A simple token contract example based on WASM wrapper |
Package counter implements buffered position-based editing of byte slices.
|
Package counter implements buffered position-based editing of byte slices. |
Package types contains shared type definitions and constants used by both the host environment and WebAssembly contracts
|
Package types contains shared type definitions and constants used by both the host environment and WebAssembly contracts |
Click to show internal directories.
Click to hide internal directories.