Skip to content

Commit

Permalink
change rpc endpoint for paseo
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Apr 29, 2024
1 parent 06f17fc commit a026abd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/CheckWalletTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion components/Header/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a026abd

Please sign in to comment.