mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
Add Pacific network config.
This commit is contained in:
parent
54d0c1a229
commit
9a6782cfa3
@ -10,6 +10,16 @@ const configJson: Config = {
|
||||
verbose: false
|
||||
}
|
||||
|
||||
if (process.env.NETWORK_NAME === 'pacific') {
|
||||
Object.assign(configJson, {
|
||||
nodeUri: 'https://pacific.oceanprotocol.com',
|
||||
aquariusUri: 'https://aquarius.pacific.dev-ocean.com',
|
||||
brizoUri: 'https://brizo.pacific.dev-ocean.com',
|
||||
secretStoreUri: 'https://secret-store.pacific.oceanprotocol.com',
|
||||
brizoAddress: '0x008c25ed3594e094db4592f4115d5fa74c4f41ea'
|
||||
})
|
||||
}
|
||||
|
||||
if (process.env.NETWORK_NAME === 'nile') {
|
||||
Object.assign(configJson, {
|
||||
nodeUri: 'https://nile.dev-ocean.com',
|
||||
@ -42,4 +52,6 @@ if (process.env.SEED_WORDS) {
|
||||
)
|
||||
}
|
||||
|
||||
export const config: Config = configJson as any
|
||||
export const config: Config & {forceVerbose: Config} = configJson as any
|
||||
|
||||
(config as any).forceVerbose = {...configJson, verbose: true}
|
||||
|
@ -16,6 +16,7 @@
|
||||
"test:watch": "mocha -w --watch-extensions js,ts,json",
|
||||
"test:cover": "nyc --report-dir coverage/unit mocha",
|
||||
"integration": "mocha --opts integration/mocha.opts",
|
||||
"integration:pacific": "export NETWORK_NAME=pacific; mocha --opts integration/mocha.opts",
|
||||
"integration:nile": "export NETWORK_NAME=nile; mocha --opts integration/mocha.opts",
|
||||
"integration:duero": "export NETWORK_NAME=duero; mocha --opts integration/mocha.opts",
|
||||
"integration:watch": "mocha -w --watch-extensions js,ts,json --opts integration/mocha.opts",
|
||||
|
Loading…
Reference in New Issue
Block a user