mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
add infura project id
This commit is contained in:
parent
a9ad17a6e9
commit
7a9e658d03
@ -1,3 +1,5 @@
|
||||
INFURA_PROJECT_ID="xxx"
|
||||
|
||||
# Local config
|
||||
NODE_URI='http://localhost:8545'
|
||||
METADATA_STORE_URI='http://aquarius:5000'
|
||||
|
@ -12,5 +12,6 @@ module.exports = {
|
||||
verbose: 3
|
||||
},
|
||||
// Main, Rinkeby, Kovan
|
||||
networks: [1, 4, 42]
|
||||
networks: [1, 4, 42],
|
||||
infuraProjectId: process.env.INFURA_PROJECT_ID
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { OceanProviderValue } from '@oceanprotocol/react'
|
||||
import { networks } from '../../app.config'
|
||||
import { networks, infuraProjectId } from '../../app.config'
|
||||
|
||||
export async function connectWallet(
|
||||
connect: OceanProviderValue['connect']
|
||||
@ -12,7 +12,7 @@ export async function connectWallet(
|
||||
walletconnect: {
|
||||
package: WalletConnectProvider, // required
|
||||
options: {
|
||||
infuraId: 'INFURA_ID' // required
|
||||
infuraId: infuraProjectId // required
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user