mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
default all connections to Pacific
This commit is contained in:
parent
c6e791dabd
commit
e33be03155
14
README.md
14
README.md
@ -23,7 +23,7 @@
|
||||
If you're a developer and want to contribute to, or want to utilize this marketplace's code in your projects, then keep on reading.
|
||||
|
||||
- [🏄 Get Started](#-Get-Started)
|
||||
- [🏖 Remote Ocean: Nile](#-Remote-Ocean-Nile)
|
||||
- [🏖 Remote Ocean: Pacific](#-Remote-Ocean-Pacific)
|
||||
- [🐳 Use with Barge](#-Use-with-Barge)
|
||||
- [⛵️ Environment Variables](#️-Environment-Variables)
|
||||
- [👩🔬 Testing](#-Testing)
|
||||
@ -52,15 +52,17 @@ npm start
|
||||
|
||||
Open [http://localhost:3000](http://localhost:3000) to view the client in the browser. The page will reload if you make edits to files in either `./client` or `./server`.
|
||||
|
||||
### 🏖 Remote Ocean: Nile
|
||||
### 🏖 Remote Ocean: Pacific
|
||||
|
||||
To make use of all the functionality, you need to connect to the Ocean network. By default, the client will connect to Ocean components running within [Ocean's Nile test network](https://docs.oceanprotocol.com/concepts/testnets/#the-nile-testnet) remotely.
|
||||
To make use of all the functionality, you need to connect to an Ocean network.
|
||||
|
||||
This means you need to connect with your MetaMask to the Nile network too. To do this:
|
||||
By default, the client will connect to Ocean components running within [Ocean's Pacific network](https://docs.oceanprotocol.com/concepts/pacific-network/) remotely.
|
||||
|
||||
With your MetaMask, connect to the Pacific network. To do this:
|
||||
|
||||
1. select Custom RPC in the network dropdown in MetaMask
|
||||
2. under New Network, enter `https://nile.dev-ocean.com` as the custom RPC URL
|
||||
3. Hit _Save_, and you’re now connected to Nile
|
||||
2. under New Network, enter `https://pacific.oceanprotocol.com` as the custom RPC URL
|
||||
3. Hit _Save_, and you’re now connected to Pacific
|
||||
|
||||
### 🐳 Use with Barge
|
||||
|
||||
|
@ -1,27 +1,27 @@
|
||||
#
|
||||
# When none of the following variables are set,
|
||||
# Commons will default connecting to Nile
|
||||
# Commons will default connecting to Pacific
|
||||
#
|
||||
|
||||
#
|
||||
# Connect to Pacific
|
||||
#
|
||||
# REACT_APP_NODE_URI="https://pacific.oceanprotocol.com"
|
||||
# REACT_APP_AQUARIUS_URI="https://aquarius.pacific.dev-ocean.com"
|
||||
# REACT_APP_BRIZO_URI="https://brizo.pacific.dev-ocean.com"
|
||||
# REACT_APP_SECRET_STORE_URI="https://secret-store.pacific.oceanprotocol.com"
|
||||
# REACT_APP_FAUCET_URI="https://faucet.pacific.dev-ocean.com"
|
||||
# REACT_APP_BRIZO_ADDRESS="0x008c25ed3594e094db4592f4115d5fa74c4f41ea"
|
||||
REACT_APP_NODE_URI="https://pacific.oceanprotocol.com"
|
||||
REACT_APP_AQUARIUS_URI="https://aquarius.pacific.dev-ocean.com"
|
||||
REACT_APP_BRIZO_URI="https://brizo.pacific.dev-ocean.com"
|
||||
REACT_APP_SECRET_STORE_URI="https://secret-store.pacific.oceanprotocol.com"
|
||||
REACT_APP_FAUCET_URI="https://faucet.pacific.dev-ocean.com"
|
||||
REACT_APP_BRIZO_ADDRESS="0x008c25ed3594e094db4592f4115d5fa74c4f41ea"
|
||||
|
||||
#
|
||||
# Connect to Nile
|
||||
#
|
||||
REACT_APP_NODE_URI="https://nile.dev-ocean.com"
|
||||
REACT_APP_AQUARIUS_URI="https://nginx-aquarius.dev-ocean.com"
|
||||
REACT_APP_BRIZO_URI="https://nginx-brizo.dev-ocean.com"
|
||||
REACT_APP_SECRET_STORE_URI="https://secret-store.dev-ocean.com"
|
||||
REACT_APP_FAUCET_URI="https://faucet.nile.dev-ocean.com"
|
||||
REACT_APP_BRIZO_ADDRESS="0x4aaab179035dc57b35e2ce066919048686f82972"
|
||||
# REACT_APP_NODE_URI="https://nile.dev-ocean.com"
|
||||
# REACT_APP_AQUARIUS_URI="https://nginx-aquarius.dev-ocean.com"
|
||||
# REACT_APP_BRIZO_URI="https://nginx-brizo.dev-ocean.com"
|
||||
# REACT_APP_SECRET_STORE_URI="https://secret-store.dev-ocean.com"
|
||||
# REACT_APP_FAUCET_URI="https://faucet.nile.dev-ocean.com"
|
||||
# REACT_APP_BRIZO_ADDRESS="0x4aaab179035dc57b35e2ce066919048686f82972"
|
||||
|
||||
#
|
||||
# Connect to Duero
|
||||
|
@ -8,19 +8,20 @@ export const serviceUri =
|
||||
// OCEAN REMOTE CONNECTIONS
|
||||
//
|
||||
export const nodeUri =
|
||||
process.env.REACT_APP_NODE_URI || 'https://nile.dev-ocean.com'
|
||||
process.env.REACT_APP_NODE_URI || 'https://pacific.oceanprotocol.com'
|
||||
export const aquariusUri =
|
||||
process.env.REACT_APP_AQUARIUS_URI || 'https://nginx-aquarius.dev-ocean.com'
|
||||
process.env.REACT_APP_AQUARIUS_URI ||
|
||||
'https://aquarius.pacific.dev-ocean.com'
|
||||
export const brizoUri =
|
||||
process.env.REACT_APP_BRIZO_URI || 'https://nginx-brizo.dev-ocean.com'
|
||||
process.env.REACT_APP_BRIZO_URI || 'https://brizo.pacific.dev-ocean.com'
|
||||
export const brizoAddress =
|
||||
process.env.REACT_APP_BRIZO_ADDRESS ||
|
||||
'0x4aaab179035dc57b35e2ce066919048686f82972'
|
||||
'0x008c25ed3594e094db4592f4115d5fa74c4f41ea'
|
||||
export const secretStoreUri =
|
||||
process.env.REACT_APP_SECRET_STORE_URI ||
|
||||
'https://secret-store.dev-ocean.com'
|
||||
'https://secret-store.pacific.oceanprotocol.com'
|
||||
export const faucetUri =
|
||||
process.env.REACT_APP_FAUCET_URI || 'https://faucet.nile.dev-ocean.com'
|
||||
process.env.REACT_APP_FAUCET_URI || 'https://faucet.pacific.dev-ocean.com'
|
||||
|
||||
//
|
||||
// APP CONFIG
|
||||
|
@ -8,13 +8,13 @@ class About extends Component {
|
||||
return (
|
||||
<Route
|
||||
title="About"
|
||||
description="A marketplace to find and publish open data sets in the Ocean Network."
|
||||
description="A marketplace to find and publish open data sets in the Ocean Pacific Network."
|
||||
>
|
||||
<Content>
|
||||
<p>
|
||||
Commons is built on top of the Ocean{' '}
|
||||
<a href="https://docs.oceanprotocol.com/concepts/testnets/#the-nile-testnet">
|
||||
Nile test network
|
||||
<a href="https://docs.oceanprotocol.com/concepts/pacific-network/">
|
||||
Pacific network
|
||||
</a>{' '}
|
||||
and is targeted at enthusiastic data scientists with
|
||||
some crypto experience. It can be used with any
|
||||
|
Loading…
Reference in New Issue
Block a user