Skip to content

Commit

Permalink
Add Pokt RPC server
Browse files Browse the repository at this point in the history
  • Loading branch information
paullinator committed Aug 31, 2023
1 parent 0d63c08 commit 92d1d39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ethereum/ethereumTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export interface EthereumInitOptions {
gasStationApiKey?: string
quiknodeApiKey?: string
alchemyApiKey?: string
poktPortalApiKey?: string
}

export const asEthereumInitOptions = asObject<EthereumInitOptions>({
Expand All @@ -38,7 +39,8 @@ export const asEthereumInitOptions = asObject<EthereumInitOptions>({
amberdataApiKey: asOptional(asString),
gasStationApiKey: asOptional(asString),
quiknodeApiKey: asOptional(asString),
alchemyApiKey: asOptional(asString)
alchemyApiKey: asOptional(asString),
poktPortalApiKey: asOptional(asString)
})

function isKeyOfEthereumInitOptions(
Expand Down
1 change: 1 addition & 0 deletions src/ethereum/info/ethereumInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,7 @@ export const networkInfo: EthereumNetworkInfo = {
'https://eth-mainnet.alchemyapi.io/v2/-{{alchemyApiKey}}',
'https://mainnet.infura.io/v3/{{infuraProjectId}}',
'https://rpc.ankr.com/eth',
'https://eth-mainnet.gateway.pokt.network/v1/lb/{{poktPortalApiKey}}',
'https://cloudflare-eth.com'
],

Expand Down

0 comments on commit 92d1d39

Please sign in to comment.