*Change pokt sol-mainnet to solana-mainnet
This commit is contained in:
parent
00492de90c
commit
8c16ad5469
|
@ -40,6 +40,6 @@
|
||||||
"poly-archival": "000B",
|
"poly-archival": "000B",
|
||||||
"poly-mumbai": "000F",
|
"poly-mumbai": "000F",
|
||||||
"poly-mumbai-archival": "00AF",
|
"poly-mumbai-archival": "00AF",
|
||||||
"sol-mainnet": "6",
|
"solana-mainnet": "6",
|
||||||
"sol-testnet": "31"
|
"solana-testnet": "31"
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,10 +26,10 @@ const gatewayMethods: {
|
||||||
});
|
});
|
||||||
return provider.send.bind(provider);
|
return provider.send.bind(provider);
|
||||||
},
|
},
|
||||||
"sol-mainnet": (chainId: string): RpcProviderMethod => {
|
"solana-mainnet": (chainId: string): RpcProviderMethod => {
|
||||||
const provider = new Connection(
|
const provider = new Connection(
|
||||||
`https://solana-mainnet.gateway.pokt.network/v1/lb/${config.str(
|
`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 {
|
export default {
|
||||||
getAccountInfo: proxyRpcMethod("getAccountInfo", [
|
getAccountInfo: proxyRpcMethod("getAccountInfo", [
|
||||||
chainNetworks["sol-mainnet"],
|
chainNetworks["solana-mainnet"],
|
||||||
]),
|
]),
|
||||||
} as RpcMethodList;
|
} as RpcMethodList;
|
||||||
|
|
Loading…
Reference in New Issue