forked from openwallet-foundation/acapy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
faber-local.sh
executable file
·35 lines (33 loc) · 1.34 KB
/
faber-local.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
# this runs the Faber example as a local instace of instance of aca-py
# you need to run a local von-network (in the von-network directory run "./manage start <your local ip> --logs")
# ... and you need to install the local aca-py python libraries locally ("pip install -r ../requriements.txt -r ../requirements.indy.txt -r ../requirements.bbs.txt")
# the following will auto-respond on connection and credential requests, but not proof requests
PYTHONPATH=.. ../bin/aca-py start \
--endpoint http://127.0.0.1:8020 \
--label faber.agent \
--inbound-transport http 0.0.0.0 8020 \
--outbound-transport http \
--admin 0.0.0.0 8021 \
--admin-insecure-mode \
--wallet-type indy \
--wallet-name faber.agent916333 \
--wallet-key faber.agent916333 \
--preserve-exchange-records \
--auto-provision \
--genesis-url http://localhost:9000/genesis \
--trace-target log \
--trace-tag acapy.events \
--trace-label faber.agent.trace \
--auto-ping-connection \
--auto-respond-messages \
--auto-accept-invites \
--auto-accept-requests \
--auto-respond-credential-proposal \
--auto-respond-credential-offer \
--auto-respond-credential-request \
--auto-store-credential
# set these for full auto
# --auto-respond-presentation-proposal \
# --auto-respond-presentation-request \
# --auto-verify-presentation \