mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
add CNAMES and update doc
This commit is contained in:
parent
2735798bd9
commit
4137abe60e
@ -40,7 +40,7 @@ export const configHelperNetworks: Config[] = [
|
||||
chainId: 5,
|
||||
network: 'goerli',
|
||||
nodeUri: 'https://goerli.infura.io/v3',
|
||||
providerUri: 'https://v4.provider.goerli.oceanprotocol.com',
|
||||
providerUri: 'https://v4-2.provider.goerli.oceanprotocol.com',
|
||||
subgraphUri: 'https://v4.subgraph.goerli.oceanprotocol.com',
|
||||
explorerUri: 'https://goerli.etherscan.io',
|
||||
gasFeeMultiplier: 1.1
|
||||
@ -50,7 +50,7 @@ export const configHelperNetworks: Config[] = [
|
||||
chainId: 1,
|
||||
network: 'mainnet',
|
||||
nodeUri: 'https://mainnet.infura.io/v3',
|
||||
providerUri: 'https://v4.provider.mainnet.oceanprotocol.com',
|
||||
providerUri: 'https://v4-2.provider.mainnet.oceanprotocol.com',
|
||||
subgraphUri: 'https://v4.subgraph.mainnet.oceanprotocol.com',
|
||||
explorerUri: 'https://etherscan.io',
|
||||
startBlock: 11105459,
|
||||
@ -64,7 +64,7 @@ export const configHelperNetworks: Config[] = [
|
||||
chainId: 137,
|
||||
network: 'polygon',
|
||||
nodeUri: 'https://polygon-mainnet.infura.io/v3',
|
||||
providerUri: 'https://v4.provider.polygon.oceanprotocol.com',
|
||||
providerUri: 'https://v4-2.provider.polygon.oceanprotocol.com',
|
||||
subgraphUri: 'https://v4.subgraph.polygon.oceanprotocol.com',
|
||||
explorerUri: 'https://polygonscan.com',
|
||||
oceanTokenSymbol: 'mOCEAN',
|
||||
@ -84,7 +84,7 @@ export const configHelperNetworks: Config[] = [
|
||||
chainId: 80001,
|
||||
network: 'mumbai',
|
||||
nodeUri: 'https://polygon-mumbai.infura.io/v3',
|
||||
providerUri: 'https://v4.provider.mumbai.oceanprotocol.com',
|
||||
providerUri: 'https://v4-2.provider.mumbai.oceanprotocol.com',
|
||||
subgraphUri: 'https://v4.subgraph.mumbai.oceanprotocol.com',
|
||||
explorerUri: 'https://mumbai.polygonscan.com',
|
||||
gasFeeMultiplier: 1.1
|
||||
@ -94,7 +94,7 @@ export const configHelperNetworks: Config[] = [
|
||||
chainId: 56,
|
||||
network: 'bsc',
|
||||
nodeUri: 'https://bsc-dataseed.binance.org',
|
||||
providerUri: 'https://v4.provider.bsc.oceanprotocol.com',
|
||||
providerUri: 'https://v4-2.provider.bsc.oceanprotocol.com',
|
||||
subgraphUri: 'https://v4.subgraph.bsc.oceanprotocol.com',
|
||||
explorerUri: 'https://bscscan.com/',
|
||||
gasFeeMultiplier: 1.05
|
||||
@ -104,7 +104,7 @@ export const configHelperNetworks: Config[] = [
|
||||
chainId: 246,
|
||||
network: 'energyweb',
|
||||
nodeUri: 'https://rpc.energyweb.org',
|
||||
providerUri: 'https://v4.provider.energyweb.oceanprotocol.com',
|
||||
providerUri: 'https://v4-2.provider.energyweb.oceanprotocol.com',
|
||||
subgraphUri: 'https://v4.subgraph.energyweb.oceanprotocol.com',
|
||||
explorerUri: 'https://explorer.energyweb.org',
|
||||
gasFeeMultiplier: 1.05
|
||||
@ -114,7 +114,7 @@ export const configHelperNetworks: Config[] = [
|
||||
chainId: 1285,
|
||||
network: 'moonriver',
|
||||
nodeUri: 'https://moonriver.api.onfinality.io/public',
|
||||
providerUri: 'https://v4.provider.moonriver.oceanprotocol.com',
|
||||
providerUri: 'https://v4-2.provider.moonriver.oceanprotocol.com',
|
||||
subgraphUri: 'https://v4.subgraph.moonriver.oceanprotocol.com',
|
||||
explorerUri: 'https://moonriver.moonscan.io/',
|
||||
gasFeeMultiplier: 1.05
|
||||
|
@ -117,6 +117,7 @@ export class Provider {
|
||||
|
||||
/** Encrypt data using the Provider's own symmetric key
|
||||
* @param {string} data data in json format that needs to be sent , it can either be a DDO or a File array
|
||||
* @param {number} chainId network's id so provider can choose the corresponding web3 object
|
||||
* @param {string} providerUri provider uri address
|
||||
* @param {AbortSignal} signal abort signal
|
||||
* @return {Promise<string>} urlDetails
|
||||
|
Loading…
x
Reference in New Issue
Block a user