Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry pick: api: add phala-network to the pricefeed (#1668) #1670

Merged
merged 2 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading