Skip to content

Commit

Permalink
Merge pull request #534 from provenance-io/jarryd/more-tweaks
Browse files Browse the repository at this point in the history
feat: Try to override the rpc endpoint
  • Loading branch information
jarrydallison authored Oct 17, 2024
2 parents 0b4915e + e0756dd commit 5ccd1b3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 88 deletions.
29 changes: 17 additions & 12 deletions src/Providers/CosmosProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,25 +77,30 @@ export const CosmosProvider = ({ children }: { children: React.ReactNode }) => {
wallets={wallets}
walletModal={undefined}
endpointOptions={{
isLazy: true,
endpoints: {
provenance: {
rpc: ['https://rpc.provenance.io/'],
rest: [REST_ENDPOINT],
},
[CHAIN_CONFIG.chain_name]: {
rpc: [RPC_ENDPOINT],
rest: [REST_ENDPOINT],
},
},
}}
walletConnectOptions={{
signClient: {
projectId: 'a8510432ebb71e6948cfd6cde54b70f7',
relayUrl: 'wss://relay.walletconnect.org',
metadata: {
name: 'CosmosKit Template',
description: 'CosmosKit dapp template',
url: 'https://docs.cosmology.zone/cosmos-kit/',
icons: [],
},
},
}}
// walletConnectOptions={{
// signClient: {
// projectId: 'a8510432ebb71e6948cfd6cde54b70f7',
// relayUrl: 'wss://relay.walletconnect.org',
// metadata: {
// name: 'CosmosKit Template',
// description: 'CosmosKit dapp template',
// url: 'https://docs.cosmology.zone/cosmos-kit/',
// icons: [],
// },
// },
// }}
// @ts-ignore
signerOptions={signerOptions}
>
Expand Down
76 changes: 0 additions & 76 deletions src/config/mainnetprovenance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,92 +289,16 @@ export const MainnetChainConfig: Chain = {
},
apis: {
rpc: [
{
address: 'https://rpc-provenance.takeshi.team/',
provider: 'TAKESHI'
},
{
address: 'https://rpc.provenance.io/',
provider: 'Figure'
},
{
address: 'https://rpc-provenance-ia.cosmosia.notional.ventures/',
provider: 'Notional'
},
{
address: 'https://provenance-mainnet-rpc.autostake.com:443',
provider: 'AutoStake πŸ›‘οΈ Slash Protected'
},
{
address: 'https://provenance-rpc.ibs.team',
provider: 'Inter Blockchain Services'
},
{
address: 'https://provenance-rpc.highstakes.ch',
provider: 'High Stakes πŸ‡¨πŸ‡­'
},
{
address: 'https://rpc.provenance.blockval.io/',
provider: 'Blockval'
},
{
address: 'https://provenance-rpc.panthea.eu',
provider: 'Panthea EU'
},
{
address: 'https://provenance_mainnet_rpc.chain.whenmoonwhenlambo.money',
provider: 'πŸš€ WHEN MOON πŸŒ• WHEN LAMBO πŸ”₯'
},
{
address: 'https://rpc.pio-mainnet-1.provenance.aviaone.com',
provider: 'AVIAONE 🟒'
}
],
rest: [
{
address: 'https://api-provenance.takeshi.team',
provider: 'TAKESHI'
},
{
address: 'https://provenance-mainnet-lcd.autostake.com:443',
provider: 'AutoStake πŸ›‘οΈ Slash Protected'
},
{
address: 'https://api.provenance.io',
provider: 'Figure'
},
{
address: 'https://provenance.api.m.stavr.tech',
provider: 'πŸ”₯STAVRπŸ”₯'
},
{
address: 'https://api-provenance-ia.cosmosia.notional.ventures/',
provider: 'Notional'
},
{
address: 'https://provenance-api.ibs.team',
provider: 'Inter Blockchain Services'
},
{
address: 'https://provenance-api.highstakes.ch',
provider: 'High Stakes πŸ‡¨πŸ‡­'
},
{
address: 'https://api.provenance.blockval.io',
provider: 'Blockval'
},
{
address: 'https://provenance-api.panthea.eu',
provider: 'Panthea EU'
},
{
address: 'https://provenance_mainnet_api.chain.whenmoonwhenlambo.money',
provider: 'πŸš€ WHEN MOON πŸŒ• WHEN LAMBO πŸ”₯'
},
{
address: 'https://api.pio-mainnet-1.provenance.aviaone.com',
provider: 'AVIAONE 🟒'
}
],
grpc: [
{
Expand Down

0 comments on commit 5ccd1b3

Please sign in to comment.