Comments (2)
@kehm there is some help for this type of scenario in the Node.js Contracts Building with limited internet access guide. Another option which is not mentioned there (yet) is to use Chaincode as an external service where you are responsible for the lifecycle of the chaincode. There is now a provided CCaaS builder to make this option simpler.
from fabric-chaincode-node.
Thanks @jt-nti , resources on Hyperledger Fabric "best practices" are very appreciated. However, I don't think the proposed solutions will work for peers issued through cloud providers as one will typically not be able to manage the peer containers directly, i.e. it will not be possible to add local repositories and we do not control the chaincode container deployment.
I know this problem is more of a cloud provider issue, but from our point of view this process would be a lot simpler if we would be able to "bootstrap" the chaincode inside Node.js (e.g. in index.js) without requiring the "fabric-chaincode-node start" script to be called. I assume this is not possible in the current version of the chaincode library? I don't know the effort that would be required to make this possible in future releases, but I would suggest bringing this up for consideration.
from fabric-chaincode-node.
Related Issues (20)
- iterator of getHistoryForKey() sdk method is not returning the txId and timestamp HOT 1
- StateBasedEndorsement Policy is missing the nOutOf.. HOT 2
- Port the FullStackApplication Tests to use as a Functional Test HOT 1
- Transition the FV tests to use Microfab HOT 1
- Chaincode does not start due to missing dependency in fabric-shim
- Published release v2.5.3 not tagged as latest HOT 1
- ChaincodeMessageHandler calls non-existent cancel() function on stream
- Wrong getTxTimestamp
- TypeError on chaincode start with fabric-shim >=2.5.1
- Use Node 20
- Incorrect Type Definition of ChaincodeResponse HOT 3
- Fix minor TypeScript issues
- Fix "Cannot find module" errors in TypeScript test files
- Add ESLint TypeScript support
- Document how to start node chaincode as a service, including how to set grpc parameters HOT 2
- Scheduled vulnerability scan
- jsdocs are not getting published HOT 4
- Publish unstable / snapshot packages on every change
- Update @grpc/grpc-js HOT 3
- help me.. im a korean student 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 fabric-chaincode-node.