Skip to content

Commit

Permalink
Merge branch 'jaden/disable-xai-and-nebula' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
JadenDurnford committed May 21, 2024
2 parents 99b737c + 7fb3918 commit 3494671
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 30 deletions.
60 changes: 30 additions & 30 deletions utils/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,34 +420,34 @@ export default [
oracleBidsEnabled: true,
checkPollingInterval: reservoirChains.degen.checkPollingInterval,
},
// {
// ...customChains.xai,
// name: 'Xai',
// lightIconUrl: '/icons/xai-icon-light.svg',
// darkIconUrl: '/icons/xai-icon-dark.svg',
// reservoirBaseUrl: reservoirChains.xai.baseApiUrl,
// proxyApi: '/api/reservoir/xai',
// routePrefix: 'xai',
// apiKey: process.env.RESERVOIR_API_KEY,
// coingeckoId: 'xai-blockchain',
// collectionSetId: process.env.NEXT_PUBLIC_XAI_COLLECTION_SET_ID,
// community: process.env.NEXT_PUBLIC_XAI_COMMUNITY,
// oracleBidsEnabled: true,
// checkPollingInterval: reservoirChains.xai.checkPollingInterval,
// },
// {
// ...customChains.nebula,
// name: 'Nebula',
// lightIconUrl: '/icons/nebula-icon-light.svg',
// darkIconUrl: '/icons/nebula-icon-dark.svg',
// reservoirBaseUrl: reservoirChains.nebula.baseApiUrl,
// proxyApi: '/api/reservoir/nebula',
// routePrefix: 'nebula',
// apiKey: process.env.RESERVOIR_API_KEY,
// coingeckoId: 'ethereum',
// collectionSetId: process.env.NEXT_PUBLIC_NEBULA_COLLECTION_SET_ID,
// community: process.env.NEXT_PUBLIC_NEBULA_COMMUNITY,
// oracleBidsEnabled: true,
// checkPollingInterval: reservoirChains.nebula.checkPollingInterval,
// },
{
...customChains.xai,
name: 'Xai',
lightIconUrl: '/icons/xai-icon-light.svg',
darkIconUrl: '/icons/xai-icon-dark.svg',
reservoirBaseUrl: reservoirChains.xai.baseApiUrl,
proxyApi: '/api/reservoir/xai',
routePrefix: 'xai',
apiKey: process.env.RESERVOIR_API_KEY,
coingeckoId: 'xai-blockchain',
collectionSetId: process.env.NEXT_PUBLIC_XAI_COLLECTION_SET_ID,
community: process.env.NEXT_PUBLIC_XAI_COMMUNITY,
oracleBidsEnabled: true,
checkPollingInterval: reservoirChains.xai.checkPollingInterval,
},
{
...customChains.nebula,
name: 'Nebula',
lightIconUrl: '/icons/nebula-icon-light.svg',
darkIconUrl: '/icons/nebula-icon-dark.svg',
reservoirBaseUrl: reservoirChains.nebula.baseApiUrl,
proxyApi: '/api/reservoir/nebula',
routePrefix: 'nebula',
apiKey: process.env.RESERVOIR_API_KEY,
coingeckoId: 'ethereum',
collectionSetId: process.env.NEXT_PUBLIC_NEBULA_COLLECTION_SET_ID,
community: process.env.NEXT_PUBLIC_NEBULA_COMMUNITY,
oracleBidsEnabled: true,
checkPollingInterval: reservoirChains.nebula.checkPollingInterval,
},
] as ReservoirChain[]
29 changes: 29 additions & 0 deletions utils/paymentTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,35 @@ export const chainPaymentTokensMap = {
decimals: 18,
},
],

// Xai
660279: [
{
chainId: 660279,
address: zeroAddress,
symbol: 'XAI',
name: 'Xai',
decimals: 18,
},
{
chainId: 660279,
address: '0x3fb787101dc6be47cfe18aeee15404dcc842e6af',
symbol: 'WXAI',
name: 'WXAI',
decimals: 18,
},
],

// Nebula
1482601649: [
{
chainId: 1482601649,
address: zeroAddress,
symbol: 'SFUEL',
name: 'SFUEL',
decimals: 18,
},
],
// cyber
7560: [
{
Expand Down

0 comments on commit 3494671

Please sign in to comment.