fabric-rest | server provides a convenient REST interface | Continuous Deployment library
kandi X-RAY | fabric-rest Summary
kandi X-RAY | fabric-rest Summary
This server provides a convenient REST interface for web applications to transact on Hyperledger Fabric 1.x network. It uses Node.js SDK API to call peers, orderer and CA servers of network's members. The server can be instantiated from a docker image and run alongside other services like peers and ca servers on a member's host.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of fabric-rest
fabric-rest Key Features
fabric-rest Examples and Code Snippets
...
"org1": {
...
"peer1": { ... },
"peer2.example.com": { ... },
"peer": { ... },
},
...
...
"org1": {
...
"n1.peer": { ... },
"host2.example.com": { ... },
},
...
//3rd-party auth-store
const credentials = [{
username: 'test',
password: undefined,
org: 'a'
}];
module.exports = function auth(username, password, orgname) {
const user = credentials.find(obj => obj.username === username && obj.
npm install
ORG=org1 npm start
# or: ORG=org2 npm start
Community Discussions
Trending Discussions on fabric-rest
QUESTION
I am using Altoros - Fabric Rest to have API to Fabric network. When I am trying to add a new organization like Adding an ORG to a channel, I am getting an error while bringing up the docker compose file of the new organization.
The REST API works fine for the organizations that already present in network. I checked the log, this what the error is.
...ANSWER
Answered 2018-Apr-27 at 05:43Worked after restarting the API server after the new organization addition.Full answer here Fabric Altoros.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install fabric-rest
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page