Skip to content

Latest commit

 

History

History
170 lines (115 loc) · 2.32 KB

README.md

File metadata and controls

170 lines (115 loc) · 2.32 KB

GraDAuth

GradAuth Reinforces Anonymity in Decentralized Authorization

Folder structure

./
├── app/
│   ├── backend/
│   │   ├── src/
│   │   └── ...
│   └── frontend/
│       ├── src/
│       └── ...
├── fabric/
│   ├── ca/
│   │   ├── src/
│   │   └── ...
│   ├── chaincode/
│   │   ├── src/
│   │   └── ...
│   ├── electron/
│   │   ├── src/
│   │   └── ...
│   ├── frontend/
│   │   ├── src/
│   │   └── ...
│   └── network/
│       └── ...
└── lib/
    ├── mcl
    └── ...

Notes

Download binaries

directory: fabric/network/

download from here and here.

only configtxgen, fabric-ca-client, osnadmin and peer are needed.

Install CA dependencies

directory: fabric/ca/

yarn --ignore-engines

Install chaincode dependencies

directory: fabric/chaincode/

yarn --ignore-engines

Install GraDAuth electron dependencies

directory: fabric/electron/

yarn --ignore-engines

Install GraDAuth frontend dependencies

directory: fabric/frontend/

yarn

Install App frontend dependencies

directory: app/frontend/

yarn

Install App backend dependencies

directory: app/backend/

yarn --ignore-engines

Start network

directory: fabric/network/

./network.sh up

Create channel

directory: fabric/network/

./network.sh createChannel

Deploy/Upgrade chaincode

directory: fabric/network/

./network.sh deployCC -n GraDAuth

Run CA

directory: fabric/ca/

yarn start

Run GraDAuth frontend

directory: fabric/frontend/

yarn start

Run GraDAuth electron

directory: fabric/electron/

yarn start

Run App backend

directory: app/backend/

yarn start

URL: http://127.0.0.1:4001

Run App frontend

directory: app/frontend/

yarn start

URL: http://127.0.0.1:3001

Build frontend and electron

cd fabric/frontend
yarn build
cd ../electron
yarn build