Re: ANNOUNCEMENT: Hyperledger Fabric v1.4.0-rc1 is now available!
Don Li <lichunshen84@...>
For "
The existing npm packages are still available for use, while the new npm packages provide a layer of abstraction to improve developer productivity and ease of use. ", I wonder if it would have any negative impact on the npm under Fabric 1.1.0. Thanks. (Don) Chunshen Li Blockchain Consultant / Hyperledger Fabric Application Developer
On Wed, Dec 12, 2018 at 2:39 PM David Enyeart <enyeart@...> wrote:
|
|
Re: Pre-requsites for Installing Hyperledger fabric
Arnaud Le Hors
Hi,
Is there any specific reason you're looking at the documentation for 1.1 instead of 1.3 which is the latest release, or 1.4 which is the latest release candidate? https://hyperledger-fabric.readthedocs.io/en/release-1.3/ Either way, you should be able to use Fabric on Windows 10. -- Arnaud Le Hors - Senior Technical Staff Member, Web & Blockchain Open Technologies - IBM From: "Arnab Saha2" <arnsaha2@...> To: hyperledger-fabric@... Date: 12/13/2018 04:52 PM Subject: [Hyperledger Fabric] Pre-requsites for Installing Hyperledger fabric Sent by: fabric@... Hi Team, I am planning to download Pre-requsites for Installing Hyperledger fabric. I was going through the below link https://hyperledger-fabric.readthedocs.io/en/release-1.1/prereqs.html As per this link Either of the below operating system is supported. MacOSX, *nix, or Windows 10: DockerDocker version 17.06.2-ce or greater is required. But I suppose in older version Ubuntu was required, can you please clarify. Can I go ahead and install Hyperledger fabric in my Windows 10 environment. Regards, Arnab Saha Oracle APPS, CORE and FMW DBA Global Business Services IBM India Pvt Ltd Mob +91 9830909094 Email: arnsaha2@...
|
|
Pre-requsites for Installing Hyperledger fabric
Arnab Saha2 <arnsaha2@...>
Hi Team,
|
|
Re: Best practice for Query/Read only access to a peer/organization
Michael Wang
What do you mean by same ledger but the different state db ? Yes, this ACL can only control access of fabric source. So I would like to advise to implemnt ACL in chain code level. It will prevent the unexpected call from start. chaincode to chaincode may be another option. But it is not efficient I think.
On Thu, Dec 13, 2018 at 4:45 PM Mohammad Ghasletwala <mohammad.ghasletwala@...> wrote: Thank you for the response. --
This is my life,but world of us~~
|
|
Re: Unable to find exectubale jar during chaincode installation
Prashant Kumar Singh
Thanks for the reply. Published logs and build configuration on the channel. Best, Prashant Singh
On Thu, Dec 13, 2018 at 4:12 PM Gennady Laventman <GENNADY@...> wrote: Can you publish this log and your build.gradle in #fabtic-chaincode-java Rocket.Chat hyperledger fabric?
|
|
Re: Unable to find exectubale jar during chaincode installation
Gennady <gennady@...>
Can you publish this log and your build.gradle
in #fabtic-chaincode-java Rocket.Chat hyperledger fabric?
Thanks, Gennady From: "Prashant Kumar Singh" <prashant.siet153@...> To: fabric@... Date: 13/12/2018 11:37 Subject: [Hyperledger Fabric] Unable to find exectubale jar during chaincode installation Sent by: fabric@... Hi, I am new to blockchain and hyperledger development and currently in process of understanding different components of hyperldeger fabric. I am trying to install and invoke a simple chain code written in java. While I was able to install the chaincode on to peer but when I am trying to instantiate the same, I am getting below mentioned error. Any help would be appreciated. [INFO] Including io.grpc:grpc-stub:jar:1.9.0 in the shaded jar. [INFO] Including io.netty:netty-tcnative-boringssl-static:jar:2.0.7.Final in the shaded jar. [INFO] Including org.bouncycastle:bcpkix-jdk15on:jar:1.59 in the shaded jar. [INFO] Including org.bouncycastle:bcprov-jdk15on:jar:1.59 in the shaded jar. [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /chaincode/input/src/target/chaincode-0.0.1-SNAPSHOT.jar with /chaincode/input/src/target/chaincode-0.0.1-SNAPSHOT-shaded.jar [INFO] Dependency-reduced POM written at: /chaincode/input/src/dependency-reduced-pom.xml [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 20.396 s [INFO] Finished at: 2018-12-13T09:17:29Z [INFO] Final Memory: 34M/200M [INFO] ------------------------------------------------------------------------ cp: cannot stat 'target/chaincode.jar': No such file or directory Development environment : Fabric Version : 1.3 Docker version : 18.09.0 Java Version : 1.8 Maven Shade Plugin : org.apache.maven.plugins : 3.2.1 fabric-chaincode-shim :1.3.0
|
|
Documentation Workgroup: Agenda for Friday, 14 Dec
Anthony O'Dowd <a_o-dowd@...>
Hi All,
We will hold the documentation workgroup on Friday, 14 Dec Nov. We run the meeting twice during the day to make it easier for both Eastern and Western hemispheres. See meeting times at the bottom of this note. Sign-in details below. As our 1.4 release candidate is available, we'll kick-off this week's meeting with a final 1.4 status update from Pam and Joe. Version 1.4 docs are also closing out, so we'll have a close-to-final view on the release. Later in the meeting we'll have have a brief outlook for 2.0. Our first review will be an update from Chris on the chaincode key concept topic. Isaac will then give an update on the transaction topic. We'll cover the Developing Applications topics that were merged this week - 2 more, as well as what's remaining. We'll also cover updates to the FabCar tutorial for 1.4. We'll quickly checkpoint the policy topic. If you'd like to contribute to these or another topic, please join the call -- there are now lots of people who are keen to help you understand this material by creating a topic. The full agenda is available for you to read here : https://drive.google.com/open?id=1Q-K0UuPKKRfG9aAEnrrUDlXvck_c_w4e Feel free to post comments to the mailing list, so that we can include at the meeting. Or you can just come along, listen and discuss - you're always welcome! Very best regards, Anthony. Meeting Details ------------- Please use the following link to attend the meeting: https://zoom.us/j/6223336701 Zoom should work in the browser. I will open the call 5 minutes early so that folks can test it out. I'll also monitor the RocketChat at https://chat.hyperledger.org/channel/fabric-release so that if anyone has issues, ping me there! More Zoom connection options at the bottom of this note. The meeting times are as follows: Meeting 65A: Friday 14 Dec 1130 India Standard Time 1400 China Standard Time 1500 Japan Standard Time 1700 Australia Eastern Time 1400 Singapore Time 1000 Gulf Standard Time 0900 Moscow Standard Time 0600 Greenwich Mean Time 0700 Central European Time Meeting 65B: Friday 14 Dec 1000 Central Daylight Time 1100 Eastern Daylight Time 0800 Pacific Daylight Time 1200 Brasil Standard Time 1600 Greenwich Mean Time 1700 Central European Time 1800 Moscow Standard Time More Zoom details ---------------- Join from PC, Mac, Linux, iOS or Android: https://zoom.us/j/6223336701 Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
|
|
Unable to find exectubale jar during chaincode installation
Prashant Kumar Singh
Hi,
I am new to blockchain and hyperledger development and currently in process of understanding different components of hyperldeger fabric.
I am trying to install and invoke a simple chain code written in java. While I was able to install the chaincode on to peer but when I am trying to instantiate the same, I am getting below mentioned error. Any help would be appreciated.
[INFO] Including io.grpc:grpc-stub:jar:1.9.0 in the shaded jar. [INFO] Including io.netty:netty-tcnative-boringssl-static:jar:2.0.7.Final in the shaded jar. [INFO] Including org.bouncycastle:bcpkix-jdk15on:jar:1.59 in the shaded jar. [INFO] Including org.bouncycastle:bcprov-jdk15on:jar:1.59 in the shaded jar. [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /chaincode/input/src/target/chaincode-0.0.1-SNAPSHOT.jar with /chaincode/input/src/target/chaincode-0.0.1-SNAPSHOT-shaded.jar [INFO] Dependency-reduced POM written at: /chaincode/input/src/dependency-reduced-pom.xml [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 20.396 s [INFO] Finished at: 2018-12-13T09:17:29Z [INFO] Final Memory: 34M/200M [INFO] ------------------------------------------------------------------------ cp: cannot stat 'target/chaincode.jar': No such file or directory
Development environment : Fabric Version : 1.3 Docker version : 18.09.0 Java Version : 1.8 Maven Shade Plugin : org.apache.maven.plugins : 3.2.1 fabric-chaincode-shim :1.3.0
|
|
Re: Best practice for Query/Read only access to a peer/organization
Mohammad Ghasletwala
Thank you for the response.
I had momentarily forgotten that even on same channel, chaincodes cannot directly access each others states directly. The ledger is per channel so all chaincodes on the channel use same ledger but the state db are different (interesting design) So channel policy and ACL remain the options to prevent endorsement from observer/auditor orgs as of now it seems. Endorsement policies can reject such endorsements during commit but i am thinking from prevention aspect. Regards, Mohammad
|
|
ANNOUNCEMENT: Hyperledger Fabric v1.4.0-rc1 is now available!
David Enyeart
The Hyperledger Fabric maintainers are pleased to announce the first Release Candidate for version v1.4!
|
|
Re: Best practice for Query/Read only access to a peer/organization
Michael Wang
Hi, I think the first options is valid. Regarding the second, if the chaincode is different, i think they will not access to the same ledger. I think the channel config is orgnization level. Why not implement this ACL in your chain code level?
On Mon, Dec 10, 2018 at 3:10 PM Mohammad Ghasletwala <mohammad.ghasletwala@...> wrote: Hello Everyone, --
This is my life,but world of us~~
|
|
Re: Chaincoder - IDE for Hyperledger Fabric - released
#fabric
greg m
Bernd,
even if it doesn't work, it's worth a lot more than a pizza or two.
Thanks for sharing it here,
greg
From: fabric@... <fabric@...> on behalf of bernd.noetscher via Lists.Hyperledger.Org <bernd.noetscher=yahoo.de@...>
Sent: Wednesday, December 12, 2018 1:31 AM To: fabric@... Cc: fabric@... Subject: [Hyperledger Fabric] Chaincoder - IDE for Hyperledger Fabric - released #fabric Dear Hyperledger Fabric community,
there is a new tool especially for beginners to get started with Hyperleger Fabric. It is called Chaincoder. It aims to be an interactive IDE for rapid development, creation and deployment of applications on Hyperledger Fabric. This is the first version of the new IDE for Hyperledger Fabric development. I wanted to make a network with chaincode ready to use with the SDK so that you can get a basic idea of how things work in Hyperledger Fabric regarding chaincode and client development. So I spent several weeks on this. The IDE is written in Java/HTML and contains the most important artifacts of a fabric project for fast development. I tried to use default Fabric commands only such as CLI commands. It is not perfect, but I released this version, because I believe it might help someone to get started with Fabric. See http://www.chaincoder.org/ Please provide feedback. Thanks in advance Bernd Noetscher
|
|
Re: Deploy chaincode of fabric in EVM
Jay Guo
IIUC, you want to deploy smart contract written in Go/Java/Node in evm? Unfortunately it's not supported. - J
On Wed, Dec 12, 2018 at 4:33 PM 陈清 <chenqing@...> wrote:
|
|
Deploy chaincode of fabric in EVM
陈清 <chenqing@...>
Dear Sir/Madam, I'm writting the email to enquire that whether I can call the chaincode of fabric in EVM. I have found we can deploy the EVM smart contracts in Fabric network by the tutorial , but I don't know how to deploy the chaincode of fabric in EVM . Would you mind giving me some help? Thanks a lot and look forward to hearing from you soon. Yours sincerely, Qing Chen
|
|
Chaincoder - IDE for Hyperledger Fabric - released
#fabric
bernd.noetscher@...
Dear Hyperledger Fabric community,
there is a new tool especially for beginners to get started with Hyperleger Fabric. It is called Chaincoder. It aims to be an interactive IDE for rapid development, creation and deployment of applications on Hyperledger Fabric. This is the first version of the new IDE for Hyperledger Fabric development. I wanted to make a network with chaincode ready to use with the SDK so that you can get a basic idea of how things work in Hyperledger Fabric regarding chaincode and client development. So I spent several weeks on this. The IDE is written in Java/HTML and contains the most important artifacts of a fabric project for fast development. I tried to use default Fabric commands only such as CLI commands. It is not perfect, but I released this version, because I believe it might help someone to get started with Fabric. See http://www.chaincoder.org/ Please provide feedback. Thanks in advance Bernd Noetscher
|
|
Blockchain Explorer and fabric-ca
It would be very helpful to develop a detailed description for the use of Blockchain Explorer with Hyperledger Fabric 1.3 fabric-samples/fabric-ca. I understand there is an open JIRA issue for this. I would be glad to make the required changes to blockchain-explorer/app/platform/fabric/config.json.
It would be very helpful if the details required to make the appropriate changes were discussed in this or another forum. See details below.
The fabric-ca sample creates a shared data directory that is shared between all of the running containers. This shared folder hierarchy contains the cryptographic assets generated by the fabric-ca server. It seems that the Blockchain Explorer config file
(blockchain-explorer/app/platform/fabric/config.json) must be updated to point to the correct crypto assets in the data directory. It would be very helpful if the details for the required modifications could be described as a reply to this post, or in another
post. See below for more detailed discussion.
Again, the key question is: What are the exact changes to the Blockchain Explorer config.json required for the fabric-ca sample network? In particular, what are the paths to the necessary assets in the fabric-ca data folder that must be included in the
Blockchain Explorer config.json file?
Here is the list of containers started by the fabric-ca sample:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4aee4a150f30 hyperledger/fabric-ca-tools "/bin/bash -c 'sleep…" 7 hours ago Up 7 hours run
82f204a372e7 net_orderer1-org0 "/bin/bash -c '/scri…" 7 hours ago Up 7 hours 7050/tcp orderer1-org0
7c56e610b412 net_peer1-org1 "/bin/bash -c '/scri…" 7 hours ago Up 7 hours peer1-org1
9754943e15cc net_peer2-org1 "/bin/bash -c '/scri…" 7 hours ago Up 7 hours peer2-org1
e9f0e78cfc1c net_setup "/bin/bash -c '/scri…" 7 hours ago Up 7 hours setup
be23c1676da8 hyperledger/fabric-ca "/bin/bash -c '/scri…" 7 hours ago Up 7 hours 7054/tcp ica-org0
e0da95a37c83 hyperledger/fabric-ca "/bin/bash -c '/scri…" 7 hours ago Up 7 hours 7054/tcp ica-org1
6c00096abd01 hyperledger/fabric-ca "/bin/bash -c '/scri…" 7 hours ago Up 7 hours 7054/tcp rca-org1
9f98af84f7f3 hyperledger/fabric-ca "/bin/bash -c '/scri…" 7 hours ago Up 7 hours 7054/tcp rca-org0
The following is the shared data folder hierarchy generated by the fabric-ca sample:
data
├── channel.tx
├── configtx.yaml
├── genesis.block
├── logs
│ ├── 1544544188791536800_0xc42017c5a0.Broadcast
│ ├── 1544544189277603900_0xc4200b0910.Broadcast
│ ├── ica-org0.log
│ ├── ica-org1.log
│ ├── orderer1-org0.log
│ ├── peer1-org1.log
│ ├── peer2-org1.log
│ ├── rca-org0.log
│ ├── rca-org1.log
│ ├── run.fail
│ ├── run.log
│ ├── run.sum
│ ├── setup.log
│ └── setup.successful
├── org0-ca-cert.pem
├── org0-ca-chain.pem
├── org1-ca-cert.pem
├── org1-ca-chain.pem
├── orgs
│ ├── org0
│ │ ├── admin
│ │ │ ├── fabric-ca-client-config.yaml
│ │ │ └── msp
│ │ │ ├── IssuerPublicKey
│ │ │ ├── IssuerRevocationPublicKey
│ │ │ ├── admincerts
│ │ │ │ └── cert.pem
│ │ │ ├── cacerts
│ │ │ │ └── ica-org0-7054.pem
│ │ │ ├── intermediatecerts
│ │ │ │ └── ica-org0-7054.pem
│ │ │ ├── keystore
│ │ │ │ └── a508bf9d45927e1d4c3724cf82fcdf247a884d64b1820233b8b3d79caf0f5b1d_sk
│ │ │ ├── signcerts
│ │ │ │ └── cert.pem
│ │ │ └── user
│ │ └── msp
│ │ ├── IssuerPublicKey
│ │ ├── IssuerRevocationPublicKey
│ │ ├── admincerts
│ │ │ └── cert.pem
│ │ ├── cacerts
│ │ │ └── ica-org0-7054.pem
│ │ ├── intermediatecerts
│ │ │ └── ica-org0-7054.pem
│ │ ├── keystore
│ │ ├── signcerts
│ │ ├── tlscacerts
│ │ │ └── ica-org0-7054.pem
│ │ ├── tlsintermediatecerts
│ │ │ └── ica-org0-7054.pem
│ │ └── user
│ └── org1
│ ├── admin
│ │ ├── fabric-ca-client-config.yaml
│ │ └── msp
│ │ ├── IssuerPublicKey
│ │ ├── IssuerRevocationPublicKey
│ │ ├── admincerts
│ │ │ └── cert.pem
│ │ ├── cacerts
│ │ │ └── ica-org1-7054.pem
│ │ ├── intermediatecerts
│ │ │ └── ica-org1-7054.pem
│ │ ├── keystore
│ │ │ └── 9dceaf7baf2b6e284c9f5b92a2489c5b52ff5532802e41b9f2065737100950b9_sk
│ │ ├── signcerts
│ │ │ └── cert.pem
│ │ └── user
│ ├── anchors.tx
│ └── msp
│ ├── IssuerPublicKey
│ ├── IssuerRevocationPublicKey
│ ├── admincerts
│ │ └── cert.pem
│ ├── cacerts
│ │ └── ica-org1-7054.pem
│ ├── intermediatecerts
│ │ └── ica-org1-7054.pem
│ ├── keystore
│ ├── signcerts
│ ├── tlscacerts
│ │ └── ica-org1-7054.pem
│ ├── tlsintermediatecerts
│ │ └── ica-org1-7054.pem
│ └── user
└── tls
├── peer1-org1-cli-client.crt
├── peer1-org1-cli-client.key
├── peer1-org1-client.crt
├── peer1-org1-client.key
├── peer2-org1-cli-client.crt
├── peer2-org1-cli-client.key
├── peer2-org1-client.crt
└── peer2-org1-client.key
Which assets in the above fabric-ca data folder hierarchy must be included in the Blockchain Explorer config.json file? Exactly which sections of the Blockchain Explorer config.json file require modification? Is it necessary to add additional sections
or remove sections from the Blockchain Explorer config.json file in order to make Blockchain Explorer work with the fabric-ca sample?
Thanks in advance.
James Gambale
|
|
Re: steps for Service discovery
Yacov
You can play with the service using the
discover CLI: https://hyperledger-fabric.readthedocs.io/en/latest/discovery-cli.html
For the node SDK (in case you use it) - you can use https://fabric-sdk-node.github.io/tutorial-discovery.html From: sunil suseelan <sunil18031992@...> To: hyperledger-fabric@... Date: 11/12/2018 11:27 AM Subject: [Hyperledger Fabric] steps for Service discovery Sent by: fabric@... Hello Team, In Hyperledger fabric 1.2 there is a mention about service discovery at below document link https://hyperledger-fabric.readthedocs.io/en/release-1.2/discovery-overview.html Is there any tutorial on the steps
|
|
steps for Service discovery
sunil suseelan <sunil18031992@...>
Hello Team,
In Hyperledger fabric 1.2 there is a mention about service discovery at below document link https://hyperledger-fabric.readthedocs.io/en/release-1.2/discovery-overview.html Is there any tutorial on the steps
|
|
Re: How does HyperLedger / Fabric enforce an orderer not to inspect transaction content?
Hi Mohammad,
toggle quoted messageShow quoted text
I think you are correct. The only thing I would add is that I am not sure if connecting a “rigged” orderer is that very simple. Laszlo
On Dec 10, 2018, at 01:22, Mohammad Ghasletwala <mohammad.ghasletwala@...> wrote:
|
|
Re: Issue with Fabric Multi-host Network
Christopher Ferris
You'll need to share more information relating to the network setup. Possibly you could provide your logs using gist or pastbin? Possibly you didn't join the peer1 nodes to the channel? Chris
On Mon, Dec 10, 2018 at 1:12 PM via Lists.Hyperledger.Org <abhijeetpratapsingh=cedcoss.com@...> wrote:
|
|