Comments (2)
Hi @kamraanki - the chaincode used by this demo is actual stored in a separate git repository: https://github.com/IBM-Blockchain/cp-chaincode-v2
Here's what you will need to do:
- Create a fork of https://github.com/IBM-Blockchain/cp-chaincode-v2
- Clone your fork (e.g. my fork is https://github.com/mastersingh24/cp-chaincode-v2)
- Make whatever changes you want to hyperledger/cp_cc.go (don't change the cp_cc.go in the root of the repo)
- Commit and push your changes to your fork
- Now in the cp-web project on your machine, edit app.js
- Look for the configure_network function and then replace references to IBM-Blockchain with the name of the organization from your github fork (usually your username). For example, for me, I would change
https://github.com/IBM-Blockchain/cp-chaincode-v2/archive/master.zip
to
https://github.com/mastersingh24/cp-chaincode-v2/archive/master.zip
and
https://github.com/IBM-Blockchain/cp-chaincode-v2/hyperledger
to
https://github.com/mastersingh24/cp-chaincode-v2/hyperledger
- Restart your cp-web application and hopefully the new chaincode will be deployed
from cp-web.
Thanks its working
from cp-web.
Related Issues (20)
- Failed to deploy chaincode: EventTransactionError HOT 4
- Callback already called
- Error building images: dial unix /var/run/docker.sock: connect: no such file or directory HOT 1
- -
- No live link to the demo. HOT 2
- Deploying cp-web with local version of hyperledger fabric HOT 19
- Failed to run demo using local network, Error: failed to enroll registrar: Identity or token does not match HOT 1
- Improve Documentation to Indicate that Commercial Paper Cannot be Redeployed HOT 1
- grpc: ClientConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp: address too many colons in address HOT 2
- Some Commercial Paper Operations from Demo Chaincode Tab Return Errors
- Logs Not getting printed in chaincode HOT 5
- Multi peer fails on local environment HOT 1
- Upgrade Deployment Tracker client dependency
- done
- Mutiple queries to display data sets by using fields other than the ID HOT 1
- Cannot read property 'prototype' of undefined HOT 6
- us.blockchain.ibm.com.cert failing to validate HOT 9
- How to setup hyperledger on different VMs to communicate with each other using nonvagrant on windows 10 platform HOT 1
- User level role access in hyperledger
- Deployment Tracker Service is discontinued HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cp-web.