项目作者: stefan2904

项目描述 :
aries-framework-go playground
高级语言: Python
项目地址: git://github.com/stefan2904/aries-experiments.git
创建时间: 2021-01-15T18:02:58Z
项目社区:https://github.com/stefan2904/aries-experiments

开源协议:

下载


Stefan’s Aries Experiments

Init Demos

  • Install docker, docker-compose, etc.
  • Gen some crypto material: bash generate_test_keys.sh

Demo 1

  • Simple agent connection, using Peer DID, no sidetree or ledger
    • Establishes DIDExchange connection and issues a credential to Agent 2
  • some containers via docker-compose.yml:
  • some configuration in demo1/.env

Run it

  1. cd demo1
  2. docker-compose -f docker-compose.yml up --force-recreate -d
  3. python3 demoA.py

Demo 2

  • similar as demo 1, but with sidetree
  • currently not working

Update Agent API specs

  • clone/pull https://github.com/hyperledger/aries-framework-go
  • run make generate-openapi-demo-specs
  • copy into demo1: cp ../aries-framework-go/test/bdd/fixtures/demo/openapi/specs/openapi-localhost:8082.yml demo1/specs/openapi-university.yml
  • copy into demo2: cp ../aries-framework-go/test/bdd/fixtures/demo/openapi/specs/openapi-localhost:8082.yml demo2/specs/openapi-university.yml
  • etc.