Giter VIP home page Giter VIP logo

maniankara / hyperledger-easydoser Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 3.0 36.47 MB

A simpler and easy way to handle endorsement policies with Hyperledger Fabric based products.

Home Page: https://wiki.hyperledger.org/pages/viewpage.action?pageId=29035323

License: GNU General Public License v3.0

JavaScript 73.74% HTML 1.17% CSS 4.45% Shell 8.30% Go 12.05% Dockerfile 0.29%
blockchain hyperledger-fabric endorsements

hyperledger-easydoser's People

Contributors

abhimanyu121 avatar maniankara avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dgome caner-emec

hyperledger-easydoser's Issues

Basic Golang Server

Create a basic Golang REST server to facilitate calls between web-ui and fabric-cli

Easy doser server cli to have help

Need some help text

$ ./easyDoser-server --help
2020/07/05 12:51:16 listen tcp :8080: bind: address already in use
$ ./easyDoser-server -h
2020/07/05 12:51:16 listen tcp :8080: bind: address already in use

README.md: Add documentation about working hyperledger fabric network

The current documentation does not say anything about a hyperledger fabric running. This project is based on it.
So, some instructions like:

Ensure the hyperledger fabric is running:
hyperledger/fabric-samples/test-network|master ⇒  docker ps
CONTAINER ID        IMAGE                                                                                                                                                                    COMMAND                  CREATED             STATUS              PORTS                              NAMES
beabb85a8e55        dev-peer0.org2.example.com-basic_1.0-4ec191e793b27e953ff2ede5a8bcc63152cecb1e4c3f301a26e22692c61967ad-6c0d5b0755cb92ed5555bd2e8a8765a6f425d1ed5ed9a90e625e01939e2113be   "chaincode -peer.add…"   About an hour ago   Up About an hour                                       dev-peer0.org2.example.com-basic_1.0-4ec191e793b27e953ff2ede5a8bcc63152cecb1e4c3f301a26e22692c61967ad
45fad38301ca        dev-peer0.org1.example.com-basic_1.0-4ec191e793b27e953ff2ede5a8bcc63152cecb1e4c3f301a26e22692c61967ad-42f57faac8360472e47cbbbf3940e81bba83439702d085878d148089a1b213ca   "chaincode -peer.add…"   About an hour ago   Up About an hour                                       dev-peer0.org1.example.com-basic_1.0-4ec191e793b27e953ff2ede5a8bcc63152cecb1e4c3f301a26e22692c61967ad
7adb159c312d        hyperledger/fabric-peer:latest                                                                                                                                           "peer node start"        About an hour ago   Up About an hour    0.0.0.0:7051->7051/tcp             peer0.org1.example.com
71e30ee0bf3f        hyperledger/fabric-peer:latest                                                                                                                                           "peer node start"        About an hour ago   Up About an hour    7051/tcp, 0.0.0.0:9051->9051/tcp   peer0.org2.example.com
894c1bb2e0ee        hyperledger/fabric-orderer:latest                                                                                                                                        "orderer"                About an hour ago   Up About an hour    0.0.0.0:7050->7050/tcp             orderer.example.com
hyperledger/fabric-samples/test-network|master ⇒  

Pre-MVP

  • Fabricv2.x docker-compose env
  • fabric-node-sdk
  • Implement Peer query from requirements.md
  • 21.06.2020 - rough deadline

Cherry-pick information

Pick the relevant data coming from bash files and send them to appropriate REST endpoints.

Discovery service fails to get endorsement policy

After changing the endorsement policy of the network once, Discovery service fails to fetch endorsement policy and throws
server returned: failed constructing descriptor for chaincodes:<name:"fabcar" >

Does not list channels

On test network, when filled values, the server throws index out of range

exit status 1272020/07/06 16:35:03 http: panic serving [::1]:56412: runtime error: index out of range [1] with length 1
goroutine 6 [running]:
net/http.(*conn).serve.func1(0xc0001030e0)
	/usr/local/go/src/net/http/server.go:1772 +0x139
panic(0x7306c0, 0xc00009c0c0)
	/usr/local/go/src/runtime/panic.go:975 +0x3e3
main.getChannelList(0x7cab00, 0xc0000aa000, 0xc0000b2100)
	/home/anoop/Work/github/maniankara/hyperledger-easydoser/easyDoser-server/main.go:49 +0x903
net/http.HandlerFunc.ServeHTTP(0x76d7a8, 0x7cab00, 0xc0000aa000, 0xc0000b2100)
	/usr/local/go/src/net/http/server.go:2012 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc000136000, 0x7cab00, 0xc0000aa000, 0xc000162000)
	/home/anoop/go/src/github.com/gorilla/mux/mux.go:210 +0xe2
net/http.serverHandler.ServeHTTP(0xc000148000, 0x7cab00, 0xc0000aa000, 0xc000162000)
	/usr/local/go/src/net/http/server.go:2807 +0xa3
net/http.(*conn).serve(0xc0001030e0, 0x7cb240, 0xc000058400)
	/usr/local/go/src/net/http/server.go:1895 +0x86c
created by net/http.(*Server).Serve
	/usr/local/go/src/net/http/server.go:2933 +0x35c

Study task: Hyperledger Explorer

This is a task to study the project (all details here): https://wiki.hyperledger.org/display/explorer/Hyperledger+Explorer
Also architecture: https://docs.google.com/document/d/1GuVNHZ5Jqq-gTVKflnZ1YiJfEoozvugqenC6QEQFQj4/edit

I will try to participate in the maintainer meeting coming up this week:
---------------- clip --------------
Hyperledger Explorer maintainer meeting #zoom
By:
nekia
When:
Wednesday, October 7th, 2020
16:30 to 17:30
(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi (IST)
Where:
https://us04web.zoom.us/j/76316725091?pwd=cGJMenI4bi9DcndNSTltaEVVRkx3UT09
Description:
──────────

Atsushi Neki is inviting you to a scheduled Zoom meeting.

Join Zoom Meeting

Meeting ID: 763 167 25091
Password: 0127916100

──────────
------------- clip ----------------------

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.