Skip to content

Commit

Permalink
Cherry pick: api: add phala-network to the pricefeed (#1668) (#1670)
Browse files Browse the repository at this point in the history
* api: add phala-network to the pricefeed (#1668)

(cherry picked from commit b8ffbe2)

* Feat: bump xcm lib (#1671)

* chore: update @interlay/bridge (xcm lib)

* feat: add phala wss endpoints, add additional bifrost_polkadot endooints

* chore: updated yarn lock file

---------

Co-authored-by: ns212 <[email protected]>
  • Loading branch information
bvotteler and ns212 authored Sep 23, 2024
1 parent 1908e38 commit aaf1396
Show file tree
Hide file tree
Showing 4 changed files with 569 additions and 110 deletions.
3 changes: 2 additions & 1 deletion api/market_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ const dia_assets = {
"dai": "/Ethereum/0x6B175474E89094C44Da98b954EedeAC495271d0F",
"moonbeam": "/Moonbeam/0x0000000000000000000000000000000000000000",
"usd-coin": "/Ethereum/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"wrapped-bitcoin": "/Ethereum/0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"
"wrapped-bitcoin": "/Ethereum/0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
"phala-network": "/Ethereum/0x6c5bA91642F10282b576d91922Ae6448C9d52f4E"
}

// Coingecko to Dia XLSD tickers
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"@craco/craco": "^6.1.1",
"@headlessui/react": "^1.1.1",
"@heroicons/react": "^2.0.18",
"@interlay/bridge": "^0.6.0",
"@interlay/bridge": "^0.6.2",
"@interlay/interbtc-api": "2.6.0",
"@interlay/monetary-js": "0.7.3",
"@polkadot/api": "10.9.1",
Expand Down
7 changes: 6 additions & 1 deletion src/hooks/api/xcm/xcm-endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ const XCMEndpoints: XCMEndpointsRecord = {
acala: ['wss://acala-rpc-1.aca-api.network', 'wss://acala-rpc-3.aca-api.network/ws', 'wss://acala-rpc.dwellir.com'],
astar: ['wss://rpc.astar.network', 'wss://astar-rpc.dwellir.com'],
bifrost: ['wss://bifrost-rpc.dwellir.com', 'wss://us.bifrost-rpc.liebi.com/ws', 'wss://bifrost-rpc.liebi.com/ws'],
bifrost_polkadot: ['wss://hk.p.bifrost-rpc.liebi.com/ws'],
bifrost_polkadot: [
'wss://hk.p.bifrost-rpc.liebi.com/ws',
'wss://bifrost-polkadot-rpc.dwellir.com',
'wss://eu.bifrost-polkadot-rpc.liebi.com/ws'
],
heiko: ['wss://heiko-rpc.parallel.fi'],
hydra: ['wss://rpc.hydradx.cloud', 'wss://hydradx-rpc.dwellir.com'],
interlay: ['wss://api.interlay.io/parachain'],
Expand All @@ -23,6 +27,7 @@ const XCMEndpoints: XCMEndpointsRecord = {
'wss://rpc-kusama.luckyfriday.io'
],
parallel: ['wss://parallel-rpc.dwellir.com', 'wss://polkadot-rpc.parallel.fi'],
phala: ['wss://api.phala.network/ws', 'wss://phala-rpc.dwellir.com]'],
polkadot: [
'wss://polkadot-rpc.dwellir.com',
'wss://rpc.ibp.network/polkadot',
Expand Down
Loading

0 comments on commit aaf1396

Please sign in to comment.