blockchain

package
v0.0.0-...-330c009 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

*

  • @Author: 夜央 Oh oh oh oh oh oh (https://github.com/togettoyou)
  • @Email: zoujh99@qq.com
  • @Date: 2020/3/4 4:21 下午
  • @Description: fabric-sdk-go的封装

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    = "blockchain/config.yaml" // 配置文件路径
)

配置信息

Functions

func ChannelExecute

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

区块链交互

func ChannelQuery

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

区块链查询

func Init

func Init()

初始化

Types

This section is empty.

Jump to

Keyboard shortcuts

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