jainkrati / PraSaga_projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PraSaga_projects

This is the repo for PraSaga training I conducted for HER Dao on 5th August. PraSaga environment setup as per instructions explained in video

Additional Setup Instructions:

  1. Make an account at xbom.io and understand the inspiration behind PraSaga
  2. Setup Amazon Workspaces as per link
  3. In Desktop Client for AWS Workspaces, login with any user of the workspace you created.
  4. Install git, curl, 1.13.14 version of golang, docker and docker-compose:

(if error: Got permission denied while trying to connect to the Docker)

  • sudo chmod -x /var/run/docker.sock

  • sudo chmod 666 /var/run/docker.sock

  • Create prasaga folder in home in terminal:

    • mkdir /home/prasaga
    • cd /home/prasaga
  • Execute the bootstrap shell script in same /home/prasaga: curl -sSL https://code.prasaga.com/dbeberman/hlfxbom-public/-/raw/BoschHackathon/xbombootstrap.sh | bash -s

  • cd /home/prasaga/fabric-samples/chaincode/classmanager

  • ./maketgz

  • GOPATH environment variable must include /home/prasaga/xbom/classmanagerchaincode - nano .bashrc - export GOPATH=$GOPATH:/home/prasaga/xbom/classmanagerchaincode - source .bashrc

  • Move to test-network in fabric-samples and execute - ./network up - ./network.sh createChannel

  1. Understand hyperledger and learn to do different operations on test network

  2. Get prepared to code in Go (for Smart objects) and Python (for transaction scripts)

  3. Go through example prasaga transaction code

About