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

Merge pull request #107 from oceanprotocol/fix/keeper_spree_deployment

Fix/keeper spree deployment
This commit is contained in:
Sebastian Gerske 2019-01-25 08:50:47 +01:00 committed by GitHub
commit 280c142b77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 62 additions and 60 deletions

View File

@ -147,14 +147,30 @@ Hostname | External Ports | Internal Url
If you run the `./start_ocean.sh` script with the `--local-spree-node` option (please see [Keeper Node](#keeper-node) section of this document for more details).
You will have available a keeper node in the local and private `spree` network with the following accounts enabled:
Account | Password | Balance
---------------------------------------------|------------|--------
`0x00bd138abd70e2f00903268f3db08f2d25677c9e` | node0 | 10000000111000111000111000
`0x068ed00cf0441e4829d9784fcbe7b9e26d4bd8d0` | secret | 100000000
`0xa99d43d86a0758d5632313b8fa3972b6088a21bb` | secret | 100000000
Account | Type | Password/Key | Balance
---------------------------------------------|----------|------------------------------|-----------------
`0x00Bd138aBD70e2F00903268F3Db08f2D25677C9e` | key | node0 | 1000000000 Ether
`0x068Ed00cF0441e4829D9784fCBe7b9e26D4BD8d0` | key | secret | 1000000000 Ether
`0xA99D43d86A0758d5632313b8fA3972B6088A21BB` | key | secret | 1000000000 Ether
`0xe2DD09d719Da89e5a3D0F2549c7E24566e947260` | mnemonic | [info here](#spree-mnemonic) | 1000000000 Ether
`0xBE5449a6A97aD46c8558A3356267Ee5D2731ab5e` | mnemonic | [info here](#spree-mnemonic) | 1000000000 Ether
`0xA78deb2Fa79463945C247991075E2a0e98Ba7A09` | mnemonic | [info here](#spree-mnemonic) | 1000000000 Ether
`0x02354A1F160A3fd7ac8b02ee91F04104440B28E7` | mnemonic | [info here](#spree-mnemonic) | 1000000000 Ether
`0xe17D2A07EFD5b112F4d675ea2d122ddb145d117B` | mnemonic | [info here](#spree-mnemonic) | 1000000000 Ether
`0xA32C84D2B44C041F3a56afC07a33f8AC5BF1A071` | mnemonic | [info here](#spree-mnemonic) | 1000000000 Ether
`0xFF3fE9eb218EAe9ae1eF9cC6C4db238B770B65CC` | mnemonic | [info here](#spree-mnemonic) | 1000000000 Ether
`0x529043886F21D9bc1AE0feDb751e34265a246e47` | mnemonic | [info here](#spree-mnemonic) | 1000000000 Ether
`0xe08A1dAe983BC701D05E492DB80e0144f8f4b909` | mnemonic | [info here](#spree-mnemonic) | 1000000000 Ether
`0xbcE5A3468386C64507D30136685A99cFD5603135` | mnemonic | [info here](#spree-mnemonic) | 1000000000 Ether
Use one of the above accounts to populate `PARITY_ADDRESS` and `PARITY_PASSWORD` in `brizo.env` file to avoid account `locked` issues from the keeper contracts.
#### Spree Mnemonic
The accounts from type mnemonic can be access with this seedphrase:
`taxi music thumb unique chat sand crew more leg another off lamp`
### Nile Network
Please see [Nile Testnet](https://docs.oceanprotocol.com/concepts/testnets/#nile-testnet) for details.

View File

@ -6,6 +6,7 @@ services:
backend:
ipv4_address: 172.15.0.14
environment:
NMEMORIC: ${KEEPER_MNEMONIC}
DEPLOY_CONTRACTS: ${KEEPER_DEPLOY_CONTRACTS}
LOCAL_CONTRACTS: ${KEEPER_DEPLOY_CONTRACTS}
REUSE_DATABASE: ${GANACHE_REUSE_DATABASE}

View File

@ -145,20 +145,44 @@
}
}
},
"0x6B0c56d1Ad5144b4d37fa6e27DC9afd5C2435c3B": {
"balance": "0x200000000000000000000000000000000000000000000000"
},
"0x0011598De1016A350ad719D23586273804076774": {
"balance": "0x200000000000000000000000000000000000000000000000"
},
"0x068ed00cf0441e4829d9784fcbe7b9e26d4bd8d0": {
"balance": "0x200000000000000000000000000000000000000000000000"
},
"0xa99d43d86a0758d5632313b8fa3972b6088a21bb": {
"balance": "0x200000000000000000000000000000000000000000000000"
},
"0x00Bd138aBD70e2F00903268F3Db08f2D25677C9e": {
"balance": "0x200000000000000000000000000000000000000000000000"
"balance": "0x33B2E3C9FD0803CE8000000"
},
"0x068Ed00cF0441e4829D9784fCBe7b9e26D4BD8d0": {
"balance": "0x33B2E3C9FD0803CE8000000"
},
"0xA99D43d86A0758d5632313b8fA3972B6088A21BB": {
"balance": "0x33B2E3C9FD0803CE8000000"
},
"0xe2DD09d719Da89e5a3D0F2549c7E24566e947260": {
"balance": "0x33B2E3C9FD0803CE8000000"
},
"0xBE5449a6A97aD46c8558A3356267Ee5D2731ab5e": {
"balance": "0x33B2E3C9FD0803CE8000000"
},
"0xA78deb2Fa79463945C247991075E2a0e98Ba7A09": {
"balance": "0x33B2E3C9FD0803CE8000000"
},
"0x02354A1F160A3fd7ac8b02ee91F04104440B28E7": {
"balance": "0x33B2E3C9FD0803CE8000000"
},
"0xe17D2A07EFD5b112F4d675ea2d122ddb145d117B": {
"balance": "0x33B2E3C9FD0803CE8000000"
},
"0xA32C84D2B44C041F3a56afC07a33f8AC5BF1A071": {
"balance": "0x33B2E3C9FD0803CE8000000"
},
"0xFF3fE9eb218EAe9ae1eF9cC6C4db238B770B65CC": {
"balance": "0x33B2E3C9FD0803CE8000000"
},
"0x529043886F21D9bc1AE0feDb751e34265a246e47": {
"balance": "0x33B2E3C9FD0803CE8000000"
},
"0xe08A1dAe983BC701D05E492DB80e0144f8f4b909": {
"balance": "0x33B2E3C9FD0803CE8000000"
},
"0xbcE5A3468386C64507D30136685A99cFD5603135": {
"balance": "0x33B2E3C9FD0803CE8000000"
}
}
}

View File

@ -1,21 +0,0 @@
{
"id": "0d1533e9-dd7a-a838-68dc-36ddc025c1ab",
"version": 3,
"crypto": {
"cipher": "aes-128-ctr",
"cipherparams": {
"iv": "acbabbab8eab2b952ad3cf2bd1aab0ca"
},
"ciphertext": "134b54d057c3c0a9ac08b5eae36c46ab8dd45774215ce860afaeb4e8e50c927d",
"kdf": "pbkdf2",
"kdfparams": {
"c": 10240,
"dklen": 32,
"prf": "hmac-sha256",
"salt": "6f9e3ebd99b24becad3e8f773f44df8397cad68694abf7651880528d9552bfe7"
},
"mac": "f8939019ec29b46694b5ac07fdf971ec740ca4de23e7ae84a1239f54c617f7d9"
},
"address": "6b0c56d1ad5144b4d37fa6e27dc9afd5c2435c3b",
"name": "master0"
}

View File

@ -1,21 +0,0 @@
{
"id": "76d1dcd3-0c3b-24c8-0875-78e3cc151659",
"version": 3,
"crypto": {
"cipher": "aes-128-ctr",
"cipherparams": {
"iv": "6cbc68e1c87f82cefc954217cec45d64"
},
"ciphertext": "a0f97cd495dbe38dc6fa13c23a7cc15a6abc75b894827bd2729a72bc3a1ec92d",
"kdf": "pbkdf2",
"kdfparams": {
"c": 10240,
"dklen": 32,
"prf": "hmac-sha256",
"salt": "b7704b289ced489bf6da93f6d335537763d3cc68460509321a73e50b185685de"
},
"mac": "881850b5ce7709a7fd5ea923d97f77f0bd8717f054c44d35104cafc78d21813c"
},
"address": "0011598de1016a350ad719d23586273804076774",
"name": "master1"
}

View File

@ -28,6 +28,7 @@ export GANACHE_REUSE_DATABASE="false"
export KEEPER_RPC_HOST='keeper-node'
export KEEPER_RPC_PORT='8545'
export KEEPER_RPC_URL="http://"${KEEPER_RPC_HOST}:${KEEPER_RPC_PORT}
export KEEPER_MNEMONIC=''
# Enable acl-contract validation in Secret-store
export CONFIGURE_ACL="false"
@ -160,6 +161,8 @@ while :; do
--local-spree-node)
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/keeper_contracts.yml"
export NODE_COMPOSE_FILE="${COMPOSE_DIR}/nodes/spree_node.yml"
# use this seed only on spree!
export KEEPER_MNEMONIC="taxi music thumb unique chat sand crew more leg another off lamp"
export KEEPER_NETWORK_NAME="spree"
export KEEPER_DEPLOY_CONTRACTS="true"
#rm -f ${KEEPER_ARTIFACTS_FOLDER}/ready