You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+56-1Lines changed: 56 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,62 @@ and align with the decentralized governance objectives of Cardano's Voltaire era
20
20
21
21
### Using Docker
22
22
23
-
Setup the required dependencies by running the command locally.
23
+
Before running whole service locally using docker you need to add few of the environment variables
24
+
on file `docker-compose.dev.yml`
25
+
26
+
##### api
27
+
- AGENT_MNEMONIC
28
+
- Add seed phrase to generate wallet
29
+
30
+
##### agent_manager
31
+
- KUBER_API_KEY
32
+
- Visit [KuberIde](https://kuberide.com/kuber/settings/api-keys) and generate api-key
33
+
- MANAGER_WALLET_ADDRESS (OPTIONAL)
34
+
- MANAGER_WALLET_SIGNING_KEY (OPTIONAL)
35
+
- Add a wallet address having sufficient ADA so that it can be used to transfer ADA to agent when requested
36
+
- FAUCET_API_KEY (OPTIONAL)
37
+
- Add faucet api key to load ADA which will be used to transfer ADA to agents as per request. And it will only be used if the provided `MANAGER_WALLET_ADDRESS` doesnot have sufficient ADA.
38
+
- AGENT_MNEMONIC
39
+
- Add seed phrase to generate wallet that should be same as added in `api`
40
+
- BLOCKFROST_API_KEY (Required if ENABLE_BLOCKFROST_SUBMIT_API is 'True' or enabled)
41
+
- Visit [Blockfrost](https://blockfrost.io/) and sign up and generate api key
42
+
43
+
Note: environment variable `ENABLE_BLOCKFROST_SUBMIT_API` is preferred as if it is not enabled then `Kuber` will be used to submit the transaction which might take couple of minutes.
44
+
45
+
##### dbsync
46
+
- DATABASE_URL
47
+
- Add database url of dbsync
48
+
49
+
Furthermore all env are setup to run in `Sanchonet` so if you want to run in `Preprod` or `Preview`
50
+
Network then following environment variables are to be updated:
51
+
52
+
##### frontend
53
+
- NEXT_PUBLIC_NETWORK_NAME
54
+
- preview or preprod
55
+
56
+
##### api and manager
57
+
- DB_SYNC_BASE_URL
58
+
-https://preprod-dbync.agents.cardanoapi.io/api for `preprod`
59
+
-https://preview-dbync.agents.cardanoapi.io/api for `preview`
60
+
61
+
##### manager only
62
+
- KUBER_BASE_URL
63
+
-https://preview.kuber.cardanoapi.io for `preview`
64
+
-https://preprod.kuber.cardanoapi.io for `preprod`
65
+
66
+
- CARDANO_NETWORK_MAGIC
67
+
- 3 for `preview`
68
+
- 2 for `preprod`
69
+
70
+
- BLOCKFROST_API_KEY
71
+
- Visit [Blockfrost](https://blockfrost.io/) and sign up and generate api key based on desired network type
72
+
73
+
- NETWORK_NAME
74
+
- preprod or preview
75
+
76
+
##### dbsync
77
+
- DATABASE_URL
78
+
- Update the dbsync database url and database name accordingly
0 commit comments