1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-22 09:47:04 +01:00

Merge pull request #159 from oceanprotocol/feature/pacific

Add Pacific network
This commit is contained in:
Jose Pablo Fernandez 2019-06-26 15:07:29 +02:00 committed by GitHub
commit 4b181be4d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 348 additions and 47 deletions

View File

@ -85,22 +85,23 @@ Note: If you use the `--latest` option, then the `latest` Docker images will be
Other `start_ocean.sh` options:
| Option | Description |
| -------------------------- | -------------------------------------------------------------------------------------------- |
| `--no-pleuston` | Start up Ocean without the `pleuston` Building Block. Helpful for development on `pleuston`. |
| `--no-aquarius` | Start up Ocean without the `aquarius` Building Block. |
| `--no-brizo` | Start up Ocean without the `brizo` Building Block. |
| `--no-secret-store` | Start up Ocean without the `secret-store` Building Block. |
| `--mongodb` | Start up Ocean with MongoDB as DB engine for Aquarius instead of Elasticsearch. |
| `--local-ganache-node` | Runs a local `ganache` node. |
| `--local-spree-node` | Runs a node of the local `spree` network. This is the default. |
| `--local-duero-node` | Runs a local parity node and connects the node to the `duero` network. |
| `--local-nile-node` | Runs a local parity node and connects the node to the `nile` network. |
| `--local-kovan-node` | Runs a light node of the `kovan` network and connects the node to the `kovan` network. |
| `--reuse-ganache-database` | Configures a running `ganache` node to use a persistent database. |
| `--acl-contract` | Configures secret-store `acl_contract` option to enable secret-store authorization. |
| `--force-pull` | Force pulling the latest revision of the used Docker images. |
| `--purge` | Removes the Docker containers, volumes, artifact folder and networks used by the script. |
| Option | Description |
| -------------------------- | ----------------------------------------------------------------------------------------------- |
| `--no-pleuston` | Start up Ocean without the `pleuston` Building Block. Helpful for development on `pleuston`. |
| `--no-aquarius` | Start up Ocean without the `aquarius` Building Block. |
| `--no-brizo` | Start up Ocean without the `brizo` Building Block. |
| `--no-secret-store` | Start up Ocean without the `secret-store` Building Block. |
| `--mongodb` | Start up Ocean with MongoDB as DB engine for Aquarius instead of Elasticsearch. |
| `--local-pacific-node | Runs a local parity node and connects the node to the `pacific` network (official Ocean network |
| `--local-ganache-node` | Runs a local `ganache` node. |
| `--local-spree-node` | Runs a node of the local `spree` network. This is the default. |
| `--local-duero-node` | Runs a local parity node and connects the node to the `duero` network. |
| `--local-nile-node` | Runs a local parity node and connects the node to the `nile` network. |
| `--local-kovan-node` | Runs a light node of the `kovan` network and connects the node to the `kovan` network. |
| `--reuse-ganache-database` | Configures a running `ganache` node to use a persistent database. |
| `--acl-contract` | Configures secret-store `acl_contract` option to enable secret-store authorization. |
| `--force-pull` | Force pulling the latest revision of the used Docker images. |
| `--purge` | Removes the Docker containers, volumes, artifact folder and networks used by the script. |
## Docker Building Blocks
@ -148,13 +149,14 @@ You can find a detailed explanation of how to use this in the [script options](#
This node can be one of the following types (with the default being `spree`):
| Node | Description |
| --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ganache` | Runs a local [ganache-cli](https://github.com/trufflesuite/ganache-cli) node that is not persistent by default. The contracts from the desired `keeper-contracts` version will be deployed upon launch of this node. |
| `spree` | This is the default. Runs a local node of the Spree Network. See [Spree Network](#spree-network) for details. The contracts from the desired `keeper-contracts` version will be deployed upon launch of this node. |
| `duero` | Runs a local node of the Duero Network and connects to the [Duero Testnet](https://docs.oceanprotocol.com/concepts/testnets/#the-duero-testnet). |
| `nile` | Runs a local node of the Nile Network and connects to the [Nile Testnet](https://docs.oceanprotocol.com/concepts/testnets/#nile-testnet). |
| `kovan` | Runs a local node of the Kovan Network and connects to the [Kovan Testnet](https://docs.oceanprotocol.com/concepts/testnets/#kovan-testnet). |
| Node | Description |
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `pacific` | Runs a local node of the Pacific Network and connects to the [Pacific network](https://docs.oceanprotocol.com/concepts/pacific-network/). |
| `ganache` | Runs a local [ganache-cli](https://github.com/trufflesuite/ganache-cli) node that is not persistent by default. The contracts from the desired `keeper-contracts` version will be deployed upon launch of this node. |
| `spree` | This is the default. Runs a local node of the Spree Network. See [Spree Network](#spree-network) for details. The contracts from the desired `keeper-contracts` version will be deployed upon launch of this node. |
| `duero` | Runs a local node of the Duero Network and connects to the [Duero Testnet](https://docs.oceanprotocol.com/concepts/testnets/#the-duero-testnet). |
| `nile` | Runs a local node of the Nile Network and connects to the [Nile Testnet](https://docs.oceanprotocol.com/concepts/testnets/#nile-testnet). |
| `kovan` | Runs a local node of the Kovan Network and connects to the [Kovan Testnet](https://docs.oceanprotocol.com/concepts/testnets/#kovan-testnet). |
### Secret Store

View File

@ -0,0 +1,23 @@
version: '3'
services:
keeper-node:
image: ${PARITY_IMAGE}
command:
--config /home/parity/parity/config/config.toml
--db-path /home/parity/chains
--base-path /home/parity/base
--ws-interface all
--jsonrpc-cors all
--jsonrpc-interface all
--jsonrpc-hosts all
--jsonrpc-apis all
volumes:
- ../networks/nile/config:/home/parity/parity/config
- keeper-node:/home/parity/.local/share/io.parity.ethereum/
- ../networks/nile/authorities/validator0.json:/home/parity/.local/share/io.parity.ethereum/keys/nile/validator.json
- ../networks/nile/authorities/validator0.pwd:/home/parity/parity/validator.pwd
ports:
- 8545:8545
networks:
backend:
ipv4_address: 172.15.0.12

View File

@ -16,7 +16,6 @@ services:
--jsonrpc-apis all
--no-warp
--node-key 0x32313aee5977ca63184b696e4cf7b7bfc2745f727dbef82d7a1f6314ad58dcf5
--reserved-peers /etc/parity/secretstore/peers_${KEEPER_NETWORK_NAME}.txt
-l secretstore_net,secretstore=trace
volumes:
- ../networks/secret-store/config/:/etc/parity/secretstore/
@ -54,7 +53,6 @@ services:
--no-warp
--keys-path /home/parity/.local/keys
--node-key 0x27881af7f75724e25a9818f6c8e719895c8c9d3512003fc8ad0f47d762a07a79
--reserved-peers /etc/parity/secretstore/peers_${KEEPER_NETWORK_NAME}.txt
ports:
- 9545:8545
volumes:

View File

@ -0,0 +1,3 @@
Duero
Version=address
latest=0x99FFC24B6749512F6DE6D24c5dBCC390359af4E3

View File

@ -0,0 +1,109 @@
{
"name": "pacific",
"engine": {
"authorityRound": {
"params": {
"stepDuration": "5",
"validators": {
"multi": {
"0": {
"list": [
"0x58c0131d5a14b508a7d2cea1179cf8d384b7bf1a",
"0x5676b8e60728efdc33a65fcdb8c6d0965d5b045a",
"0xbe7ef68dcdbe6520a4ba380c59d1dadc012effff"
]
}
}
}
}
}
},
"params": {
"maximumExtraDataSize": "0x20",
"minGasLimit": "0x1388",
"networkID": "0xCEA11",
"gasLimitBoundDivisor": "0x400",
"eip140Transition": "0",
"eip145Transition": "0",
"eip211Transition": "0",
"eip214Transition": "0",
"eip658Transition": "0",
"eip1014Transition": "0",
"eip1052Transition": "0",
"eip1283Transition": "0",
"kip4Transition": "0",
"kip6Transition": "0",
"wasmActivationTransition": "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
}
}
}
},
"0x7eed82a01e7b3cc6c3bb472d34d875e6e2ead48b": {
"balance": "1606938044258990275541962092341162602522202993782792835301376"
}
},
"nodes": [
"enode://e5e44f4a86a706b4d00a51078df37c0240872a4b1a0b1561266573e42c1e76e8b48a80b46526accba41677323288cc395babd39ac7483b98808c2387addcd949@3.217.145.228:30303",
"enode://6a4aac724a2dc1076e26837723958549feef5202ce5dce35bfad443782a0a73da31a7dabe285d18d61c26dfb39e2dec55ed6d61e1af27b927741b5ff1ac399d7@3.217.208.52:30303",
"enode://7797c7ba758004af448ea0a33a9815b4578a14c98a1feb1717a954d9927d9b59c194dc50c59a9b4053277a92e0e96917e3340a2bcdb5d09e49cf9907f090d94b@3.217.90.136:30303",
"enode://c3c6b58cb12afee2b5ab92e418b86c542c3debebdc08f8c16e3e674b302517ac85118ee6519ab89855a45b0f2136d06a63194fa668d18d5757a1a0f0dfca18d9@3.218.32.223:30303",
"enode://58fea462352fa09ae22893a849ca6a6600a1a24ffacd25fe7f380ec442163edd0ce5b5884ab63451adf6b1df9b651ad6b5ffcaa74fe1e2346aabda3419686e52@52.206.124.28:30303",
"enode://496cdd8b49f17cbe3000ef3d0cad2ff92aa321a04e791af562fb6f66dfe634a5eb28fb80148d58d5bf99e115a21f3d433f8ce54f9ae79a9e619e213bb6585d73@54.158.180.108:30303"
]
}

View File

@ -0,0 +1,19 @@
# Users config file in users.toml
# This configuration file can be used for either Alice, Bob or Charlie
[parity]
chain = "/home/parity/parity/config/chain.json"
[rpc]
port = 8545
interface = "0.0.0.0"
cors = ["all"]
hosts = ["all"]
apis = ["web3", "eth", "pubsub", "net", "parity", "parity_pubsub", "parity_accounts", "traces", "rpc", "shh", "shh_pubsub"]
[network]
port = 30303
discovery = true
#[account]
#password = ["/home/parity/parity/validator.pwd"]

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

@ -146,5 +146,13 @@
"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,109 @@
{
"name": "pacific",
"engine": {
"authorityRound": {
"params": {
"stepDuration": "5",
"validators": {
"multi": {
"0": {
"list": [
"0x58c0131d5a14b508a7d2cea1179cf8d384b7bf1a",
"0x5676b8e60728efdc33a65fcdb8c6d0965d5b045a",
"0xbe7ef68dcdbe6520a4ba380c59d1dadc012effff"
]
}
}
}
}
}
},
"params": {
"maximumExtraDataSize": "0x20",
"minGasLimit": "0x1388",
"networkID": "0xCEA11",
"gasLimitBoundDivisor": "0x400",
"eip140Transition": "0",
"eip145Transition": "0",
"eip211Transition": "0",
"eip214Transition": "0",
"eip658Transition": "0",
"eip1014Transition": "0",
"eip1052Transition": "0",
"eip1283Transition": "0",
"kip4Transition": "0",
"kip6Transition": "0",
"wasmActivationTransition": "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
}
}
}
},
"0x7eed82a01e7b3cc6c3bb472d34d875e6e2ead48b": {
"balance": "1606938044258990275541962092341162602522202993782792835301376"
}
},
"nodes": [
"enode://e5e44f4a86a706b4d00a51078df37c0240872a4b1a0b1561266573e42c1e76e8b48a80b46526accba41677323288cc395babd39ac7483b98808c2387addcd949@3.217.145.228:30303",
"enode://6a4aac724a2dc1076e26837723958549feef5202ce5dce35bfad443782a0a73da31a7dabe285d18d61c26dfb39e2dec55ed6d61e1af27b927741b5ff1ac399d7@3.217.208.52:30303",
"enode://7797c7ba758004af448ea0a33a9815b4578a14c98a1feb1717a954d9927d9b59c194dc50c59a9b4053277a92e0e96917e3340a2bcdb5d09e49cf9907f090d94b@3.217.90.136:30303",
"enode://c3c6b58cb12afee2b5ab92e418b86c542c3debebdc08f8c16e3e674b302517ac85118ee6519ab89855a45b0f2136d06a63194fa668d18d5757a1a0f0dfca18d9@3.218.32.223:30303",
"enode://58fea462352fa09ae22893a849ca6a6600a1a24ffacd25fe7f380ec442163edd0ce5b5884ab63451adf6b1df9b651ad6b5ffcaa74fe1e2346aabda3419686e52@52.206.124.28:30303",
"enode://496cdd8b49f17cbe3000ef3d0cad2ff92aa321a04e791af562fb6f66dfe634a5eb28fb80148d58d5bf99e115a21f3d433f8ce54f9ae79a9e619e213bb6585d73@54.158.180.108:30303"
]
}

View File

@ -544,6 +544,10 @@
"0xdB759976b89DAAa8DA41B42e95b5CFcD6B94A0B6": {
"balance": "0x10000000000000000"
}
}
},
"nodes": [
"enode://65f9c708cd96fb4c1cfb80451ca8c304ca99660b92445b1da6323c5965332f37d4cf2c17d68ee9b413de6ce87c47c1e0a66e8d05ebe634e7ba559c67d0ec8853@172.15.0.12:30303",
"enode://030ba626855043909feec09dfa03b9b186512156ea1dc6225801f014ba49b6b8ca1579287043da69645b8fb40a8685a05bcf35949b7363749bad89611eeebeea@172.15.0.13:30303",
"enode://9495e2c34639ae6a8dbabfe7cb038d17be5e65879736b1fb56d0bfeaa01aa25f3802f45e774aae5ef7887bced5ed87a6490da75a1d894f6c7b09e6d6de62970d@172.15.0.18:30303"
]
}

View File

@ -1,8 +0,0 @@
enode://65f9c708cd96fb4c1cfb80451ca8c304ca99660b92445b1da6323c5965332f37d4cf2c17d68ee9b413de6ce87c47c1e0a66e8d05ebe634e7ba559c67d0ec8853@172.15.0.12:30303
enode://030ba626855043909feec09dfa03b9b186512156ea1dc6225801f014ba49b6b8ca1579287043da69645b8fb40a8685a05bcf35949b7363749bad89611eeebeea@172.15.0.13:30303
enode://9495e2c34639ae6a8dbabfe7cb038d17be5e65879736b1fb56d0bfeaa01aa25f3802f45e774aae5ef7887bced5ed87a6490da75a1d894f6c7b09e6d6de62970d@172.15.0.18:30303
enode://56abaf065581a5985b8c5f4f88bd202526482761ba10be9bfdcd14846dd01f652ec33fde0f8c0fd1db19b59a4c04465681fcef50e11380ca88d25996191c52de@40.71.221.215:30303
enode://d07827483dc47b368eaf88454fb04b41b7452cf454e194e2bd4c14f98a3278fed5d819dbecd0d010407fc7688d941ee1e58d4f9c6354d3da3be92f55c17d7ce3@52.166.117.77:30303
enode://8fa162563a8e5a05eef3e1cd5abc5828c71344f7277bb788a395cce4a0e30baf2b34b92fe0b2dbbba2313ee40236bae2aab3c9811941b9f5a7e8e90aaa27ecba@52.165.239.18:30303
enode://7e2e7f00784f516939f94e22bdc6cf96153603ca2b5df1c7cc0f90a38e7a2f218ffb1c05b156835e8b49086d11fdd1b3e2965be16baa55204167aa9bf536a4d9@52.243.47.56:30303
enode://0518a3d35d4a7b3e8c433e7ffd2355d84a1304ceb5ef349787b556197f0c87fad09daed760635b97d52179d645d3e6d16a37d2cc0a9945c2ddf585684beb39ac@40.68.248.100:30303

View File

@ -1,6 +0,0 @@
enode://e90d77ad3065d0767abe08cdd47746c29fae578e8d1c06aacc30da720dd7fd8c8aa0e1e2ca2bb20c4739edff82e5e7405a382cf17af6a4366e2540f72e46e829@18.210.120.241:30303
enode://204b11794d16f382bab24a7cdde5ec1273b8c6c2b23e64560d7ef1707708158a45300e920607aa413633e45c5eea472c17f474866ce5901515249abfbe9c4e1c@35.171.30.2:30303
enode://6881fbbf8f2400c05c61b696af7bb2be04ab22ce64d5221906b9c1c67f2bf976b71cd1d98be7743dfc139a7b590fe230212195714e71f2204252caf68f6f94c0@54.163.9.188:30303
enode://65f9c708cd96fb4c1cfb80451ca8c304ca99660b92445b1da6323c5965332f37d4cf2c17d68ee9b413de6ce87c47c1e0a66e8d05ebe634e7ba559c67d0ec8853@172.15.0.12:30303
enode://030ba626855043909feec09dfa03b9b186512156ea1dc6225801f014ba49b6b8ca1579287043da69645b8fb40a8685a05bcf35949b7363749bad89611eeebeea@172.15.0.13:30303
enode://9495e2c34639ae6a8dbabfe7cb038d17be5e65879736b1fb56d0bfeaa01aa25f3802f45e774aae5ef7887bced5ed87a6490da75a1d894f6c7b09e6d6de62970d@172.15.0.18:30303

View File

@ -1,3 +0,0 @@
enode://65f9c708cd96fb4c1cfb80451ca8c304ca99660b92445b1da6323c5965332f37d4cf2c17d68ee9b413de6ce87c47c1e0a66e8d05ebe634e7ba559c67d0ec8853@172.15.0.12:30303
enode://030ba626855043909feec09dfa03b9b186512156ea1dc6225801f014ba49b6b8ca1579287043da69645b8fb40a8685a05bcf35949b7363749bad89611eeebeea@172.15.0.13:30303
enode://9495e2c34639ae6a8dbabfe7cb038d17be5e65879736b1fb56d0bfeaa01aa25f3802f45e774aae5ef7887bced5ed87a6490da75a1d894f6c7b09e6d6de62970d@172.15.0.18:30303

View File

@ -544,5 +544,10 @@
"0xdB759976b89DAAa8DA41B42e95b5CFcD6B94A0B6": {
"balance": "0x10000000000000000"
}
}
},
"nodes": [
"enode://65f9c708cd96fb4c1cfb80451ca8c304ca99660b92445b1da6323c5965332f37d4cf2c17d68ee9b413de6ce87c47c1e0a66e8d05ebe634e7ba559c67d0ec8853@172.15.0.12:30303",
"enode://030ba626855043909feec09dfa03b9b186512156ea1dc6225801f014ba49b6b8ca1579287043da69645b8fb40a8685a05bcf35949b7363749bad89611eeebeea@172.15.0.13:30303",
"enode://9495e2c34639ae6a8dbabfe7cb038d17be5e65879736b1fb56d0bfeaa01aa25f3802f45e774aae5ef7887bced5ed87a6490da75a1d894f6c7b09e6d6de62970d@172.15.0.18:30303"
]
}

View File

@ -0,0 +1,3 @@
Pacific
Version=address
latest=0x0000000000000000000000000000000000000000

View File

@ -80,7 +80,8 @@ function get_acl_address {
local version="${1:-latest}"
line=$(grep "^${version}=" "${DIR}/${KEEPER_NETWORK_NAME}_acl_contract_addresses.txt")
address="${line##*=}"
[ -z "${address}" ] && echo "Cannot determine the ACL Contract Address for ${KEEPER_NETWORK_NAME} version ${version}. Exiting" && exit 1
# [ -z "${address}" ] && echo "Cannot determine the ACL Contract Address for ${KEEPER_NETWORK_NAME} version ${version}. Exiting" && exit 1
[ -z "${address}" ] && line=$(grep "^$latest=" "${DIR}/${KEEPER_NETWORK_NAME}_acl_contract_addresses.txt") && address="${line##*=}"
echo "${address}"
}
@ -257,6 +258,18 @@ while :; do
printf $COLOR_Y'Starting with local Duero node...\n\n'$COLOR_RESET
printf $COLOR_Y'Starting without Secret Store...\n\n'$COLOR_RESET
;;
# connects you to Pacific ocean network
--local-pacific-node)
export NODE_COMPOSE_FILE="${COMPOSE_DIR}/nodes/pacific_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="pacific"
export KEEPER_DEPLOY_CONTRACTS="false"
export ACL_CONTRACT_ADDRESS="$(get_acl_address ${KEEPER_VERSION})"
printf $COLOR_Y'Starting with local Pacific node...\n\n'$COLOR_RESET
printf $COLOR_Y'Starting without Secret Store...\n\n'$COLOR_RESET
;;
# spins up spree local testnet
--local-spree-node)
export NODE_COMPOSE_FILE="${COMPOSE_DIR}/nodes/spree_node.yml"