diff --git a/README.md b/README.md index 5dd6edcf..ed3ec528 100644 --- a/README.md +++ b/README.md @@ -84,13 +84,13 @@ http://localhost:8080/p8e-cee-api/secure/docs/api.html As a convenience, you can publish contracts from another repository without leaving this project in the command line. ``` -./dc.sh -p publish +./dc.sh -p -v publish ``` For example: ``` -./dc.sh -p ../../provenance-io/loan-package-contracts publish +./dc.sh -p ../../provenance-io/loan-package-contracts -v 0.3.2 publish ``` Note: This convenience method uses preset environment variables found in `/service/docker/bootstrap.env` and assumes the address used to sign the transactions associated with publishing the contracts is listed in the genesis block (`/service/docker/prov-init/config/genesis.json`). diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index 7b9b2e16..6ccee00c 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -36,7 +36,7 @@ object Versions { const val ProvenanceClient = "1.1.1" const val Unirest = "3.13.6" const val KeyAccessLib = "0.2.18" - const val LoanPackage = "0.3.1" + const val LoanPackage = "0.3.2" const val Grpc = "1.45.0" const val ProvenanceProto = "1.8.0" const val Reflections = "0.9.10" diff --git a/dc.sh b/dc.sh index 859fe138..37eddf7d 100755 --- a/dc.sh +++ b/dc.sh @@ -29,23 +29,33 @@ function up { sh service/docker/vault/init-and-unseal.sh 'http://127.0.0.1:8200' 'kv2_originations' sleep 2 - sh service/docker/vault/add-secret.sh 'http://127.0.0.1:8200' 'kv2_originations' deadbeef-face-479b-860c-facefaceface \ - 0A4104C51E49E4F0ABA2FD5B8CF99445D6D6C385164DBC8F35E7374CAC241D4155ADC48EF9B199F799DC865EC24AF54376CF5DD29A1287F1FD3410709A62F5DDE49349 \ - 0A4104C51E49E4F0ABA2FD5B8CF99445D6D6C385164DBC8F35E7374CAC241D4155ADC48EF9B199F799DC865EC24AF54376CF5DD29A1287F1FD3410709A62F5DDE49349 \ - 0A4104C51E49E4F0ABA2FD5B8CF99445D6D6C385164DBC8F35E7374CAC241D4155ADC48EF9B199F799DC865EC24AF54376CF5DD29A1287F1FD3410709A62F5DDE49349 \ - 0A201AD27E627DD0A6A5816D293C41DF801D3E7BA868EEC0F433FDA581D71E38016E \ - 0A201AD27E627DD0A6A5816D293C41DF801D3E7BA868EEC0F433FDA581D71E38016E \ - 0A201AD27E627DD0A6A5816D293C41DF801D3E7BA868EEC0F433FDA581D71E38016E \ - "stable payment cliff fault abuse clinic bus belt film then forward world goose bring picnic rich special brush basic lamp window coral worry change" - - sh service/docker/vault/add-secret.sh 'http://127.0.0.1:8200' 'kv2_originations' deadbeef-face-2222-860c-facefaceface \ - 0A41042C52EB79307D248B6CFB2A4AF562E403D4826BB0F540F024BBC3937528F6EB0B7FFA7A6585B751DBA25C173E658F3FEAAB0F05980C76E985CE0D55294F3600D7 \ - 0A41042C52EB79307D248B6CFB2A4AF562E403D4826BB0F540F024BBC3937528F6EB0B7FFA7A6585B751DBA25C173E658F3FEAAB0F05980C76E985CE0D55294F3600D7 \ - 0A41042C52EB79307D248B6CFB2A4AF562E403D4826BB0F540F024BBC3937528F6EB0B7FFA7A6585B751DBA25C173E658F3FEAAB0F05980C76E985CE0D55294F3600D7 \ - 0A2100AF41AAD44E6D0A1DF587491D01C11DB4E0F1BBDDE33F19CB2C4ADDDBE7FC82C4 \ - 0A2100AF41AAD44E6D0A1DF587491D01C11DB4E0F1BBDDE33F19CB2C4ADDDBE7FC82C4 \ - 0A2100AF41AAD44E6D0A1DF587491D01C11DB4E0F1BBDDE33F19CB2C4ADDDBE7FC82C4 \ - "jealous bright oyster fluid guide talent crystal minor modify broken stove spoon pen thank action smart enemy chunk ladder soon focus recall elite pulp" + + export VAULT_ADDR="http://127.0.0.1:8200" + SECRET_PATH=kv2_originations + # local-originator + cat service/docker/vault/secrets/local-originator.json | vault kv put $SECRET_PATH/originators/00000000-0000-0000-0000-000000000001 - > /dev/null + cat service/docker/vault/secrets/local-originator.json | vault kv put $SECRET_PATH/originators/tp1qy2mqx5x22a400pgd5p6u7mq9shxzvh767jar0 - > /dev/null + # local-servicer + cat service/docker/vault/secrets/local-servicer.json | vault kv put $SECRET_PATH/originators/00000000-0000-0000-0000-000000000002 - > /dev/null + cat service/docker/vault/secrets/local-servicer.json | vault kv put $SECRET_PATH/originators/tp1xr3wfqzlcz469wkex5c3ylaq8pq97crhsg57gd - > /dev/null + # local-dart + cat service/docker/vault/secrets/local-dart.json | vault kv put $SECRET_PATH/originators/00000000-0000-0000-0000-000000000003 - > /dev/null + cat service/docker/vault/secrets/local-dart.json | vault kv put $SECRET_PATH/originators/tp1s2c62ke0mmwhqxguf7e2pt6e98yq38m4atwhwl - > /dev/null + # local-portfolio-manager + cat service/docker/vault/secrets/local-portfolio-manager.json | vault kv put $SECRET_PATH/originators/00000000-0000-0000-0000-000000000004 - > /dev/null + cat service/docker/vault/secrets/local-portfolio-manager.json | vault kv put $SECRET_PATH/originators/tp1mryqzguyelef5dae7k6l22tnls93cvrc60tjdc - > /dev/null + # local-controller-a + cat service/docker/vault/secrets/local-portfolio-manager.json | vault kv put $SECRET_PATH/originators/00000000-0000-0000-0000-000000000005 - > /dev/null + cat service/docker/vault/secrets/local-portfolio-manager.json | vault kv put $SECRET_PATH/originators/tp138jtpz5zxa6yc33s0fk2jy9vahqcuvvtwnrzge - > /dev/null + # local-controller-b + cat service/docker/vault/secrets/local-portfolio-manager.json | vault kv put $SECRET_PATH/originators/00000000-0000-0000-0000-000000000006 - > /dev/null + cat service/docker/vault/secrets/local-portfolio-manager.json | vault kv put $SECRET_PATH/originators/tp1pz4tt4j802j2y3avs5mwy9uyyxtx7k5r8qlehw - > /dev/null + # local-validator + cat service/docker/vault/secrets/local-portfolio-manager.json | vault kv put $SECRET_PATH/originators/00000000-0000-0000-0000-000000000007 - > /dev/null + cat service/docker/vault/secrets/local-portfolio-manager.json | vault kv put $SECRET_PATH/originators/tp1he6rfnxyx2ssqyknq4ayzf5j46dp29pqt6z708 - > /dev/null + # local-investor + cat service/docker/vault/secrets/local-portfolio-manager.json | vault kv put $SECRET_PATH/originators/00000000-0000-0000-0000-000000000008 - > /dev/null + cat service/docker/vault/secrets/local-portfolio-manager.json | vault kv put $SECRET_PATH/originators/tp1f99dgtxxjmgczjsuc48utq4lkk0uhx6eqfqju0 - > /dev/null docker ps -a diff --git a/service/docker/prov-init/config/genesis.json b/service/docker/prov-init/config/genesis.json index beab0e68..0f7420c6 100644 --- a/service/docker/prov-init/config/genesis.json +++ b/service/docker/prov-init/config/genesis.json @@ -46,49 +46,63 @@ }, { "@type": "/cosmos.auth.v1beta1.BaseAccount", - "address": "tp1qhvq8nc6y5lv0stdrkzk4efvywf28jtu9lhkag", + "address": "tp1qy2mqx5x22a400pgd5p6u7mq9shxzvh767jar0", "pub_key": null, "account_number": "0", "sequence": "0" }, { "@type": "/cosmos.auth.v1beta1.BaseAccount", - "address": "tp1hkmeqltzrhu9xc9x7mdrx7clfe7j5gwpvp82f0", + "address": "tp1xr3wfqzlcz469wkex5c3ylaq8pq97crhsg57gd", "pub_key": null, "account_number": "0", "sequence": "0" }, { "@type": "/cosmos.auth.v1beta1.BaseAccount", - "address": "tp1qxdzlwlqag3m466gsgps34dmu60096hq2dn9yl", + "address": "tp1s2c62ke0mmwhqxguf7e2pt6e98yq38m4atwhwl", "pub_key": null, "account_number": "0", "sequence": "0" }, { "@type": "/cosmos.auth.v1beta1.BaseAccount", - "address": "tp1vz99nyd2er8myeugsr4xm5duwhulhp5arsr9wt", + "address": "tp1mryqzguyelef5dae7k6l22tnls93cvrc60tjdc", "pub_key": null, "account_number": "0", "sequence": "0" }, { "@type": "/cosmos.auth.v1beta1.BaseAccount", - "address": "tp1c87ujqlc7wvstate9qcfu7tglesy3m7tnfwfrm", + "address": "tp138jtpz5zxa6yc33s0fk2jy9vahqcuvvtwnrzge", "pub_key": null, "account_number": "0", "sequence": "0" }, { "@type": "/cosmos.auth.v1beta1.BaseAccount", - "address": "tp1mryqzguyelef5dae7k6l22tnls93cvrc60tjdc", + "address": "tp1pz4tt4j802j2y3avs5mwy9uyyxtx7k5r8qlehw", "pub_key": null, "account_number": "0", "sequence": "0" }, { "@type": "/cosmos.auth.v1beta1.BaseAccount", - "address": "tp1s2c62ke0mmwhqxguf7e2pt6e98yq38m4atwhwl", + "address": "tp1he6rfnxyx2ssqyknq4ayzf5j46dp29pqt6z708", + "pub_key": null, + "account_number": "0", + "sequence": "0" + }, + { + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "address": "tp1f99dgtxxjmgczjsuc48utq4lkk0uhx6eqfqju0", + "pub_key": null, + "account_number": "0", + "sequence": "0" + }, + { + "@type": "/cosmos.auth.v1beta1.BaseAccount", + "address": "tp1c87ujqlc7wvstate9qcfu7tglesy3m7tnfwfrm", "pub_key": null, "account_number": "0", "sequence": "0" @@ -134,70 +148,88 @@ "coins": [ { "denom": "nhash", - "amount": "12500000000000000000" + "amount": "10000000000000000000" + } + ] + }, + { + "address": "tp1qy2mqx5x22a400pgd5p6u7mq9shxzvh767jar0", + "coins": [ + { + "denom": "nhash", + "amount": "10000000000000000000" } ] }, { - "address": "tp1qhvq8nc6y5lv0stdrkzk4efvywf28jtu9lhkag", + "address": "tp1xr3wfqzlcz469wkex5c3ylaq8pq97crhsg57gd", "coins": [ { "denom": "nhash", - "amount": "12500000000000000000" + "amount": "10000000000000000000" } ] }, { - "address": "tp1hkmeqltzrhu9xc9x7mdrx7clfe7j5gwpvp82f0", + "address": "tp1s2c62ke0mmwhqxguf7e2pt6e98yq38m4atwhwl", "coins": [ { "denom": "nhash", - "amount": "12500000000000000000" + "amount": "10000000000000000000" } ] }, { - "address": "tp1qxdzlwlqag3m466gsgps34dmu60096hq2dn9yl", + "address": "tp1mryqzguyelef5dae7k6l22tnls93cvrc60tjdc", "coins": [ { "denom": "nhash", - "amount": "12500000000000000000" + "amount": "10000000000000000000" } ] }, { - "address": "tp1vz99nyd2er8myeugsr4xm5duwhulhp5arsr9wt", + "address": "tp138jtpz5zxa6yc33s0fk2jy9vahqcuvvtwnrzge", "coins": [ { "denom": "nhash", - "amount": "12500000000000000000" + "amount": "10000000000000000000" } ] }, { - "address": "tp1c87ujqlc7wvstate9qcfu7tglesy3m7tnfwfrm", + "address": "tp1pz4tt4j802j2y3avs5mwy9uyyxtx7k5r8qlehw", "coins": [ { "denom": "nhash", - "amount": "12500000000000000000" + "amount": "10000000000000000000" } ] }, { - "address": "tp1s2c62ke0mmwhqxguf7e2pt6e98yq38m4atwhwl", + "address": "tp1he6rfnxyx2ssqyknq4ayzf5j46dp29pqt6z708", "coins": [ { "denom": "nhash", - "amount": "12500000000000000000" + "amount": "10000000000000000000" } ] }, { - "address": "tp1mryqzguyelef5dae7k6l22tnls93cvrc60tjdc", + "address": "tp1f99dgtxxjmgczjsuc48utq4lkk0uhx6eqfqju0", + "coins": [ + { + "denom": "nhash", + "amount": "10000000000000000000" + } + ] + }, + { + "address": "tp1c87ujqlc7wvstate9qcfu7tglesy3m7tnfwfrm", "coins": [ { "denom": "nhash", - "amount": "12500000000000000000" + "amount": "10000000000000000000" } ] } diff --git a/service/docker/vault/add-secret.sh b/service/docker/vault/add-secret.sh deleted file mode 100644 index f282756b..00000000 --- a/service/docker/vault/add-secret.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash -set -e - -export VAULT_ADDR=$1 -export SECRET_PATH=$2 -export ORIGINATOR_UUID=$3 -export PUBLIC_ENCRYPTION_KEY=$4 -export PUBLIC_SIGNING_KEY=$5 -export PUBLIC_AUTHORIZATION_KEY=$6 -export PRIVATE_ENCRYPTION_KEY=$7 -export PRIVATE_SIGNING_KEY=$8 -export PRIVATE_AUTHORIZATION_KEY=$9 -export MNEMONIC="${10}" - -printf "\nInserting dev key pair as LOCAL secret..\n" - -vault kv put $SECRET_PATH/originators/$ORIGINATOR_UUID \ - private_encryption_key=$PRIVATE_ENCRYPTION_KEY \ - public_encryption_key=$PUBLIC_ENCRYPTION_KEY \ - private_signing_key=$PRIVATE_SIGNING_KEY \ - public_signing_key=$PUBLIC_SIGNING_KEY \ - public_auth_key=$PUBLIC_AUTHORIZATION_KEY \ - private_auth_key=$PRIVATE_AUTHORIZATION_KEY \ - private_mnemonic="$MNEMONIC" - > /dev/null - -printf "\n" diff --git a/service/docker/vault/secrets/local-controller-a.json b/service/docker/vault/secrets/local-controller-a.json new file mode 100644 index 00000000..fb776ae9 --- /dev/null +++ b/service/docker/vault/secrets/local-controller-a.json @@ -0,0 +1,9 @@ +{ + "private_auth_key": "0A207EA5368D527F633A76EA43EC6103574C72BB9175A6C8D381D8403CAD70A928B6", + "private_encryption_key": "0A207EA5368D527F633A76EA43EC6103574C72BB9175A6C8D381D8403CAD70A928B6", + "private_mnemonic": "bonus boil music behave car glimpse hammer source dizzy lonely define sentence square drink upset sorry canal define grass rib narrow diamond hope crane", + "private_signing_key": "0A207EA5368D527F633A76EA43EC6103574C72BB9175A6C8D381D8403CAD70A928B6", + "public_auth_key": "0A4104D7820B3244C3F72A1D2631E089E6C40D7D8C88221E771ED631402AC025E59D9CFF82078F4492E231691A6C4D1D36F085CD7B3ED699C35C685E462E4106C13A1C", + "public_encryption_key": "0A4104D7820B3244C3F72A1D2631E089E6C40D7D8C88221E771ED631402AC025E59D9CFF82078F4492E231691A6C4D1D36F085CD7B3ED699C35C685E462E4106C13A1C", + "public_signing_key": "0A4104D7820B3244C3F72A1D2631E089E6C40D7D8C88221E771ED631402AC025E59D9CFF82078F4492E231691A6C4D1D36F085CD7B3ED699C35C685E462E4106C13A1C" +} diff --git a/service/docker/vault/secrets/local-controller-b.json b/service/docker/vault/secrets/local-controller-b.json new file mode 100644 index 00000000..9ed7eb25 --- /dev/null +++ b/service/docker/vault/secrets/local-controller-b.json @@ -0,0 +1,9 @@ +{ + "private_auth_key": "0A202675A4D7A5842EECBC7263C2F7B03B06A718A22FE23A451A1276648013516ECA", + "private_encryption_key": "0A202675A4D7A5842EECBC7263C2F7B03B06A718A22FE23A451A1276648013516ECA", + "private_mnemonic": "cheese swift able core escape relax multiply car mango taxi fatal similar walnut mammal bonus problem spike segment fold sell pipe safe canvas discover", + "private_signing_key": "0A202675A4D7A5842EECBC7263C2F7B03B06A718A22FE23A451A1276648013516ECA", + "public_auth_key": "0A41042CBCF196465B44C6F4245526118E0EBBB13EDC028F07B7A0DD695524001F03BF868D0AAA42462A662253EA39CEA5913508458A9BF008039844D05CCFEAB3A3F0", + "public_encryption_key": "0A41042CBCF196465B44C6F4245526118E0EBBB13EDC028F07B7A0DD695524001F03BF868D0AAA42462A662253EA39CEA5913508458A9BF008039844D05CCFEAB3A3F0", + "public_signing_key": "0A41042CBCF196465B44C6F4245526118E0EBBB13EDC028F07B7A0DD695524001F03BF868D0AAA42462A662253EA39CEA5913508458A9BF008039844D05CCFEAB3A3F0" +} diff --git a/service/docker/vault/secrets/local-dart.json b/service/docker/vault/secrets/local-dart.json new file mode 100644 index 00000000..f16bb72c --- /dev/null +++ b/service/docker/vault/secrets/local-dart.json @@ -0,0 +1,9 @@ +{ + "private_auth_key": "0A201AD27E627DD0A6A5816D293C41DF801D3E7BA868EEC0F433FDA581D71E38016E", + "private_encryption_key": "0A201AD27E627DD0A6A5816D293C41DF801D3E7BA868EEC0F433FDA581D71E38016E", + "private_mnemonic": "stable payment cliff fault abuse clinic bus belt film then forward world goose bring picnic rich special brush basic lamp window coral worry change", + "private_signing_key": "0A201AD27E627DD0A6A5816D293C41DF801D3E7BA868EEC0F433FDA581D71E38016E", + "public_auth_key": "0A4104C51E49E4F0ABA2FD5B8CF99445D6D6C385164DBC8F35E7374CAC241D4155ADC48EF9B199F799DC865EC24AF54376CF5DD29A1287F1FD3410709A62F5DDE49349", + "public_encryption_key": "0A4104C51E49E4F0ABA2FD5B8CF99445D6D6C385164DBC8F35E7374CAC241D4155ADC48EF9B199F799DC865EC24AF54376CF5DD29A1287F1FD3410709A62F5DDE49349", + "public_signing_key": "0A4104C51E49E4F0ABA2FD5B8CF99445D6D6C385164DBC8F35E7374CAC241D4155ADC48EF9B199F799DC865EC24AF54376CF5DD29A1287F1FD3410709A62F5DDE49349" +} diff --git a/service/docker/vault/secrets/local-investor.json b/service/docker/vault/secrets/local-investor.json new file mode 100644 index 00000000..64814a34 --- /dev/null +++ b/service/docker/vault/secrets/local-investor.json @@ -0,0 +1,9 @@ +{ + "private_auth_key": "0A21009EDEB723C97D7F817341D8D3B9EE907BD02B1FAC4DF297A04D2C83A191D064A4", + "private_encryption_key": "0A21009EDEB723C97D7F817341D8D3B9EE907BD02B1FAC4DF297A04D2C83A191D064A4", + "private_mnemonic": "canvas split come electric critic blood other keen wreck present transfer pride coyote cushion island case stereo oak robot vital century advance slender clump", + "private_signing_key": "0A21009EDEB723C97D7F817341D8D3B9EE907BD02B1FAC4DF297A04D2C83A191D064A4", + "public_auth_key": "0A41044F0D7BD99105FFA7119D49BE2F939CAFAACBFB34010399D442A43B45CD38B985B5A80E258B8B7E3B79EE9F937FE6F1383BFD6B46E7B5CFDFFADC4D52ECB6EB13", + "public_encryption_key": "0A41044F0D7BD99105FFA7119D49BE2F939CAFAACBFB34010399D442A43B45CD38B985B5A80E258B8B7E3B79EE9F937FE6F1383BFD6B46E7B5CFDFFADC4D52ECB6EB13", + "public_signing_key": "0A41044F0D7BD99105FFA7119D49BE2F939CAFAACBFB34010399D442A43B45CD38B985B5A80E258B8B7E3B79EE9F937FE6F1383BFD6B46E7B5CFDFFADC4D52ECB6EB13" +} diff --git a/service/docker/vault/secrets/local-originator.json b/service/docker/vault/secrets/local-originator.json new file mode 100644 index 00000000..81d8cc7f --- /dev/null +++ b/service/docker/vault/secrets/local-originator.json @@ -0,0 +1,9 @@ +{ + "private_auth_key": "0A206FF378F6A6B7FBAD19F61AEDCB9AC421AB0DD02A71FFFDE14613CFD4335484A9", + "private_encryption_key": "0A206FF378F6A6B7FBAD19F61AEDCB9AC421AB0DD02A71FFFDE14613CFD4335484A9", + "private_mnemonic": "trash describe shield mixed elegant muffin vicious enable fish square female tongue want bridge space spy argue solution cargo rude visual wage salmon doll", + "private_signing_key": "0A206FF378F6A6B7FBAD19F61AEDCB9AC421AB0DD02A71FFFDE14613CFD4335484A9", + "public_auth_key": "0A4104CCB0868FE11FA3A1B079652BAD1C062B29E16630FD50A06EEB3CDA2B15B86AE330B86FEEF85CB4BDAB9F8E6F8CE0969446B8BB326875A329CB73BF2EC5D060DE", + "public_encryption_key": "0A4104CCB0868FE11FA3A1B079652BAD1C062B29E16630FD50A06EEB3CDA2B15B86AE330B86FEEF85CB4BDAB9F8E6F8CE0969446B8BB326875A329CB73BF2EC5D060DE", + "public_signing_key": "0A4104CCB0868FE11FA3A1B079652BAD1C062B29E16630FD50A06EEB3CDA2B15B86AE330B86FEEF85CB4BDAB9F8E6F8CE0969446B8BB326875A329CB73BF2EC5D060DE" +} diff --git a/service/docker/vault/secrets/local-portfolio-manager.json b/service/docker/vault/secrets/local-portfolio-manager.json new file mode 100644 index 00000000..f55c2978 --- /dev/null +++ b/service/docker/vault/secrets/local-portfolio-manager.json @@ -0,0 +1,9 @@ +{ + "private_auth_key": "0A2100AF41AAD44E6D0A1DF587491D01C11DB4E0F1BBDDE33F19CB2C4ADDDBE7FC82C4", + "private_encryption_key": "0A2100AF41AAD44E6D0A1DF587491D01C11DB4E0F1BBDDE33F19CB2C4ADDDBE7FC82C4", + "private_mnemonic": "jealous bright oyster fluid guide talent crystal minor modify broken stove spoon pen thank action smart enemy chunk ladder soon focus recall elite pulp", + "private_signing_key": "0A2100AF41AAD44E6D0A1DF587491D01C11DB4E0F1BBDDE33F19CB2C4ADDDBE7FC82C4", + "public_auth_key": "0A41042C52EB79307D248B6CFB2A4AF562E403D4826BB0F540F024BBC3937528F6EB0B7FFA7A6585B751DBA25C173E658F3FEAAB0F05980C76E985CE0D55294F3600D7", + "public_encryption_key": "0A41042C52EB79307D248B6CFB2A4AF562E403D4826BB0F540F024BBC3937528F6EB0B7FFA7A6585B751DBA25C173E658F3FEAAB0F05980C76E985CE0D55294F3600D7", + "public_signing_key": "0A41042C52EB79307D248B6CFB2A4AF562E403D4826BB0F540F024BBC3937528F6EB0B7FFA7A6585B751DBA25C173E658F3FEAAB0F05980C76E985CE0D55294F3600D7" +} diff --git a/service/docker/vault/secrets/local-servicer.json b/service/docker/vault/secrets/local-servicer.json new file mode 100644 index 00000000..b2afef8f --- /dev/null +++ b/service/docker/vault/secrets/local-servicer.json @@ -0,0 +1,9 @@ +{ + "private_auth_key": "0A21008A0512DDE5D659AEBB2FD45B2FE8CB7E36B9D639FD7E173D36F7693483956307", + "private_encryption_key": "0A21008A0512DDE5D659AEBB2FD45B2FE8CB7E36B9D639FD7E173D36F7693483956307", + "private_mnemonic": "awful arrow detail train either smoke right twice mesh language abstract dad child special credit sister winner toss expand good convince strike erode allow", + "private_signing_key": "0A21008A0512DDE5D659AEBB2FD45B2FE8CB7E36B9D639FD7E173D36F7693483956307", + "public_auth_key": "0A41049CE9928539154A24ED5BEAFAB2A76BA20CAAFEF3AB1B7657C75D6577E6C03FE98D20A1A240C6CDB06826CDF1C0C8E8794918787C28DCF4D8EE1E83A5F0B90EE9", + "public_encryption_key": "0A41049CE9928539154A24ED5BEAFAB2A76BA20CAAFEF3AB1B7657C75D6577E6C03FE98D20A1A240C6CDB06826CDF1C0C8E8794918787C28DCF4D8EE1E83A5F0B90EE9", + "public_signing_key": "0A41049CE9928539154A24ED5BEAFAB2A76BA20CAAFEF3AB1B7657C75D6577E6C03FE98D20A1A240C6CDB06826CDF1C0C8E8794918787C28DCF4D8EE1E83A5F0B90EE9" +} diff --git a/service/docker/vault/secrets/local-validator.json b/service/docker/vault/secrets/local-validator.json new file mode 100644 index 00000000..4844d7e1 --- /dev/null +++ b/service/docker/vault/secrets/local-validator.json @@ -0,0 +1,9 @@ +{ + "private_auth_key": "0A210087878B3B4816DCBFA37EBF5E3797558121D4C6199599B64D00B4F4957E48DF46", + "private_encryption_key": "0A210087878B3B4816DCBFA37EBF5E3797558121D4C6199599B64D00B4F4957E48DF46", + "private_mnemonic": "solve faint hour hotel depend order loud square hamster fashion clown worth biology please toy tone upgrade dizzy sniff person spell lamp inject life", + "private_signing_key": "0A210087878B3B4816DCBFA37EBF5E3797558121D4C6199599B64D00B4F4957E48DF46", + "public_auth_key": "0A4104D01052F8C39AED352D9656D5B10DD6D4ADCDD015374B02474C0F0485BE376DDF87D1C54ADF4001D1CE6FF4C65BF6149C90D67BAADA035E1935DA194A128863FD", + "public_encryption_key": "0A4104D01052F8C39AED352D9656D5B10DD6D4ADCDD015374B02474C0F0485BE376DDF87D1C54ADF4001D1CE6FF4C65BF6149C90D67BAADA035E1935DA194A128863FD", + "public_signing_key": "0A4104D01052F8C39AED352D9656D5B10DD6D4ADCDD015374B02474C0F0485BE376DDF87D1C54ADF4001D1CE6FF4C65BF6149C90D67BAADA035E1935DA194A128863FD" +} diff --git a/service/src/main/resources/application-development.properties b/service/src/main/resources/application-development.properties index 848d13cf..27743ea1 100644 --- a/service/src/main/resources/application-development.properties +++ b/service/src/main/resources/application-development.properties @@ -11,9 +11,9 @@ vault.address=${VAULT_ADDRESS:http://127.0.0.1:8200/v1/kv2_originations/data/ori vault.tokenPath=${VAULT_TOKEN_PATH:.vault-token} p8e.mainnet=false -p8e.members[0].uuid=deadbeef-face-479b-860c-facefaceface +p8e.members[0].uuid=00000000-0000-0000-0000-000000000003 p8e.members[0].name=DART -p8e.members[1].uuid=deadbeef-face-2222-860c-facefaceface +p8e.members[1].uuid=00000000-0000-0000-0000-000000000004 p8e.members[1].name=PORTFOLIO_MANAGER # Service Keys