1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-12-02 05:57:21 +01:00

bring back secret store for nile

This commit is contained in:
Sebastian Gerske 2019-08-27 15:08:54 +02:00
parent 49da094576
commit d8dc9310f3
6 changed files with 226 additions and 2 deletions

View File

@ -0,0 +1,158 @@
{
"name": "nile",
"engine": {
"authorityRound": {
"params": {
"stepDuration": "5",
"validators": {
"list": [
"0xa1345ed0b2d1e193aead673e33dac56515af128a",
"0xf4a2dbd5d67ef3019a7e4b188b92128c86d76bf9",
"0xcdbe5f61fac89e2cfcfa3727805d5cb8bc4f9afd"
]
},
"validateScoreTransition": 1000000000,
"validateStepTransition": 1500000000,
"maximumUncleCount": 1000000000
}
}
},
"params": {
"maximumExtraDataSize": "0x20",
"minGasLimit": "0x1388",
"networkID": "0x2323",
"gasLimitBoundDivisor": "0x400",
"eip140Transition": 0,
"eip211Transition": 0,
"eip214Transition": 0,
"eip658Transition": 0
},
"genesis": {
"seal": {
"authorityRound": {
"step": "0x0",
"signature": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
}
},
"difficulty": "0x20000",
"gasLimit": "0x165A0BC00"
},
"accounts": {
"0x0000000000000000000000000000000000000001": {
"balance": "1",
"builtin": {
"name": "ecrecover",
"pricing": {
"linear": {
"base": 3000,
"word": 0
}
}
}
},
"0x0000000000000000000000000000000000000002": {
"balance": "1",
"builtin": {
"name": "sha256",
"pricing": {
"linear": {
"base": 60,
"word": 12
}
}
}
},
"0x0000000000000000000000000000000000000003": {
"balance": "1",
"builtin": {
"name": "ripemd160",
"pricing": {
"linear": {
"base": 600,
"word": 120
}
}
}
},
"0x0000000000000000000000000000000000000004": {
"balance": "1",
"builtin": {
"name": "identity",
"pricing": {
"linear": {
"base": 15,
"word": 3
}
}
}
},
"0xf5d60efcad44babc8d85eb8df57d9e3a5101eb93": {
"balance": "0x2000000000000000000"
},
"0x61f9546cd2bd5e46bdb915ab9c69210c6ee043d2": {
"balance": "0x2000000000000000000"
},
"0x8d968b9bc8fe3b1d233ae6238c771544dd7c8fb2": {
"balance": "0x2000000000000000000"
},
"0x63132a33765fe352187c93e45fac1b9162399e5c": {
"balance": "0x2000000000000000000"
},
"0x95a165da81359c11aafb4490fe6afeb6ee4f7c2e": {
"balance": "0x2000000000000000000"
},
"0x9224dff492427471092d13b36866875d7e0f2dd6": {
"balance": "0x2000000000000000000"
},
"0x9aa9bfa819800a44803dcacc514bb443a2baade6": {
"balance": "0x2000000000000000000"
},
"0x85ef014983c1bad421cc00941c18122066da5860": {
"balance": "0x2000000000000000000"
},
"0xc6fffcb664a60c019a335902112584829a91c0a0": {
"balance": "0x2000000000000000000"
},
"0xdbb63fb51453714f5efed3c2846160018fb3f43c": {
"balance": "0x2000000000000000000"
},
"0x23be64786fe4467635e65aea49f9dd7a0b05d7b5": {
"balance": "0x2000000000000000000"
},
"0x3c80c7163c1e6730f2ba80df707178dcdee44475": {
"balance": "0x2000000000000000000"
},
"0xe49c5f9c8a78884c8ba2aa161b8c41bf21b96751": {
"balance": "0x2000000000000000000"
},
"0xf7f2673e854e7b33a62beec796dec5d61ac9c40a": {
"balance": "0x2000000000000000000"
},
"0xe739ed3643970d106c4b1c51de91b7992400e50c": {
"balance": "0x2000000000000000000"
},
"0x85a7273ff4f4ffce0c708f47ab45249867679bcf": {
"balance": "0x2000000000000000000"
},
"0x4156e7abdfe6e08c16ef2b241661276af57f9ead": {
"balance": "0x2000000000000000000"
},
"0x480b0e0a641ae45521377d4984d085a003934561": {
"balance": "0x200000000000000000000000"
},
"0xb08eb95236499f072b2ae3c91a8f911d6c853b4d": {
"balance": "0x200000000000000000000000"
},
"0x4899f06b5e60140f1885599bf3a562cb25775adc": {
"balance": "0x200000000000000000000000"
}
},
"nodes": [
"enode://e90d77ad3065d0767abe08cdd47746c29fae578e8d1c06aacc30da720dd7fd8c8aa0e1e2ca2bb20c4739edff82e5e7405a382cf17af6a4366e2540f72e46e829@18.210.120.241:30303",
"enode://204b11794d16f382bab24a7cdde5ec1273b8c6c2b23e64560d7ef1707708158a45300e920607aa413633e45c5eea472c17f474866ce5901515249abfbe9c4e1c@35.171.30.2:30303",
"enode://6881fbbf8f2400c05c61b696af7bb2be04ab22ce64d5221906b9c1c67f2bf976b71cd1d98be7743dfc139a7b590fe230212195714e71f2204252caf68f6f94c0@54.163.9.188:30303",
"enode://2676315c9bc954a275b949b4b77300b694d9829b120dab36e7f125dc790a754e97e1100173a2f8ebe6390c87539424e71774996d823bc9d65b262258877a1353@52.1.94.55:30303",
"enode://5ca724b86ae77e84af2a187f209ee84eb47991689cce6088d6f35b7aa8f50c1bfc74fa5d3f9360da733bef6103c09cf3d8dc956637dd6a7fa7fb69797af0e133@54.156.6.164:30303",
"enode://6ffb46bfefb6ed24d3626a431b367819c01916272ee10caab791ff19b38e9f7ff904566f6ba83fd24591e66cb3d9ac8b24b8be7e157486b5d23ce0c473c628a4@100.24.158.252:30303"
]
}

View File

@ -0,0 +1,22 @@
{
"id": "50aa801a-8d66-1402-1fa4-d8987868c2ce",
"version": 3,
"crypto": {
"cipher": "aes-128-ctr",
"cipherparams": {
"iv": "a874e6fe50a5bb088826c45560dc1b7e"
},
"ciphertext": "2383c6aa50c744b6558e77b5dcec6137f647c81f10f71f22a87321fd1306056c",
"kdf": "pbkdf2",
"kdfparams": {
"c": 10240,
"dklen": 32,
"prf": "hmac-sha256",
"salt": "eca6ccc9fbb0bdc3a516c7576808ba5031669e6878f3bb95624ddb46449e119c"
},
"mac": "14e9a33a45ae32f88a0bd5aac14521c1fcf14f56fd55c1a1c080b2f81ddb8d44"
},
"address": "068ed00cf0441e4829d9784fcbe7b9e26d4bd8d0",
"name": "",
"meta": "{}"
}

View File

@ -0,0 +1,22 @@
{
"id": "ce455fdd-11fd-5a71-0a31-9d0bec6a605d",
"version": 3,
"crypto": {
"cipher": "aes-128-ctr",
"cipherparams": {
"iv": "56b27c187d45aab59377869042b948aa"
},
"ciphertext": "c774b879793e2e54b85071d929cc7fbb11b47f6bab6e590edf3997fe4373eaf8",
"kdf": "pbkdf2",
"kdfparams": {
"c": 10240,
"dklen": 32,
"prf": "hmac-sha256",
"salt": "33b3b99e4c6f7f6d7d804555d40c08e4a2acba20e1e46aca712c82c3b9bab749"
},
"mac": "10ee295ce6b1553887413f0e717ccedc1bddb62572bb9208ec3bd091085990db"
},
"address": "a99d43d86a0758d5632313b8fa3972b6088a21bb",
"name": "",
"meta": "{}"
}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1,23 @@
{
"id": "cb4f3330-9f0f-cd4d-d554-5aa6442b10be",
"version": 3,
"crypto": {
"cipher": "aes-128-ctr",
"cipherparams": {
"iv": "937c23da18782823c3a44b33a48f5422"
},
"ciphertext": "10573d6899aee16f08ad747d70ffdd3df46a515b1a346f1456fe9ecf4e0771e5",
"kdf": "pbkdf2",
"kdfparams": {
"c": 10240,
"dklen": 32,
"prf": "hmac-sha256",
"salt": "838feb11a3e307cf9e5677e061e3fbd322dcb202e96a824d14c9b10d3147d1f1"
},
"mac": "15ff1a017d21dca4dd2d10064665ea14f9ccab91fd4337c7b00a564bb333fffe"
},
"address": "a1345ed0b2d1e193aead673e33dac56515af128a",
"name": "",
"meta": "{}"
}

View File

@ -270,13 +270,11 @@ while :; do
--local-nile-node)
export NODE_COMPOSE_FILE="${COMPOSE_DIR}/nodes/nile_node.yml"
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/keeper_contracts.yml/}"
COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/secret_store.yml/}"
export KEEPER_MNEMONIC=''
export KEEPER_NETWORK_NAME="nile"
export KEEPER_DEPLOY_CONTRACTS="false"
export ACL_CONTRACT_ADDRESS="$(get_acl_address ${KEEPER_VERSION})"
printf $COLOR_Y'Starting with local Nile node...\n\n'$COLOR_RESET
printf $COLOR_Y'Starting without Secret Store...\n\n'$COLOR_RESET
;;
# connects you to duero ocean testnet
--local-duero-node)