@@ -16,7 +16,7 @@ you are using (with the highest value for `J`).
16
16
17
17
Requirements:
18
18
- Python 3.6 or higher
19
- - ACA-Py
19
+ - ACA-Py 0.5.6
20
20
21
21
### Setup Aries Cloud Agent - Python
22
22
@@ -26,42 +26,50 @@ noting that this is not the only way to setup an ACA-Py instance. For more setup
26
26
configurations, see the [ Aries Cloud Agent - Python
27
27
repository] ( https://github.com/hyperledger/aries-cloudagent-python ) .
28
28
29
- First, clone
30
- [ ACA-Py] ( https://github.com/hyperledger/aries-cloudagent-python ) and prepare a
31
- virtual environment:
29
+ First, prepare a virtual environment:
32
30
``` sh
33
- $ git clone https://github.com/hyperledger/aries-cloudagent-python
34
- $ cd aries-cloudagent-python
35
31
$ python3 -m venv env
36
32
$ source env/bin/activate
37
33
```
38
34
39
- Install ACA-Py into the virtual environment:
35
+ Install ACA-Py 0.5.6 into the virtual environment:
40
36
``` sh
41
- $ pip install -e .
42
- ```
43
- ** Or** include the ` indy ` feature if you want to use Indy ledgers or wallets:
44
- ``` sh
45
- $ pip install -e .[indy]
37
+ $ pip install aries-cloudagent==0.5.6
46
38
```
47
39
48
40
### Plugin Installation
49
41
50
42
Install this plugin into the virtual environment:
51
43
52
44
``` sh
53
- $ pip install git+https://github.com/decentralised-dataexchange/acapy-mydata-did-protocol.git@master#egg=mydata_did
45
+ $ pip install git+https://github.com/decentralised-dataexchange/acapy-mydata-did-protocol.git@master
54
46
```
55
47
56
- ** Note:** Depending on your version of ` pip ` , you may need to drop the
57
- ` #egg=... ` to install the plugin with the above command.
48
+ ** Note:** Depending on your version of ` pip ` , you may need to drop or the
49
+ ` #egg=mydata_did ` to install the plugin with the above command.
58
50
59
51
### Plugin Loading
60
52
Start up ACA-Py with the plugin parameter:
61
53
``` sh
62
54
$ aca-py start \
63
- -it http localhost 3000 -it ws localhost 3001 \
55
+ -it http 0.0.0.0 8002 \
64
56
-ot http \
65
- -e http://localhost:3000 ws://localhost:3001 \
57
+ -e " http://localhost:8002/" \
58
+ --label " Agent" \
59
+ --admin 0.0.0.0 8001 \
60
+ --admin-insecure-mode \
61
+ --auto-accept-requests \
62
+ --auto-ping-connection \
63
+ --auto-respond-credential-offer \
64
+ --auto-respond-credential-request \
65
+ --auto-store-credential \
66
+ --auto-respond-presentation-proposal \
67
+ --auto-respond-presentation-request \
68
+ --auto-verify-presentation \
69
+ --genesis-url https://indy.igrant.io/genesis \
70
+ --wallet-type indy \
71
+ --wallet-name " agent_wallet" \
72
+ --log-level info \
73
+ --wallet-key " wallet@123" \
66
74
--plugin " mydata_did"
67
75
```
0 commit comments