diff --git a/package.json b/package.json
index f772163da..a9bd1ac46 100644
--- a/package.json
+++ b/package.json
@@ -29,7 +29,7 @@
"@radix-ui/react-toggle-group": "^1.0.1",
"@radix-ui/react-tooltip": "1.0.6",
"@rainbow-me/rainbowkit": "2.0.0",
- "@reservoir0x/reservoir-kit-ui": "^2.5.10",
+ "@reservoir0x/reservoir-kit-ui": "^2.5.12",
"@sentry/nextjs": "^7.85.0",
"@tanstack/react-query": "5.20.2",
"@types/uuid": "^9.0.1",
diff --git a/public/icons/bitlayer-icon-dark.svg b/public/icons/bitlayer-icon-dark.svg
new file mode 100644
index 000000000..49d7ac958
--- /dev/null
+++ b/public/icons/bitlayer-icon-dark.svg
@@ -0,0 +1,10 @@
+
diff --git a/public/icons/bitlayer-icon-light.svg b/public/icons/bitlayer-icon-light.svg
new file mode 100644
index 000000000..a1b5a07e8
--- /dev/null
+++ b/public/icons/bitlayer-icon-light.svg
@@ -0,0 +1,10 @@
+
diff --git a/utils/chains.ts b/utils/chains.ts
index 46b6eae02..d5cb842b7 100644
--- a/utils/chains.ts
+++ b/utils/chains.ts
@@ -465,4 +465,19 @@ export default [
oracleBidsEnabled: true,
checkPollingInterval: reservoirChains.cyber.checkPollingInterval,
},
+ {
+ ...customChains.bitlayer,
+ name: 'Bitlayer',
+ lightIconUrl: '/icons/bitlayer-icon-light.svg',
+ darkIconUrl: '/icons/bitlayer-icon-dark.svg',
+ reservoirBaseUrl: reservoirChains.bitlayer.baseApiUrl,
+ proxyApi: '/api/reservoir/bitlayer',
+ routePrefix: 'bitlayer',
+ apiKey: process.env.RESERVOIR_API_KEY,
+ coingeckoId: 'bitcoin',
+ collectionSetId: process.env.NEXT_PUBLIC_BITLAYER_COLLECTION_SET_ID,
+ community: process.env.NEXT_PUBLIC_BITLAYER_COMMUNITY,
+ oracleBidsEnabled: true,
+ checkPollingInterval: reservoirChains.bitlayer.checkPollingInterval,
+ },
] as ReservoirChain[]
diff --git a/utils/paymentTokens.ts b/utils/paymentTokens.ts
index e3d4b9a74..6ef3179b9 100644
--- a/utils/paymentTokens.ts
+++ b/utils/paymentTokens.ts
@@ -598,6 +598,7 @@ export const chainPaymentTokensMap = {
decimals: 18,
},
],
+
// degen
666666666: [
{
@@ -609,7 +610,7 @@ export const chainPaymentTokensMap = {
},
],
- // Xai
+ // xai
660279: [
{
chainId: 660279,
@@ -627,7 +628,7 @@ export const chainPaymentTokensMap = {
},
],
- // Nebula
+ // nebula
1482601649: [
{
chainId: 1482601649,
@@ -636,7 +637,15 @@ export const chainPaymentTokensMap = {
name: 'SFUEL',
decimals: 18,
},
+ {
+ chainId: 1482601649,
+ address: '0xab01bad2c86e24d371a13ed6367bdca819589c5d',
+ symbol: 'ETH',
+ name: 'Europa ETH',
+ decimals: 18,
+ },
],
+
// cyber
7560: [
{
@@ -654,4 +663,22 @@ export const chainPaymentTokensMap = {
decimals: 18,
},
],
+
+ // bitlayer
+ 200901: [
+ {
+ chainId: 200901,
+ address: zeroAddress,
+ symbol: 'BTC',
+ name: 'Bitcoin',
+ decimals: 18,
+ },
+ {
+ chainId: 200901,
+ address: '0xff204e2681a6fa0e2c3fade68a1b28fb90e4fc5f',
+ symbol: 'WBTC',
+ name: 'Wrapped BTC',
+ decimals: 18,
+ },
+ ],
} as Record
diff --git a/utils/wrappedContracts.ts b/utils/wrappedContracts.ts
index 3539facc1..a94222ae1 100644
--- a/utils/wrappedContracts.ts
+++ b/utils/wrappedContracts.ts
@@ -23,6 +23,7 @@ const wrappedContracts: Record = {
660279: '0x3fb787101dc6be47cfe18aeee15404dcc842e6af', // xai
1482601649: '0xab01bad2c86e24d371a13ed6367bdca819589c5d', // nebula
7560: '0x4200000000000000000000000000000000000006', // cyber
+ 200901: '0xff204e2681a6fa0e2c3fade68a1b28fb90e4fc5f', // bitlayer
}
export default wrappedContracts
diff --git a/yarn.lock b/yarn.lock
index b605cb6e1..c84e83cd0 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1895,10 +1895,10 @@
dependencies:
merge-options "^3.0.4"
-"@reservoir0x/reservoir-kit-ui@^2.5.10":
- version "2.5.10"
- resolved "https://registry.yarnpkg.com/@reservoir0x/reservoir-kit-ui/-/reservoir-kit-ui-2.5.10.tgz#332703fa92b4b3461b7745ae5753f1e6f328bec8"
- integrity sha512-ChP6ERjP7itcAHFKWPudxDRo1DI+YcMCQBxoWk9kBPjV1IeaT71uvSu/YwWUPVTfSx83dsoWv/fUcuxMbX9PNA==
+"@reservoir0x/reservoir-kit-ui@^2.5.12":
+ version "2.5.12"
+ resolved "https://registry.yarnpkg.com/@reservoir0x/reservoir-kit-ui/-/reservoir-kit-ui-2.5.12.tgz#dd16e82c2362aeb50f3bfdd207fae086c2d6ff5b"
+ integrity sha512-/ouUvyuLJtWdKmYEjlF9UnnhKdeDE/aeBhCnOscHVGt7jmmATs7ap9TBQTyqLoiCVyK9J1dXJkKxdP24oZwaow==
dependencies:
"@fortawesome/fontawesome-svg-core" "^6.1.1"
"@fortawesome/free-solid-svg-icons" "^6.1.1"
@@ -1914,7 +1914,7 @@
"@radix-ui/react-toggle-group" "1.0.4"
"@radix-ui/react-tooltip" "1.0.6"
"@react-hookz/web" "^19.2.0"
- "@reservoir0x/reservoir-sdk" "2.2.1"
+ "@reservoir0x/reservoir-sdk" "2.2.3"
"@stitches/react" "1.3.1-1"
dayjs "^1.11.4"
flatpickr "^4.6.13"
@@ -1922,10 +1922,10 @@
react-flatpickr "^3.10.13"
swr "2.0.1"
-"@reservoir0x/reservoir-sdk@2.2.1":
- version "2.2.1"
- resolved "https://registry.yarnpkg.com/@reservoir0x/reservoir-sdk/-/reservoir-sdk-2.2.1.tgz#ff460e1224f8d0721802b0df5c1a1e001960e88b"
- integrity sha512-6vCNr/TkjA+ElblVM8V8ZL8Q5x2yYjBhVmr5T5snakV0Z0Fh//uQ3Q36hYBuuth4tzgjKe3bM//rBYZPDjSjEQ==
+"@reservoir0x/reservoir-sdk@2.2.3":
+ version "2.2.3"
+ resolved "https://registry.yarnpkg.com/@reservoir0x/reservoir-sdk/-/reservoir-sdk-2.2.3.tgz#5a1488710e38cf955da445de6881e88e3d37f3eb"
+ integrity sha512-JyuEE3RC7HIISLocRjHp5XL7iIxUAnxSkAat0t+ro5ppoPB+cRSxByRtLa0xW/X26R7Nt1e5ILrlLBGvyqOfKg==
dependencies:
axios "^1.6.7"