From 8c16ad5469eda0f73449a3b65e7ba19f92a118d3 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 18 Aug 2022 19:28:27 -0400 Subject: [PATCH] *Change pokt sol-mainnet to solana-mainnet --- src/networks.json | 4 ++-- src/rpc/common.ts | 4 ++-- src/rpc/solana.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/networks.json b/src/networks.json index 4493fee..ae1b4cf 100644 --- a/src/networks.json +++ b/src/networks.json @@ -40,6 +40,6 @@ "poly-archival": "000B", "poly-mumbai": "000F", "poly-mumbai-archival": "00AF", - "sol-mainnet": "6", - "sol-testnet": "31" + "solana-mainnet": "6", + "solana-testnet": "31" } diff --git a/src/rpc/common.ts b/src/rpc/common.ts index bdba66f..79635c2 100644 --- a/src/rpc/common.ts +++ b/src/rpc/common.ts @@ -26,10 +26,10 @@ const gatewayMethods: { }); return provider.send.bind(provider); }, - "sol-mainnet": (chainId: string): RpcProviderMethod => { + "solana-mainnet": (chainId: string): RpcProviderMethod => { const provider = new Connection( `https://solana-mainnet.gateway.pokt.network/v1/lb/${config.str( - "pocket-app-key" + "pocket-app-id" )}` ); diff --git a/src/rpc/solana.ts b/src/rpc/solana.ts index e5f6e9c..0646c23 100644 --- a/src/rpc/solana.ts +++ b/src/rpc/solana.ts @@ -4,6 +4,6 @@ import chainNetworks from "../networks.json"; export default { getAccountInfo: proxyRpcMethod("getAccountInfo", [ - chainNetworks["sol-mainnet"], + chainNetworks["solana-mainnet"], ]), } as RpcMethodList;