*Change pokt sol-mainnet to solana-mainnet

This commit is contained in:
Derrick Hammer 2022-08-18 19:28:27 -04:00
parent 00492de90c
commit 8c16ad5469
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
3 changed files with 5 additions and 5 deletions

View File

@ -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"
}

View File

@ -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"
)}`
);

View File

@ -4,6 +4,6 @@ import chainNetworks from "../networks.json";
export default {
getAccountInfo: proxyRpcMethod("getAccountInfo", [
chainNetworks["sol-mainnet"],
chainNetworks["solana-mainnet"],
]),
} as RpcMethodList;