diff --git a/components/CheckWalletTab.vue b/components/CheckWalletTab.vue index 51ca5be..56c51f7 100644 --- a/components/CheckWalletTab.vue +++ b/components/CheckWalletTab.vue @@ -95,7 +95,7 @@ const shield = async () => { // todo! instead of sending 90% we should check fees and ED explicitly and handle edge cases let amount = Math.floor(0.9 * balance) console.log(`sending ${amount} to vault: ${incogniteeStore.vault}`); - const wsProvider = new WsProvider('wss://paseo.rpc.amforc.com'); + const wsProvider = new WsProvider('wss://rpc.ibp.network/paseo'); const api = await ApiPromise.create({provider: wsProvider}); console.log("api initialized for shielding") await api.tx.balances.transferKeepAlive(incogniteeStore.vault, amount).signAndSend(accountStore.account, txResHandler) diff --git a/components/Header/index.vue b/components/Header/index.vue index 618eda8..215ceaa 100644 --- a/components/Header/index.vue +++ b/components/Header/index.vue @@ -107,7 +107,7 @@ watch( async () => { //todo! only reinitilize if account changes console.log("trying to init api") - const wsProvider = new WsProvider('wss://paseo.rpc.amforc.com'); + const wsProvider = new WsProvider('wss://rpc.ibp.network/paseo'); const api = await ApiPromise.create({ provider: wsProvider }); api.query.system.account(accountStore.account.address, ({ data: { free: currentFree }}) => { console.log("paseo balance:" + currentFree)