blockchain

package
v0.0.0-...-966f3c1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 3 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SDK           *fabsdk.FabricSDK          // Fabric提供的SDK
	ChannelName   = "assetschannel"          // 通道名称
	ChainCodeName = "blockchain-real-estate" // 链码名称
	Org           = "org1"                   // 组织名称
	User          = "Admin"                  // 用户
	ConfigPath    = "conf/config.yaml"       // 配置文件路径
)

配置信息

Functions

func ChannelExecute

func ChannelExecute(fcn string, args [][]byte) (channel.Response, error)

ChannelExecute 区块链交互

func ChannelQuery

func ChannelQuery(fcn string, args [][]byte) (channel.Response, error)

ChannelQuery 区块链查询

func Init

func Init()

Init 初始化

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL