Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #33 from walt-id/feat/keri-pre
Browse files Browse the repository at this point in the history
feat(keri): config and scripts pre-requisites
  • Loading branch information
aminbenmansour authored Oct 17, 2023
2 parents ef3be4a + e490a37 commit 7f70151
Show file tree
Hide file tree
Showing 6 changed files with 80 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/keri/cf/controller-oobi-bootstrap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"dt": "2022-01-20T12:57:59.823350+00:00",
"iurls": [
"http://127.0.0.1:5642/oobi/BBilc4-L3tFUnfM_wJr4S4OJanAv_VmF_dJNN6vkf2Ha",
"http://127.0.0.1:5643/oobi/BLskRTInXnMxWaGqcpSyMgo0nYbalW99cGZESrz3zapM",
"http://127.0.0.1:5644/oobi/BIKKuvBwpmDVA4Ds-EpL5bt9OqPzWPja2LigFYZN2YfX"
]
}
13 changes: 13 additions & 0 deletions config/keri/cf/inception-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"transferable": true,
"wits": [
"BBilc4-L3tFUnfM_wJr4S4OJanAv_VmF_dJNN6vkf2Ha",
"BLskRTInXnMxWaGqcpSyMgo0nYbalW99cGZESrz3zapM",
"BIKKuvBwpmDVA4Ds-EpL5bt9OqPzWPja2LigFYZN2YfX"
],
"toad": 3,
"icount": 1,
"ncount": 1,
"isith": "1",
"nsith": "1"
}
8 changes: 8 additions & 0 deletions config/keri/cf/main/wan-witness.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"wan": {
"dt": "2022-01-20T12:57:59.823350+00:00",
"curls": ["tcp://127.0.0.1:5632/", "http://127.0.0.1:5642/"]
},
"dt": "2022-01-20T12:57:59.823350+00:00",
"iurls": []
}
8 changes: 8 additions & 0 deletions config/keri/cf/main/wes-witness.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"wes": {
"dt": "2022-01-20T12:57:59.823350+00:00",
"curls": ["tcp://127.0.0.1:5634/", "http://127.0.0.1:5644/"]
},
"dt": "2022-01-20T12:57:59.823350+00:00",
"iurls": []
}
8 changes: 8 additions & 0 deletions config/keri/cf/main/wil-witness.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"wil": {
"dt": "2022-01-20T12:57:59.823350+00:00",
"curls": ["tcp://127.0.0.1:5633/", "http://127.0.0.1:5643/"]
},
"dt": "2022-01-20T12:57:59.823350+00:00",
"iurls": []
}
35 changes: 35 additions & 0 deletions config/keri/scripts/witnesses.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/bin/bash

CONFIG_DIR="config"

# initiating witnesses
kli init --name wan --salt 0AB3YW5uLXRoZS13aXRuZXNz --nopasscode \
--config-dir "${CONFIG_DIR}" \
--config-file main/wan-witness

kli witness start --name wan --alias wan -T 5632 -H 5642 \
--config-dir "${CONFIG_DIR}" \
--config-file wan-witness &
WAN_WITNESS_PID=$!


kli init --name wil --salt 0AB3aWxsLXRoZS13aXRuZXNz --nopasscode \
--config-dir "${CONFIG_DIR}" \
--config-file main/wil-witness


kli witness start --name wil --alias wil -T 5633 -H 5643 \
--config-dir "${CONFIG_DIR}" \
--config-file wil-witness &
WIL_WITNESS_PID=$!


kli init --name wes --salt 0AB3ZXNzLXRoZS13aXRuZXNz --nopasscode \
--config-dir "${CONFIG_DIR}" \
--config-file main/wes-witness


kli witness start --name wes --alias wes -T 5634 -H 5644 \
--config-dir "${CONFIG_DIR}" \
--config-file wes-witness &
WES_WITNESS_PID=$!

0 comments on commit 7f70151

Please sign in to comment.