1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

Merge pull request #167 from oceanprotocol/fix/account-message

Connect to pacific
This commit is contained in:
Jernej Pregelj 2019-07-02 15:19:12 +02:00 committed by GitHub
commit 4c744d1ea9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 13 additions and 13 deletions

View File

@ -14,9 +14,9 @@ env:
global: global:
# run E2E tests against these values # run E2E tests against these values
- REACT_APP_NODE_URI="https://nile.dev-ocean.com" - REACT_APP_NODE_URI="https://nile.dev-ocean.com"
- REACT_APP_AQUARIUS_URI="https://aquarius.marketplace.dev-ocean.com" - REACT_APP_AQUARIUS_URI="https://aquarius.nile.dev-ocean.com"
- REACT_APP_BRIZO_URI="https://brizo.marketplace.dev-ocean.com" - REACT_APP_BRIZO_URI="https://brizo.nile.dev-ocean.com"
- REACT_APP_SECRET_STORE_URI="https://secret-store.pacific.dev-ocean.com" - REACT_APP_SECRET_STORE_URI="https://secret-store.nile.dev-ocean.com"
- REACT_APP_FAUCET_URI="https://faucet.nile.dev-ocean.com" - REACT_APP_FAUCET_URI="https://faucet.nile.dev-ocean.com"
- REACT_APP_BRIZO_ADDRESS="0x4aaab179035dc57b35e2ce066919048686f82972" - REACT_APP_BRIZO_ADDRESS="0x4aaab179035dc57b35e2ce066919048686f82972"

View File

@ -54,7 +54,7 @@ export default class Popover extends PureComponent<{
<div className={styles.popoverInfoline}> <div className={styles.popoverInfoline}>
{network && !isOceanNetwork {network && !isOceanNetwork
? 'Please connect to Custom RPC\n https://nile.dev-ocean.com' ? 'Please connect to Custom RPC\n https://pacific.oceanprotocol.com'
: network && `Connected to ${network} network`} : network && `Connected to ${network} network`}
</div> </div>
</> </>

View File

@ -21,7 +21,7 @@ describe('Web3message', () => {
</User.Provider> </User.Provider>
) )
expect(container.firstChild).toHaveTextContent( expect(container.firstChild).toHaveTextContent(
'Not connected to Nile network' 'Not connected to Pacific network'
) )
}) })

View File

@ -10,15 +10,15 @@ export const serviceUri =
export const nodeUri = export const nodeUri =
process.env.REACT_APP_NODE_URI || 'https://nile.dev-ocean.com' process.env.REACT_APP_NODE_URI || 'https://nile.dev-ocean.com'
export const aquariusUri = export const aquariusUri =
process.env.REACT_APP_AQUARIUS_URI || 'https://nginx-aquarius.dev-ocean.com' process.env.REACT_APP_AQUARIUS_URI || 'https://aquarius.nile.dev-ocean.com'
export const brizoUri = export const brizoUri =
process.env.REACT_APP_BRIZO_URI || 'https://nginx-brizo.dev-ocean.com' process.env.REACT_APP_BRIZO_URI || 'https://brizo.nile.dev-ocean.com'
export const brizoAddress = export const brizoAddress =
process.env.REACT_APP_BRIZO_ADDRESS || process.env.REACT_APP_BRIZO_ADDRESS ||
'0x4aaab179035dc57b35e2ce066919048686f82972' '0x4aaab179035dc57b35e2ce066919048686f82972'
export const secretStoreUri = export const secretStoreUri =
process.env.REACT_APP_SECRET_STORE_URI || process.env.REACT_APP_SECRET_STORE_URI ||
'https://secret-store.dev-ocean.com' 'https://secret-store.nile.dev-ocean.com'
export const faucetUri = export const faucetUri =
process.env.REACT_APP_FAUCET_URI || 'https://faucet.nile.dev-ocean.com' process.env.REACT_APP_FAUCET_URI || 'https://faucet.nile.dev-ocean.com'

View File

@ -2,5 +2,5 @@
"noweb3": "Not a Web3 Browser. For publishing and downloading an asset you need to <a href='https://docs.oceanprotocol.com/tutorials/metamask-setup/' target='_blank' rel='noopener noreferrer'>setup MetaMask</a> or use any other Web3-capable plugin or browser.", "noweb3": "Not a Web3 Browser. For publishing and downloading an asset you need to <a href='https://docs.oceanprotocol.com/tutorials/metamask-setup/' target='_blank' rel='noopener noreferrer'>setup MetaMask</a> or use any other Web3-capable plugin or browser.",
"noAccount": "No accounts detected. For publishing and downloading an asset you need to unlock your Web3 account.", "noAccount": "No accounts detected. For publishing and downloading an asset you need to unlock your Web3 account.",
"hasAccount": "", "hasAccount": "",
"wrongNetwork": "Not connected to Nile network.<br />Please connect in MetaMask with Custom RPC <code>https://nile.dev-ocean.com</code>" "wrongNetwork": "Not connected to Pacific network.<br />Please connect in MetaMask with Custom RPC <code>https://pacific.oceanprotocol.com</code>"
} }

View File

@ -13,8 +13,8 @@ class About extends Component {
<Content> <Content>
<p> <p>
Commons is built on top of the Ocean{' '} Commons is built on top of the Ocean{' '}
<a href="https://docs.oceanprotocol.com/concepts/testnets/#the-nile-testnet"> <a href="https://docs.oceanprotocol.com/concepts/pacific-network/">
Nile test network Pacific network
</a>{' '} </a>{' '}
and is targeted at enthusiastic data scientists with and is targeted at enthusiastic data scientists with
some crypto experience. It can be used with any some crypto experience. It can be used with any

View File

@ -118,7 +118,7 @@ export default class Faucet extends PureComponent<{}, FaucetState> {
return ( return (
<Route <Route
title="Faucet" title="Faucet"
description="Shower yourself with some Ether for Ocean's Nile test network." description="Shower yourself with some Ether for Ocean's Pacific network."
> >
<Content> <Content>
<Web3message /> <Web3message />

View File

@ -3,6 +3,6 @@
"env": { "env": {
"NODE_URI": "https://nile.dev-ocean.com", "NODE_URI": "https://nile.dev-ocean.com",
"SEEDPHRASE": "taxi music thumb unique chat sand crew more leg another off lamp", "SEEDPHRASE": "taxi music thumb unique chat sand crew more leg another off lamp",
"CONSUME_ASSET": "did:op:8014d305dcb44b42a5355791a2f016a654a61184456a4d178dc6e5913deb3a5c" "CONSUME_ASSET": "did:op:73f50d7449ca478aabd2f34116dbdb1acf4304a407aa4251ab75ce15257b63bd"
} }
} }