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
|
|
|
vm-cli
command
|
|
|
Package runtime provides the execution environment for smart contracts.
|
Package runtime provides the execution environment for smart contracts. |
|
wasm
command
WebAssembly 合约通信包装层 为智能合约提供与主机环境通信的标准接口
|
WebAssembly 合约通信包装层 为智能合约提供与主机环境通信的标准接口 |
|
Package core 定义了智能合约与VM系统交互所需的核心接口 合约开发者只需了解并使用此文件中的接口即可编写智能合约
|
Package core 定义了智能合约与VM系统交互所需的核心接口 合约开发者只需了解并使用此文件中的接口即可编写智能合约 |
|
examples
|
|
|
contracts/nft1
基于wasm包装层的简单NFT合约示例
|
基于wasm包装层的简单NFT合约示例 |
|
contracts/token1
基于wasm包装层的简单令牌合约示例
|
基于wasm包装层的简单令牌合约示例 |
|
contracts/token2
基于wasm包装层的简单令牌合约示例
|
基于wasm包装层的简单令牌合约示例 |
|
counter
Package counter 实现一个简单的计数器合约示例
|
Package counter 实现一个简单的计数器合约示例 |
|
nft
Package nft 实现一个简单的NFT合约示例
|
Package nft 实现一个简单的NFT合约示例 |
|
simple_contract
command
简单计数器合约示例
|
简单计数器合约示例 |
|
simple_counter
基于wasm包装层的简单计数器合约示例
|
基于wasm包装层的简单计数器合约示例 |
|
token
Package token 实现一个简单的代币合约示例
|
Package token 实现一个简单的代币合约示例 |
|
Package counter implements buffered position-based editing of byte slices.
|
Package counter implements buffered position-based editing of byte slices. |
|
Package security 提供VM安全性和资源限制相关功能
|
Package security 提供VM安全性和资源限制相关功能 |
|
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.