Hyperledger Fabric 1.1 Documentationtutorials leverage the sample code. ## API Documentation The API documentation for Hyperledger Fabric’s Golang APIs can be found on the godoc site for Fabric [http://godoc.org/github.com/hyperledger/fabric]. many of its components. ## Note Building with Go version 1.8.x is not supported • Go [https://golang.org/] - version 1.9.x Given that we will be writing chaincode programs in Go, there are two environment implemented in several programming languages. The currently supported chaincode language is Go [https://golang.org/] with support for Java and other languages coming in future releases. ## Privacy Depending0 码力 | 422 页 | 4.84 MB | 2 年前3
Hyperledger Fabric 2.0.1 Documentationdelivery conditions, and express it as a smart contract in a programming language such as JavaScript, GOLANG or Java. The legal and technical skills required to convert centuries of legal language into programming Language Hyperledger Fabric uses the Go Programming Language for many of its components. • Go [https://golang.org/dl/] version 1.13.x is required. Given that we will be writing chaincode programs in Go, there first time, the script will install the chaincode dependencies. By default, The script installs the Golang version of the fabcar chaincode. However, you can use the language flag, -l, to install the Java0 码力 | 760 页 | 10.21 MB | 2 年前3
百度超级链 XuperChain 3.9-e 中文文档示一些基本操作 ### 1. XuperChain环境部署 #### 1.1. 准备环境 XuperChain主要由Golang开发,需要首先准备编译运行的环境 • 安装go语言编译环境,版本为1.11或更高 ☐ 下载地址:golang [https://golang.org/dl/] • 安装git ☐ 下载地址:git [https://git-scm.com/download] le/counter.cc 原理和 Golang合约是一致的 ## 注解 除了 Initialize 外的其他函数,是可以自行定义函数名的,可参考 contractsdk/go/example/counter/counter.go 中的具体实例,在之后调用合约时写明函数名即可 #### 3.2. 部署wasm合约 ### 1. 编译合约 - Golang 注意合约编译环境与源码编译环境一致,编译参数如下 1 # 内存大小限制 memory: "1G" # 停止合约的等待秒数,超时强制杀死 stopTimeout: 3 ### 1. 编译合约 - Golang 编译native合约时,只要保持环境和编译XuperChain源码时一致即可,我们还是以contractsdk/go/example中的counter合约为例 cd contractsdk/go/example/counter0 码力 | 317 页 | 27.80 MB | 2 年前3
百度超级链 XuperChain 3.9 中文文档示一些基本操作 ### 1. XuperChain环境部署 #### 1.1. 准备环境 XuperChain主要由Golang开发,需要首先准备编译运行的环境 • 安装go语言编译环境,版本为1.11或更高 ☐ 下载地址:golang [https://golang.org/dl/] • 安装git ☐ 下载地址:git [https://git-scm.com/download] le/counter.cc 原理和 Golang合约是一致的 ## 注解 除了 Initialize 外的其他函数,是可以自行定义函数名的,可参考 contractsdk/go/example/counter/counter.go 中的具体实例,在之后调用合约时写明函数名即可 #### 3.2. 部署wasm合约 ### 1. 编译合约 - Golang 注意合约编译环境与源码编译环境一致,编译参数如下 1 # 内存大小限制 memory: "1G" # 停止合约的等待秒数,超时强制杀死 stopTimeout: 3 ### 1. 编译合约 - Golang 编译native合约时,只要保持环境和编译XuperChain源码时一致即可,我们还是以contractsdk/go/example中的counter合约为例 cd contractsdk/go/example/counter0 码力 | 317 页 | 27.80 MB | 2 年前3
Hyperledger Fabric 1.2 DocumentationLanguage Hyperledger Fabric uses the Go Programming Language for many of its components. • Go [https://golang.org/dl/] version 1.10.x is required. Given that we will be writing chaincode programs in Go, there spin up our various Fabric entities and launch a smart contract container for chaincode written in Golang: ./startFabric.sh You also have the option of running this tutorial against chaincode written in the database backend to use: goleveldb (default) or couchdb -l- the chaincode language: golang (default) or node -i - the tag to be used to launch the network (defaults to "latest") 0 码力 | 497 页 | 6.59 MB | 2 年前3
Hyperledger Fabric 1.4 Documentation
delivery conditions, and express it as a smart contract in a programming language such as JavaScript, GOLANG or Java. The legal and technical skills required to convert centuries of legal language into programming Language Hyperledger Fabric uses the Go Programming Language for many of its components. • Go [https://golang.org/dl/] version 1.11.x is required. Given that we will be writing chaincode programs in Go, there [https://github.com/hyperledger/fabric-chaincode-node/blob/master/fabric-shim/lib/stub.js#L293]. If golang is used as a chaincode language, the client identity chaincode library. [https://github.com/hyp0 码力 | 678 页 | 10.02 MB | 2 年前3
百度超级链 XuperChain 3.8 中文文档示一些基本操作 ### 1. XuperChain环境部署 #### 1.1. 准备环境 XuperChain主要由Golang开发,需要首先准备编译运行的环境 • 安装go语言编译环境,版本为1.11或更高 ☐ 下载地址:golang [https://golang.org/dl/] • 安装git ☐ 下载地址:git [https://git-scm.com/download] le/counter.cc 原理和 Golang合约是一致的 ## 注解 除了 Initialize 外的其他函数,是可以自行定义函数名的,可参考 contractsdk/go/example/counter/counter.go 中的具体实例,在之后调用合约时写明函数名即可 #### 3.2. 部署wasm合约 ### 1. 编译合约 - Golang 注意合约编译环境与源码编译环境一致,编译参数如下 1 # 内存大小限制 memory: "1G" # 停止合约的等待秒数,超时强制杀死 stopTimeout: 3 ### 1. 编译合约 - Golang 编译native合约时,只要保持环境和编译XuperChain源码时一致即可,我们还是以contractsdk/go/example中的counter合约为例 cd contractsdk/go/example/counter0 码力 | 316 页 | 27.93 MB | 2 年前3
Hyperledger Fabric 2.0 Documentationdelivery conditions, and express it as a smart contract in a programming language such as JavaScript, GOLANG or Java. The legal and technical skills required to convert centuries of legal language into programming Fabric chaincode lifecycle ## What is Chaincode? Chaincode is a program, written in Go [https://golang.org], Node.js [https://nodejs.org], or Java [https://java.com/en/] that implements a prescribed interface metadata file below: {"Path":"fabric-samples/chaincode/fabcar/go","Type":"golang","Label":"fabcarv1"}  or couchdb -l- the chaincode language: golang (default), node or java -i - the tag to be used to launch the network (defaults to "latest") 0 码力 | 528 页 | 6.85 MB | 2 年前3
百度超级链 XuperChain latest 中文文档示一些基本操作 ### 1. XuperChain环境部署 #### 1.1. 准备环境 XuperChain主要由Golang开发,需要首先准备编译运行的环境 • 安装go语言编译环境,版本为1.11或更高 ☐ 下载地址:golang [https://golang.org/dl/] • 安装git ☐ 下载地址:git [https://git-scm.com/download] 1 # 内存大小限制 memory: "1G" # 停止合约的等待秒数,超时强制杀死 stopTimeout: 3 ### 1. 编译合约 - Golang 编译native合约时,只要保持环境和编译XuperChain源码时一致即可,我们以 contractsdk/go/example 中的 counter 合约为例 cd contracts contractsdk/java/example/counter $ mvn package ### 3. 部署合约 部署native合约。针对不同语言实现的合约,主要通过 --runtime 字段进行区分 # 部署golang native合约 $./xchain-cli native deploy --account XC11111111111111@xuper --fee 15587517 --runtime go0 码力 | 316 页 | 24.51 MB | 2 年前3
共 61 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
相关搜索词
Hyperledger Fabricmodular architectureDistributed Ledger Technology (DLT)Private ChannelsChaincodeBlockchain networkDocker imagesSmart Contracts超级链智能合约区块交易UTXOXuperChain权限系统核心数据结构TPSPrivate Data CollectionsAccess Control Lists (ACL)Service DiscoveryUpgradingoperationsdecentralized applicationssmart contractsconsensus mechanisms共识算法Permissioned Distributed LedgerBlockchain NetworkChannel升级指南链码身份管理隐私与保密性区块链可信账本共识机制













