*Change pokt sol-mainnet to solana-mainnet
This commit is contained in:
parent
00492de90c
commit
8c16ad5469
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
)}`
|
||||
);
|
||||
|
||||
|
|
|
@ -4,6 +4,6 @@ import chainNetworks from "../networks.json";
|
|||
|
||||
export default {
|
||||
getAccountInfo: proxyRpcMethod("getAccountInfo", [
|
||||
chainNetworks["sol-mainnet"],
|
||||
chainNetworks["solana-mainnet"],
|
||||
]),
|
||||
} as RpcMethodList;
|
||||
|
|
Loading…
Reference in New Issue