From 9a9a888bcb3c2e9c4fe9d87d758da080663fd28c Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 25 Jul 2022 22:38:44 -0400 Subject: [PATCH] *use app over api for pocket API keys --- src/rpc/common.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rpc/common.ts b/src/rpc/common.ts index 2a68852..2457413 100644 --- a/src/rpc/common.ts +++ b/src/rpc/common.ts @@ -15,16 +15,16 @@ const gatewayMethods: { default: (chainId: string): RpcProviderMethod => { const provider = new ethers.providers.JsonRpcProvider({ url: `https://${chainId}.gateway.pokt.network/v1/lb/${config.str( - "pocket-api-id" + "pocket-app-id" )}`, - password: config.str("pocket-api-key"), + password: config.str("pocket-app-key"), }); return provider.send.bind(provider); }, "sol-mainnet": (chainId: string): RpcProviderMethod => { const provider = new Connection( `https://solana-mainnet.gateway.pokt.network/v1/lb/${config.str( - "pocket-api-id" + "pocket-app-key" )}` );