Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kelvinfan001/libertas
Hyperledger Fabric decentralized voting app.
https://github.com/kelvinfan001/libertas
Last synced: 4 days ago
JSON representation
Hyperledger Fabric decentralized voting app.
- Host: GitHub
- URL: https://github.com/kelvinfan001/libertas
- Owner: kelvinfan001
- License: apache-2.0
- Created: 2019-08-12T05:57:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T01:38:56.000Z (about 2 years ago)
- Last Synced: 2024-10-31T16:37:34.102Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 78.4 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Libertas
## App Usage
### Step 1: Network-related registration.
1. Administrator registers new user identities with the CA by providing **enrollmentID**, **affiliation**, and **role**. CA returns enrollment **secret** to administrator. Additionally, the administrator will need to provide the new user's legal **name** and **accountType** as attributes to be used by the Libertas account.
2. Administrator provides enrollment ID and secret to actual users (through mail, email, or other secure means).
3. Users enroll their identities on the network with the provided enrollment ID and secret. User securely receives their locally generated public and private keys, and a signed certificate in their wallet.
### Step 2: App-related registration.
1. Users create Libertas account by providing their **id**, **name**, **email**, and **accountType**. The **id** must be the same as the network enrollment ID provided by the administrator, **name** must be the user's legal name, and **accountType** must be the correct **accountType**. The user may choose an **email** to be associated with this Libertas account.
2. Users may call chaincode functions by providing their network identities (through their wallets), which are now associated with a unique Libertas account.Note: Steps 1.3 and 2.1 should probably seem like a single "Create Account" step in the UI.
## Fabric Installation
Install Samples, Binaries and Docker Images: https://hyperledger-fabric.readthedocs.io/en/release-1.4/install.html
1. cd into root directory
2. curl -sSL http://bit.ly/2ysbOFE | bash -s -- 1.4.1 1.4.1## Network
Use buildDevelopmentNetwork.sh to bring up a two-organization, solo fabric network with credentials pre-generated
using the cryptogen tool. Docker containers are on debug mode.TODO: Replace CLI, implement raft ordering service
Current Implementation:
Cryptogen pre-generates the private/public key pairs and the corresponding certificates at system setup. Admin user
can enroll directly using ID: admin and Secret: adminpw after the network is set up.## Dependencies
* Nodejs
* npm
* Golang
* Docker
* Docker-compose
* build-essentials(for linux)
* Fabric binaries## Priorities
* Finish connecting backend and frontend, chaincode, HTTP APIs
* Fix gRPC
* Finish no-more-cli and get no-more-cryptogen running