forked from openwallet-foundation/acapy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
alice-local.sh
executable file
·35 lines (33 loc) · 1.35 KB
/
alice-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 ../requirements.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:8030 \
--label alice.agent \
--inbound-transport http 0.0.0.0 8030 \
--outbound-transport http \
--admin 0.0.0.0 8031 \
--admin-insecure-mode \
--wallet-type askar \
--wallet-name alice.agent420695 \
--wallet-key alice.agent420695 \
--preserve-exchange-records \
--auto-provision \
--genesis-url http://localhost:9000/genesis \
--trace-target log \
--trace-tag acapy.events \
--trace-label alice.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 \