Skip to content

Commit 1682fac

Browse files
authored
Change RPC providers from Relay to Asset Hub (#176)
* Change RPC providers from Relay to Asset Hub * Change default provider to IBP1
1 parent 758204b commit 1682fac

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

.env.production

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
REACT_APP_NAME=Kusama Society
22
REACT_APP_KEYRING_PREFIX=2
33
REACT_APP_RPC={}
4-
REACT_APP_PROVIDER_SOCKET=wss://rpc.ibp.network/kusama
4+
REACT_APP_PROVIDER_SOCKET=wss://sys.ibp.network/asset-hub-kusama
55

66
# These keys are read-only, no harm in exposing them
77
REACT_APP_PINATA_API_KEY="86c94c7482c7ea399726"

.env.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
REACT_APP_NAME=[TEST] Kusama Society
22
REACT_APP_KEYRING_PREFIX=2
33
REACT_APP_RPC={}
4-
REACT_APP_PROVIDER_SOCKET=wss://rpc.ibp.network/kusama
4+
REACT_APP_PROVIDER_SOCKET=wss://sys.ibp.network/asset-hub-kusama
55

66
# These keys are read-only, no harm in exposing them
77
REACT_APP_PINATA_API_KEY="6410248abd4b4babc313"

src/helpers/providers.ts

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
export type Provider = { name: string; url: string; dev: boolean }
22

33
export const providers = [
4-
{ name: 'Blockops', url: 'wss://kusama-public-rpc.blockops.network/ws', dev: false },
5-
{ name: 'Dwellir', url: 'wss://kusama-rpc.dwellir.com', dev: false },
6-
{ name: 'Dwellir Tunisia', url: 'wss://kusama-rpc-tn.dwellir.com', dev: false },
7-
{ name: 'Geometry', url: 'wss://kusama.geometry.io/websockets', dev: false },
8-
{ name: 'IBP', url: 'wss://rpc.ibp.network/kusama', dev: false },
9-
{ name: 'IBP Dotters', url: 'wss://rpc.dotters.network/kusama', dev: false },
10-
{ name: 'LuckyFriday', url: 'wss://rpxc-kusama.luckyfriday.io', dev: false },
11-
{ name: 'OnFinality', url: 'wss://kusama.api.onfinality.io/public-ws', dev: false },
12-
{ name: 'Parity', url: 'wss://kusama-rpc.polkadot.io', dev: false },
13-
{ name: 'RadiumBlock', url: 'wss://kusama.public.curie.radiumblock.co/ws', dev: false },
14-
{ name: 'StakeWorld', url: 'wss://ksm-rpc.stakeworld.io', dev: false },
15-
{ name: '1RPC', url: 'wss://1rpc.io/ksm', dev: false },
4+
{ name: 'Dwellir', url: 'wss://asset-hub-kusama-rpc.n.dwellir.com', dev: false },
5+
{ name: 'Dwellir Tunisia', url: 'wss://statemine-rpc-tn.dwellir.com', dev: false },
6+
{ name: 'IBP1', url: 'wss://sys.ibp.network/asset-hub-kusama', dev: false },
7+
{ name: 'IBP2', url: 'wss://asset-hub-kusama.dotters.network', dev: false },
8+
{ name: 'LuckyFriday', url: 'wss://rpc-asset-hub-kusama.luckyfriday.io', dev: false },
9+
{ name: 'OnFinality', url: 'wss://assethub-kusama.api.onfinality.io/public-ws', dev: false },
10+
{ name: 'Parity', url: 'wss://kusama-asset-hub-rpc.polkadot.io', dev: false },
11+
{ name: 'RadiumBlock', url: 'wss://statemine.public.curie.radiumblock.co/ws', dev: false },
12+
{ name: 'Stakeworld', url: 'wss://ksm-rpc.stakeworld.io/assethub', dev: false },
1613
{ name: 'Local', url: 'ws://127.0.0.1:9444', dev: true },
1714
{ name: 'Chopsticks', url: 'ws://127.0.0.1:8000', dev: true }
1815
]

0 commit comments

Comments
 (0)