Skip to content

Commit

Permalink
Merge pull request #503 from reservoirprotocol/jaden/platf-3627-add-x…
Browse files Browse the repository at this point in the history
…ai-chain-to-the-explorer

feat: adding icons for degen, xai, and nebula
  • Loading branch information
JadenDurnford committed May 20, 2024
2 parents 4e617d9 + 6f84f53 commit b71c906
Show file tree
Hide file tree
Showing 7 changed files with 85 additions and 8 deletions.
11 changes: 9 additions & 2 deletions public/icons/degen-icon-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 9 additions & 2 deletions public/icons/degen-icon-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions public/icons/nebula-icon-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions public/icons/nebula-icon-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions public/icons/xai-icon-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions public/icons/xai-icon-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 19 additions & 4 deletions utils/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@ export default [
{
...customChains.xai,
name: 'Xai',
lightIconUrl: '/icons/eth-icon-light.svg',
darkIconUrl: '/icons/eth-icon-dark.svg',
lightIconUrl: '/icons/xai-icon-light.svg',
darkIconUrl: '/icons/xai-icon-dark.svg',
reservoirBaseUrl: reservoirChains.xai.baseApiUrl,
proxyApi: '/api/reservoir/xai',
routePrefix: 'xai',
Expand All @@ -397,8 +397,8 @@ export default [
{
...customChains.nebula,
name: 'Nebula',
lightIconUrl: '/icons/eth-icon-light.svg',
darkIconUrl: '/icons/eth-icon-dark.svg',
lightIconUrl: '/icons/nebula-icon-light.svg',
darkIconUrl: '/icons/nebula-icon-dark.svg',
reservoirBaseUrl: reservoirChains.nebula.baseApiUrl,
proxyApi: '/api/reservoir/nebula',
routePrefix: 'nebula',
Expand All @@ -409,4 +409,19 @@ export default [
oracleBidsEnabled: true,
checkPollingInterval: reservoirChains.nebula.checkPollingInterval,
},
{
...customChains.degen,
name: 'Degen',
lightIconUrl: '/icons/degen-icon-light.svg',
darkIconUrl: '/icons/degen-icon-dark.svg',
reservoirBaseUrl: reservoirChains.degen.baseApiUrl,
proxyApi: '/api/reservoir/degen',
routePrefix: 'degen',
apiKey: process.env.RESERVOIR_API_KEY,
coingeckoId: 'degen-base',
collectionSetId: process.env.NEXT_PUBLIC_DEGEN_COLLECTION_SET_ID,
community: process.env.NEXT_PUBLIC_DEGEN_COMMUNITY,
oracleBidsEnabled: true,
checkPollingInterval: reservoirChains.degen.checkPollingInterval,
},
] as ReservoirChain[]

0 comments on commit b71c906

Please sign in to comment.