我做了以下教程(),让fabric在kube上运行,并试图查询我的区块链。
我尝试这样设置我的用户:
function getAdmin(client, options) {
return Promise.resolve(client.createUser({
username: 'admin',
mspid: 'Org1MSP',
cryptoContent: {
privateKeyPEM: // am not sure what goes here but I put the
我正在尝试使用docker-compose并使用现有对等体的地址+发现端口(30001)向IBM Bluemix区块链添加一个对等体(我的本地笔记本电脑),但它在启动时挂起,最后一条消息是:
transport: http2Client.notifyError got notified that the client transport was broken EOF
我的docker-compose.yml看起来像这样:
vp5:
image: hyperledger/fabric-peer:x86_64-0.6.0-preview
ports:
- "7050:7050&
查看各种令牌实现(例如这里和这里)的源代码,它们具有以下API:
// presume can only be "called" by owner.
Transfer(address to, number amount)
// sender (exchange) must be authorised by owner
Transfer(address from, address to, number value) {
require(balanceOf[from] >= value);
balanceOf[from] -= value;
b
我在尝试将卡部署到云上工作的区块链时遇到此错误,您知道吗?提前谢谢。我正在使用mac,遵循指南(Kubernetes安装/配置得很好,我想):
./create/create_composer-rest-server.sh --paid --business-network-card /Users/sm/jsblock/tutorial-network/PeerAdmin@fabric-network.card
Configured to setup a paid storage on ibm-cs
Preparing yaml file for create composer-rest-s