From b86ed6fc1b66adc2fdc235d4ea3206a0534d8e08 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 8 Sep 2020 21:13:32 +0200 Subject: [PATCH] update OceanProvider config docs --- src/providers/OceanProvider/README.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/providers/OceanProvider/README.md b/src/providers/OceanProvider/README.md index 58fddd6..9d1fd8c 100644 --- a/src/providers/OceanProvider/README.md +++ b/src/providers/OceanProvider/README.md @@ -23,16 +23,22 @@ const web3ModalOpts = { providerOptions // required } +const oceanDefaultConfig = new ConfigHelper().getConfig( + 'mainnet', + 'YOUR_INFURA_PROJECT_ID' +) + +const config = { + ...oceanDefaultConfig, + metadataStoreUri: 'https://your-metadata-store.com', + providerUri: 'https://your-provider.com' +} + export default function MyApp({ children }: { children: ReactNode }): ReactNode { - const oceanInitialConfig = new ConfigHelper().getConfig( - 'mainnet', - 'INFURA_PROJECT_ID' - ) - return (

My App