FISCO BCOS 1.3 中文文档} } 编译、部署合约 直接使用deploy.js,自动编译和部署合约。 # 进入合约所在目录 cd /mydata/FISCO-BCOS/tools/contract babel-node deploy.js HelloWorld #注意后面HelloWorld后面没有".sol" 输出,可看到合约地址,部署成功。 deploy.js ........................Start rld.js源码。 # 进入合约所在目录 cd /mydata/FISCO-BCOS/FISCO-BCOS/tools/contract vim demoHelloWorld.js 调用合约 执行合约调用程序 # 进入合约所在目录 cd /mydata/FISCO-BCOS/FISCO-BCOS/tools/contract babel-node demoHelloWorld.js 可看到合约调用成功 接口名 输入 输出 备注 注册路由信息 setRoute 路由名称、路由地 址、缓存标志位 无 若该路由名称已 存在,则覆盖 web3调用示例如下(可参看systemcontract/deploy.js): console.log("register NodeAction....."); func = "setRoute(string,address,bool)"; params = ["NodeAction"0 码力 | 491 页 | 5.72 MB | 1 年前3
Hyperledger Fabric 1.4.8 Documentationsupport smart contracts authored in general-purpose programming languages such as Java, Go and Node.js, rather than constrained domain-specific languages (DSL). This means that most enterprises already standard programming languages. In the 1.1.0 release, smart contracts can be written in either Go or Node.js, while there are plans to support other popular languages including Java in subsequent releases. Privacy you to focus on your application logic. These programming model enhancements are available for Node.js (as of Fabric v1.4.0) and Java (as of Fabric v1.4.2). The existing SDKs are still available for use0 码力 | 699 页 | 9.02 MB | 1 年前3
Hyperledger Fabric 1.4.9 Documentationsupport smart contracts authored in general-purpose programming languages such as Java, Go and Node.js, rather than constrained domain-specific languages (DSL). This means that most enterprises already standard programming languages. In the 1.1.0 release, smart contracts can be written in either Go or Node.js, while there are plans to support other popular languages including Java in subsequent releases. Privacy you to focus on your application logic. These programming model enhancements are available for Node.js (as of Fabric v1.4.0) and Java (as of Fabric v1.4.2). The existing SDKs are still available for use0 码力 | 701 页 | 9.02 MB | 1 年前3
Hyperledger Fabric 1.4 Documentationsupport smart contracts authored in general-purpose programming languages such as Java, Go and Node.js, rather than constrained domain-specific languages (DSL). This means that most enterprises already standard programming languages. In the 1.1.0 release, smart contracts can be written in either Go or Node.js, while there are plans to support other popular languages including Java in subsequent releases. Privacy you to focus on your application logic. These programming model enhancements are available for Node.js (as of Fabric v1.4.0) and Java (as of Fabric v1.4.2). The existing SDKs are still available for use0 码力 | 701 页 | 9.02 MB | 1 年前3
Hyperledger Fabric 1.4 Documentation
support smart contracts authored in general-purpose programming languages such as Java, Go and Node.js, rather than constrained domain-specific languages (DSL). This means that most enterprises already standard programming languages. In the 1.1.0 release, smart contracts can be written in either Go or Node.js, while there are plans to support other popular languages including Java in subsequent releases. Privacy decentralized applications has just gotten easier. Programming model improvements in the Node.js SDK and Node.js chaincode makes the development of decentralized applications more intuitive, allowing you0 码力 | 678 页 | 10.02 MB | 1 年前3
Hyperledger Fabric 1.4.9 Documentationsupport smart contracts authored in general-purpose programming languages such as Java, Go and Node.js, rather than constrained domain-specific languages (DSL). This means that most enterprises already standard programming languages. In the 1.1.0 release, smart contracts can be written in either Go or Node.js, while there are plans to support other popular languages including Java in subsequent releases. 1 you to focus on your application logic. These programming model enhancements are available for Node.js (as of Fabric v1.4.0) and Java (as of Fabric v1.4.2). The existing SDKs are still available for use0 码力 | 483 页 | 7.48 MB | 1 年前3
Hyperledger Fabric 1.4 Documentationsupport smart contracts authored in general-purpose programming languages such as Java, Go and Node.js, rather than constrained domain-specific languages (DSL). This means that most enterprises already standard programming languages. In the 1.1.0 release, smart contracts can be written in either Go or Node.js, while there are plans to support other popular languages including Java in subsequent releases. 1 you to focus on your application logic. These programming model enhancements are available for Node.js (as of Fabric v1.4.0) and Java (as of Fabric v1.4.2). The existing SDKs are still available for use0 码力 | 483 页 | 7.48 MB | 1 年前3
Hyperledger Fabric 1.4.8 Documentationsupport smart contracts authored in general-purpose programming languages such as Java, Go and Node.js, rather than constrained domain-specific languages (DSL). This means that most enterprises already standard programming languages. In the 1.1.0 release, smart contracts can be written in either Go or Node.js, while there are plans to support other popular languages including Java in subsequent releases. 1 you to focus on your application logic. These programming model enhancements are available for Node.js (as of Fabric v1.4.0) and Java (as of Fabric v1.4.2). The existing SDKs are still available for use0 码力 | 483 页 | 7.48 MB | 1 年前3
Hyperledger Fabric 1.4 Documentation
support smart contracts authored in general-purpose programming languages such as Java, Go and Node.js, rather than constrained domain-specific languages (DSL). This means that most enterprises already standard programming languages. In the 1.1.0 release, smart contracts can be written in either Go or Node.js, while there are plans to support other popular languages including Java in subsequent releases. 1 decentralized applications has just gotten easier. Programming model improvements in the Node.js SDK and Node.js chaincode makes the development of decentralized applications more intuitive, allowing you0 码力 | 461 页 | 7.37 MB | 1 年前3
Hyperledger Fabric 2.0.1 Documentationsupport smart contracts authored in general-purpose programming languages such as Java, Go and Node.js, rather than constrained domain-specific languages (DSL). This means that most enterprises already transaction definitions. For example, look at fabcar.js [https://github.com/hyperledger/fabric- samples/blob/master/chaincode/fabcar/javascript/lib/fabcar.js#L93], where you can see a smart contract transaction for Go, Node.js, and Java: Go contract-api [https://github.com/hyperledger/fabric-contract-api-go]. Node.js contract API [https://github.com/hyperledger/fabric-chaincode-node] and Node.js contract API0 码力 | 760 页 | 10.21 MB | 1 年前3
共 68 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













