diff --git a/ios/Images.xcassets/badges/apechainBadge.imageset/apechainBadge.png b/ios/Images.xcassets/badges/apechainBadge.imageset/apechainBadge.png index a9c1e8c795a..b2e9d186af8 100644 Binary files a/ios/Images.xcassets/badges/apechainBadge.imageset/apechainBadge.png and b/ios/Images.xcassets/badges/apechainBadge.imageset/apechainBadge.png differ diff --git a/ios/Images.xcassets/badges/apechainBadge.imageset/apechainBadge@2x.png b/ios/Images.xcassets/badges/apechainBadge.imageset/apechainBadge@2x.png index bd647873044..4fd132ed1fb 100644 Binary files a/ios/Images.xcassets/badges/apechainBadge.imageset/apechainBadge@2x.png and b/ios/Images.xcassets/badges/apechainBadge.imageset/apechainBadge@2x.png differ diff --git a/ios/Images.xcassets/badges/apechainBadge.imageset/apechainBadge@3x.png b/ios/Images.xcassets/badges/apechainBadge.imageset/apechainBadge@3x.png index 06a7eeb07a8..33b686fb121 100644 Binary files a/ios/Images.xcassets/badges/apechainBadge.imageset/apechainBadge@3x.png and b/ios/Images.xcassets/badges/apechainBadge.imageset/apechainBadge@3x.png differ diff --git a/ios/Images.xcassets/badges/apechainBadgeLarge.imageset/apechainBadgeLarge.png b/ios/Images.xcassets/badges/apechainBadgeLarge.imageset/apechainBadgeLarge.png index bd647873044..b4261daba5e 100644 Binary files a/ios/Images.xcassets/badges/apechainBadgeLarge.imageset/apechainBadgeLarge.png and b/ios/Images.xcassets/badges/apechainBadgeLarge.imageset/apechainBadgeLarge.png differ diff --git a/ios/Images.xcassets/badges/apechainBadgeLarge.imageset/apechainBadgeLarge@2x.png b/ios/Images.xcassets/badges/apechainBadgeLarge.imageset/apechainBadgeLarge@2x.png index 3e39ee0e49f..c6576eb4e74 100644 Binary files a/ios/Images.xcassets/badges/apechainBadgeLarge.imageset/apechainBadgeLarge@2x.png and b/ios/Images.xcassets/badges/apechainBadgeLarge.imageset/apechainBadgeLarge@2x.png differ diff --git a/ios/Images.xcassets/badges/apechainBadgeLarge.imageset/apechainBadgeLarge@3x.png b/ios/Images.xcassets/badges/apechainBadgeLarge.imageset/apechainBadgeLarge@3x.png index 013d3a2d4b2..0e9b60470ff 100644 Binary files a/ios/Images.xcassets/badges/apechainBadgeLarge.imageset/apechainBadgeLarge@3x.png and b/ios/Images.xcassets/badges/apechainBadgeLarge.imageset/apechainBadgeLarge@3x.png differ diff --git a/ios/Images.xcassets/badges/apechainBadgeLargeDark.imageset/apechainBadgeLargeDark.png b/ios/Images.xcassets/badges/apechainBadgeLargeDark.imageset/apechainBadgeLargeDark.png index ced4dc053fd..30ddd73be15 100644 Binary files a/ios/Images.xcassets/badges/apechainBadgeLargeDark.imageset/apechainBadgeLargeDark.png and b/ios/Images.xcassets/badges/apechainBadgeLargeDark.imageset/apechainBadgeLargeDark.png differ diff --git a/ios/Images.xcassets/badges/apechainBadgeLargeDark.imageset/apechainBadgeLargeDark@2x.png b/ios/Images.xcassets/badges/apechainBadgeLargeDark.imageset/apechainBadgeLargeDark@2x.png index 3f3e8ecae55..faf0caafb64 100644 Binary files a/ios/Images.xcassets/badges/apechainBadgeLargeDark.imageset/apechainBadgeLargeDark@2x.png and b/ios/Images.xcassets/badges/apechainBadgeLargeDark.imageset/apechainBadgeLargeDark@2x.png differ diff --git a/ios/Images.xcassets/badges/apechainBadgeLargeDark.imageset/apechainBadgeLargeDark@3x.png b/ios/Images.xcassets/badges/apechainBadgeLargeDark.imageset/apechainBadgeLargeDark@3x.png index 240359855ce..46fb7f27973 100644 Binary files a/ios/Images.xcassets/badges/apechainBadgeLargeDark.imageset/apechainBadgeLargeDark@3x.png and b/ios/Images.xcassets/badges/apechainBadgeLargeDark.imageset/apechainBadgeLargeDark@3x.png differ diff --git a/ios/Images.xcassets/badges/ethereum.imageset/ethereum.png b/ios/Images.xcassets/badges/ethereum.imageset/ethereum.png index ce612bb3da8..90cd4377c61 100644 Binary files a/ios/Images.xcassets/badges/ethereum.imageset/ethereum.png and b/ios/Images.xcassets/badges/ethereum.imageset/ethereum.png differ diff --git a/ios/Images.xcassets/badges/ethereum.imageset/ethereum@2x.png b/ios/Images.xcassets/badges/ethereum.imageset/ethereum@2x.png index c3aa91dd13f..2f295c7eadf 100644 Binary files a/ios/Images.xcassets/badges/ethereum.imageset/ethereum@2x.png and b/ios/Images.xcassets/badges/ethereum.imageset/ethereum@2x.png differ diff --git a/ios/Images.xcassets/badges/ethereum.imageset/ethereum@3x.png b/ios/Images.xcassets/badges/ethereum.imageset/ethereum@3x.png index 237f8a091cd..5d46e46276b 100644 Binary files a/ios/Images.xcassets/badges/ethereum.imageset/ethereum@3x.png and b/ios/Images.xcassets/badges/ethereum.imageset/ethereum@3x.png differ diff --git a/ios/Images.xcassets/badges/ethereumBadge.imageset/ethereumBadge.png b/ios/Images.xcassets/badges/ethereumBadge.imageset/ethereumBadge.png index 5a23f3311ca..cbbfb144c7f 100644 Binary files a/ios/Images.xcassets/badges/ethereumBadge.imageset/ethereumBadge.png and b/ios/Images.xcassets/badges/ethereumBadge.imageset/ethereumBadge.png differ diff --git a/ios/Images.xcassets/badges/ethereumBadge.imageset/ethereumBadge@2x.png b/ios/Images.xcassets/badges/ethereumBadge.imageset/ethereumBadge@2x.png index 3ee02bb472f..2c72c8d698e 100644 Binary files a/ios/Images.xcassets/badges/ethereumBadge.imageset/ethereumBadge@2x.png and b/ios/Images.xcassets/badges/ethereumBadge.imageset/ethereumBadge@2x.png differ diff --git a/ios/Images.xcassets/badges/ethereumBadge.imageset/ethereumBadge@3x.png b/ios/Images.xcassets/badges/ethereumBadge.imageset/ethereumBadge@3x.png index 3a7be3d1771..fe08ca8285d 100644 Binary files a/ios/Images.xcassets/badges/ethereumBadge.imageset/ethereumBadge@3x.png and b/ios/Images.xcassets/badges/ethereumBadge.imageset/ethereumBadge@3x.png differ diff --git a/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/Contents.json b/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/Contents.json index 7f313fd1f25..9c67fccf244 100644 --- a/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/Contents.json +++ b/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/Contents.json @@ -1,7 +1,7 @@ { "images" : [ { - "filename" : "ethereumBadgeDark-1.png", + "filename" : "ethereumBadgeDark.png", "idiom" : "universal", "scale" : "1x" }, diff --git a/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/ethereumBadgeDark-1.png b/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/ethereumBadgeDark-1.png deleted file mode 100644 index f612970c6b4..00000000000 Binary files a/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/ethereumBadgeDark-1.png and /dev/null differ diff --git a/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/ethereumBadgeDark.png b/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/ethereumBadgeDark.png new file mode 100644 index 00000000000..e889ca02d99 Binary files /dev/null and b/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/ethereumBadgeDark.png differ diff --git a/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/ethereumBadgeDark@2x.png b/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/ethereumBadgeDark@2x.png index 4776b2c8ff8..bdb47515839 100644 Binary files a/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/ethereumBadgeDark@2x.png and b/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/ethereumBadgeDark@2x.png differ diff --git a/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/ethereumBadgeDark@3x.png b/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/ethereumBadgeDark@3x.png index 5a44b01db81..d91696eb022 100644 Binary files a/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/ethereumBadgeDark@3x.png and b/ios/Images.xcassets/badges/ethereumBadgeDark.imageset/ethereumBadgeDark@3x.png differ diff --git a/ios/Images.xcassets/badges/ethereumBadgeLarge.imageset/Contents.json b/ios/Images.xcassets/badges/ethereumBadgeLarge.imageset/Contents.json new file mode 100644 index 00000000000..2ef9ec19944 --- /dev/null +++ b/ios/Images.xcassets/badges/ethereumBadgeLarge.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "ethereumBadgeLarge.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "ethereumBadgeLarge@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "ethereumBadgeLarge@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ios/Images.xcassets/badges/ethereumBadgeLarge.imageset/ethereumBadgeLarge.png b/ios/Images.xcassets/badges/ethereumBadgeLarge.imageset/ethereumBadgeLarge.png new file mode 100644 index 00000000000..2c72c8d698e Binary files /dev/null and b/ios/Images.xcassets/badges/ethereumBadgeLarge.imageset/ethereumBadgeLarge.png differ diff --git a/ios/Images.xcassets/badges/ethereumBadgeLarge.imageset/ethereumBadgeLarge@2x.png b/ios/Images.xcassets/badges/ethereumBadgeLarge.imageset/ethereumBadgeLarge@2x.png new file mode 100644 index 00000000000..d8ba3c4fa41 Binary files /dev/null and b/ios/Images.xcassets/badges/ethereumBadgeLarge.imageset/ethereumBadgeLarge@2x.png differ diff --git a/ios/Images.xcassets/badges/ethereumBadgeLarge.imageset/ethereumBadgeLarge@3x.png b/ios/Images.xcassets/badges/ethereumBadgeLarge.imageset/ethereumBadgeLarge@3x.png new file mode 100644 index 00000000000..74bb43b64f3 Binary files /dev/null and b/ios/Images.xcassets/badges/ethereumBadgeLarge.imageset/ethereumBadgeLarge@3x.png differ diff --git a/ios/Images.xcassets/badges/ethereumBadgeLargeDark.imageset/Contents.json b/ios/Images.xcassets/badges/ethereumBadgeLargeDark.imageset/Contents.json new file mode 100644 index 00000000000..45ba6d5cb52 --- /dev/null +++ b/ios/Images.xcassets/badges/ethereumBadgeLargeDark.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "ethereumBadgeLargeDark.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "ethereumBadgeLargeDark@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "ethereumBadgeLargeDark@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ios/Images.xcassets/badges/ethereumBadgeLargeDark.imageset/ethereumBadgeLargeDark.png b/ios/Images.xcassets/badges/ethereumBadgeLargeDark.imageset/ethereumBadgeLargeDark.png new file mode 100644 index 00000000000..fd71fab44d4 Binary files /dev/null and b/ios/Images.xcassets/badges/ethereumBadgeLargeDark.imageset/ethereumBadgeLargeDark.png differ diff --git a/ios/Images.xcassets/badges/ethereumBadgeLargeDark.imageset/ethereumBadgeLargeDark@2x.png b/ios/Images.xcassets/badges/ethereumBadgeLargeDark.imageset/ethereumBadgeLargeDark@2x.png new file mode 100644 index 00000000000..d1170b13f33 Binary files /dev/null and b/ios/Images.xcassets/badges/ethereumBadgeLargeDark.imageset/ethereumBadgeLargeDark@2x.png differ diff --git a/ios/Images.xcassets/badges/ethereumBadgeLargeDark.imageset/ethereumBadgeLargeDark@3x.png b/ios/Images.xcassets/badges/ethereumBadgeLargeDark.imageset/ethereumBadgeLargeDark@3x.png new file mode 100644 index 00000000000..3b1c00facca Binary files /dev/null and b/ios/Images.xcassets/badges/ethereumBadgeLargeDark.imageset/ethereumBadgeLargeDark@3x.png differ diff --git a/ios/Images.xcassets/badges/ethereumBadgeNoShadow.imageset/Contents.json b/ios/Images.xcassets/badges/ethereumBadgeNoShadow.imageset/Contents.json new file mode 100644 index 00000000000..05efea382ea --- /dev/null +++ b/ios/Images.xcassets/badges/ethereumBadgeNoShadow.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "ethereumBadgeNoShadow.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "ethereumBadgeNoShadow@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "ethereumBadgeNoShadow@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ios/Images.xcassets/badges/ethereumBadgeNoShadow.imageset/ethereumBadgeNoShadow.png b/ios/Images.xcassets/badges/ethereumBadgeNoShadow.imageset/ethereumBadgeNoShadow.png new file mode 100644 index 00000000000..a41cc67b35a Binary files /dev/null and b/ios/Images.xcassets/badges/ethereumBadgeNoShadow.imageset/ethereumBadgeNoShadow.png differ diff --git a/ios/Images.xcassets/badges/ethereumBadgeNoShadow.imageset/ethereumBadgeNoShadow@2x.png b/ios/Images.xcassets/badges/ethereumBadgeNoShadow.imageset/ethereumBadgeNoShadow@2x.png new file mode 100644 index 00000000000..3bcb9df909b Binary files /dev/null and b/ios/Images.xcassets/badges/ethereumBadgeNoShadow.imageset/ethereumBadgeNoShadow@2x.png differ diff --git a/ios/Images.xcassets/badges/ethereumBadgeNoShadow.imageset/ethereumBadgeNoShadow@3x.png b/ios/Images.xcassets/badges/ethereumBadgeNoShadow.imageset/ethereumBadgeNoShadow@3x.png new file mode 100644 index 00000000000..d8365c7bf33 Binary files /dev/null and b/ios/Images.xcassets/badges/ethereumBadgeNoShadow.imageset/ethereumBadgeNoShadow@3x.png differ diff --git a/ios/Images.xcassets/badges/ink.imageset/Contents.json b/ios/Images.xcassets/badges/ink.imageset/Contents.json new file mode 100644 index 00000000000..5dc9f51ab33 --- /dev/null +++ b/ios/Images.xcassets/badges/ink.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "ink.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "ink@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "ink@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ios/Images.xcassets/badges/ink.imageset/ink.png b/ios/Images.xcassets/badges/ink.imageset/ink.png new file mode 100644 index 00000000000..f334bf407de Binary files /dev/null and b/ios/Images.xcassets/badges/ink.imageset/ink.png differ diff --git a/ios/Images.xcassets/badges/ink.imageset/ink@2x.png b/ios/Images.xcassets/badges/ink.imageset/ink@2x.png new file mode 100644 index 00000000000..44b4fa21fd1 Binary files /dev/null and b/ios/Images.xcassets/badges/ink.imageset/ink@2x.png differ diff --git a/ios/Images.xcassets/badges/ink.imageset/ink@3x.png b/ios/Images.xcassets/badges/ink.imageset/ink@3x.png new file mode 100644 index 00000000000..1c79e356b17 Binary files /dev/null and b/ios/Images.xcassets/badges/ink.imageset/ink@3x.png differ diff --git a/ios/Images.xcassets/badges/inkBadge.imageset/Contents.json b/ios/Images.xcassets/badges/inkBadge.imageset/Contents.json new file mode 100644 index 00000000000..3c57728eb0a --- /dev/null +++ b/ios/Images.xcassets/badges/inkBadge.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "inkBadge.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "inkBadge@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "inkBadge@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ios/Images.xcassets/badges/inkBadge.imageset/inkBadge.png b/ios/Images.xcassets/badges/inkBadge.imageset/inkBadge.png new file mode 100644 index 00000000000..a3089636e54 Binary files /dev/null and b/ios/Images.xcassets/badges/inkBadge.imageset/inkBadge.png differ diff --git a/ios/Images.xcassets/badges/inkBadge.imageset/inkBadge@2x.png b/ios/Images.xcassets/badges/inkBadge.imageset/inkBadge@2x.png new file mode 100644 index 00000000000..e4705d265a0 Binary files /dev/null and b/ios/Images.xcassets/badges/inkBadge.imageset/inkBadge@2x.png differ diff --git a/ios/Images.xcassets/badges/inkBadge.imageset/inkBadge@3x.png b/ios/Images.xcassets/badges/inkBadge.imageset/inkBadge@3x.png new file mode 100644 index 00000000000..2a4937885c2 Binary files /dev/null and b/ios/Images.xcassets/badges/inkBadge.imageset/inkBadge@3x.png differ diff --git a/ios/Images.xcassets/badges/inkBadgeDark.imageset/Contents.json b/ios/Images.xcassets/badges/inkBadgeDark.imageset/Contents.json new file mode 100644 index 00000000000..25ef3960abd --- /dev/null +++ b/ios/Images.xcassets/badges/inkBadgeDark.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "inkBadgeDark.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "inkBadgeDark@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "inkBadgeDark@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ios/Images.xcassets/badges/inkBadgeDark.imageset/inkBadgeDark.png b/ios/Images.xcassets/badges/inkBadgeDark.imageset/inkBadgeDark.png new file mode 100644 index 00000000000..68cd1fce628 Binary files /dev/null and b/ios/Images.xcassets/badges/inkBadgeDark.imageset/inkBadgeDark.png differ diff --git a/ios/Images.xcassets/badges/inkBadgeDark.imageset/inkBadgeDark@2x.png b/ios/Images.xcassets/badges/inkBadgeDark.imageset/inkBadgeDark@2x.png new file mode 100644 index 00000000000..26ed12a11d4 Binary files /dev/null and b/ios/Images.xcassets/badges/inkBadgeDark.imageset/inkBadgeDark@2x.png differ diff --git a/ios/Images.xcassets/badges/inkBadgeDark.imageset/inkBadgeDark@3x.png b/ios/Images.xcassets/badges/inkBadgeDark.imageset/inkBadgeDark@3x.png new file mode 100644 index 00000000000..70ff6b9dcb9 Binary files /dev/null and b/ios/Images.xcassets/badges/inkBadgeDark.imageset/inkBadgeDark@3x.png differ diff --git a/ios/Images.xcassets/badges/inkBadgeLarge.imageset/Contents.json b/ios/Images.xcassets/badges/inkBadgeLarge.imageset/Contents.json new file mode 100644 index 00000000000..7438c2f684b --- /dev/null +++ b/ios/Images.xcassets/badges/inkBadgeLarge.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "inkBadgeLarge.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "inkBadgeLarge@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "inkBadgeLarge@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ios/Images.xcassets/badges/inkBadgeLarge.imageset/inkBadgeLarge.png b/ios/Images.xcassets/badges/inkBadgeLarge.imageset/inkBadgeLarge.png new file mode 100644 index 00000000000..196dac3ddbe Binary files /dev/null and b/ios/Images.xcassets/badges/inkBadgeLarge.imageset/inkBadgeLarge.png differ diff --git a/ios/Images.xcassets/badges/inkBadgeLarge.imageset/inkBadgeLarge@2x.png b/ios/Images.xcassets/badges/inkBadgeLarge.imageset/inkBadgeLarge@2x.png new file mode 100644 index 00000000000..1a67fdd1416 Binary files /dev/null and b/ios/Images.xcassets/badges/inkBadgeLarge.imageset/inkBadgeLarge@2x.png differ diff --git a/ios/Images.xcassets/badges/inkBadgeLarge.imageset/inkBadgeLarge@3x.png b/ios/Images.xcassets/badges/inkBadgeLarge.imageset/inkBadgeLarge@3x.png new file mode 100644 index 00000000000..b9daa7524b8 Binary files /dev/null and b/ios/Images.xcassets/badges/inkBadgeLarge.imageset/inkBadgeLarge@3x.png differ diff --git a/ios/Images.xcassets/badges/inkBadgeLargeDark.imageset/Contents.json b/ios/Images.xcassets/badges/inkBadgeLargeDark.imageset/Contents.json new file mode 100644 index 00000000000..61c71a9c277 --- /dev/null +++ b/ios/Images.xcassets/badges/inkBadgeLargeDark.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "inkBadgeLargeDark.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "inkBadgeLargeDark@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "inkBadgeLargeDark@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ios/Images.xcassets/badges/inkBadgeLargeDark.imageset/inkBadgeLargeDark.png b/ios/Images.xcassets/badges/inkBadgeLargeDark.imageset/inkBadgeLargeDark.png new file mode 100644 index 00000000000..f10c9b647e0 Binary files /dev/null and b/ios/Images.xcassets/badges/inkBadgeLargeDark.imageset/inkBadgeLargeDark.png differ diff --git a/ios/Images.xcassets/badges/inkBadgeLargeDark.imageset/inkBadgeLargeDark@2x.png b/ios/Images.xcassets/badges/inkBadgeLargeDark.imageset/inkBadgeLargeDark@2x.png new file mode 100644 index 00000000000..9f11ef214f8 Binary files /dev/null and b/ios/Images.xcassets/badges/inkBadgeLargeDark.imageset/inkBadgeLargeDark@2x.png differ diff --git a/ios/Images.xcassets/badges/inkBadgeLargeDark.imageset/inkBadgeLargeDark@3x.png b/ios/Images.xcassets/badges/inkBadgeLargeDark.imageset/inkBadgeLargeDark@3x.png new file mode 100644 index 00000000000..f17fdb567a0 Binary files /dev/null and b/ios/Images.xcassets/badges/inkBadgeLargeDark.imageset/inkBadgeLargeDark@3x.png differ diff --git a/ios/Images.xcassets/badges/inkBadgeNoShadow.imageset/Contents.json b/ios/Images.xcassets/badges/inkBadgeNoShadow.imageset/Contents.json new file mode 100644 index 00000000000..b8c02a36d51 --- /dev/null +++ b/ios/Images.xcassets/badges/inkBadgeNoShadow.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "inkBadgeNoShadow.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "inkBadgeNoShadow@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "inkBadgeNoShadow@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ios/Images.xcassets/badges/inkBadgeNoShadow.imageset/inkBadgeNoShadow.png b/ios/Images.xcassets/badges/inkBadgeNoShadow.imageset/inkBadgeNoShadow.png new file mode 100644 index 00000000000..7bf5a6dffca Binary files /dev/null and b/ios/Images.xcassets/badges/inkBadgeNoShadow.imageset/inkBadgeNoShadow.png differ diff --git a/ios/Images.xcassets/badges/inkBadgeNoShadow.imageset/inkBadgeNoShadow@2x.png b/ios/Images.xcassets/badges/inkBadgeNoShadow.imageset/inkBadgeNoShadow@2x.png new file mode 100644 index 00000000000..f41b166d389 Binary files /dev/null and b/ios/Images.xcassets/badges/inkBadgeNoShadow.imageset/inkBadgeNoShadow@2x.png differ diff --git a/ios/Images.xcassets/badges/inkBadgeNoShadow.imageset/inkBadgeNoShadow@3x.png b/ios/Images.xcassets/badges/inkBadgeNoShadow.imageset/inkBadgeNoShadow@3x.png new file mode 100644 index 00000000000..bcbbcd0679d Binary files /dev/null and b/ios/Images.xcassets/badges/inkBadgeNoShadow.imageset/inkBadgeNoShadow@3x.png differ diff --git a/package.json b/package.json index 2a2e505bc1a..a3ea20befdf 100644 --- a/package.json +++ b/package.json @@ -309,7 +309,7 @@ "use-deep-compare": "1.1.0", "use-memo-one": "1.1.1", "util": "0.10.4", - "viem": "2.9.16", + "viem": "2.21.54", "vm-browserify": "0.0.4", "w2t": "3.0.2", "zeego": "1.10.0", diff --git a/scripts/add_network.sh b/scripts/add_network.sh new file mode 100755 index 00000000000..6750607038f --- /dev/null +++ b/scripts/add_network.sh @@ -0,0 +1,74 @@ +#!/bin/bash + +# Prompt for network details +read -p "Enter the network name (case sensitive): " networkName +read -p "Enter the chain ID (number): " chainId +read -p "Enter the light mode color (hex): " lightColor +read -p "Enter the dark mode color (hex): " darkColor + +# Create imagesets +mkdir -p "ios/Images.xcassets/badges/${networkName}.imageset" +mkdir -p "ios/Images.xcassets/badges/${networkName}Badge.imageset" +mkdir -p "ios/Images.xcassets/badges/${networkName}BadgeDark.imageset" +mkdir -p "ios/Images.xcassets/badges/${networkName}BadgeLarge.imageset" +mkdir -p "ios/Images.xcassets/badges/${networkName}BadgeLargeDark.imageset" +mkdir -p "ios/Images.xcassets/badges/${networkName}BadgeNoShadow.imageset" + +# Create Contents.json for each imageset +for suffix in "" "Badge" "BadgeDark" "BadgeLarge" "BadgeLargeDark" "BadgeNoShadow"; do + cat > "ios/Images.xcassets/badges/${networkName}${suffix}.imageset/Contents.json" << EOF +{ + "images" : [ + { + "filename" : "${networkName}${suffix}.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "${networkName}${suffix}@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "${networkName}${suffix}@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} +EOF +done + +# Update en_US.json +# Using perl for more precise JSON manipulation +perl -i -0pe 's/("explain":\s*{)/$1\n "'$networkName'": {\n "text": "",\n "title": "What'\''s '$networkName'?"\n },/m' src/languages/en_US.json + +# Update types.ts +# Add to Network enum +sed -i '' "/export enum Network {/a\\ + ${networkName} = '${networkName}', +" src/chains/types.ts + +# Add to ChainId enum +sed -i '' "/export enum ChainId {/a\\ + ${networkName} = ${chainId}, +" src/chains/types.ts + +# Update colors.ts for light mode - look for the first networkColors declaration +sed -i '' "/^ let networkColors = {/a\\ + [ChainId.${networkName}]: '${lightColor}', +" src/styles/colors.ts + +# Update colors.ts for dark mode - look specifically in the darkMode if block +sed -i '' "/if (darkMode) {/,/^ }/ { + /networkColors = {/a\\ + [ChainId.${networkName}]: '${darkColor}', +}" src/styles/colors.ts + +echo "Network ${networkName} has been added!" +echo "Note: You'll need to add the actual badge images to the imageset directories" +echo "Don't forget to run prettier to format the modified files" \ No newline at end of file diff --git a/src/__swaps__/screens/Swap/components/AnimatedChainImage.android.tsx b/src/__swaps__/screens/Swap/components/AnimatedChainImage.android.tsx index 19f39bac85c..fef6de976fd 100644 --- a/src/__swaps__/screens/Swap/components/AnimatedChainImage.android.tsx +++ b/src/__swaps__/screens/Swap/components/AnimatedChainImage.android.tsx @@ -10,8 +10,15 @@ const BlastBadge = require('@/assets/badges/blast.png'); const BscBadge = require('@/assets/badges/bsc.png'); const DegenBadge = require('@/assets/badges/degen.png'); const EthereumBadge = require('@/assets/badges/ethereum.png'); +// const GnosisBadge = require('@/assets/badges/gnosis.png'); +// const GravityBadge = require('@/assets/badges/gravity.png'); +const InkBadge = require('@/assets/badges/ink.png'); +// const LineaBadge = require('@/assets/badges/linea.png'); const OptimismBadge = require('@/assets/badges/optimism.png'); const PolygonBadge = require('@/assets/badges/polygon.png'); +// const SankoBadge = require('@/assets/badges/sanko.png'); +// const ScrollBadge = require('@/assets/badges/scroll.png'); +// const ZksyncBadge = require('@/assets/badges/zksync.png'); const ZoraBadge = require('@/assets/badges/zora.png'); import { ChainId } from '@/state/backendNetworks/types'; @@ -32,13 +39,20 @@ const networkBadges = { [ChainId.bsc]: BscBadge, [ChainId.bscTestnet]: BscBadge, [ChainId.degen]: DegenBadge, + // [ChainId.gnosis]: GnosisBadge, + // [ChainId.gravity]: GravityBadge, [ChainId.holesky]: EthereumBadge, + [ChainId.ink]: InkBadge, + // [ChainId.linea]: LineaBadge, [ChainId.mainnet]: EthereumBadge, [ChainId.optimism]: OptimismBadge, [ChainId.optimismSepolia]: OptimismBadge, [ChainId.polygon]: PolygonBadge, [ChainId.polygonAmoy]: PolygonBadge, + // [ChainId.sanko]: SankoBadge, + // [ChainId.scroll]: ScrollBadge, [ChainId.sepolia]: EthereumBadge, + // [ChainId.zksync]: ZksyncBadge, [ChainId.zora]: ZoraBadge, [ChainId.zoraSepolia]: ZoraBadge, }; diff --git a/src/__swaps__/screens/Swap/components/AnimatedChainImage.ios.tsx b/src/__swaps__/screens/Swap/components/AnimatedChainImage.ios.tsx index af14fd783e8..bf382327e4e 100644 --- a/src/__swaps__/screens/Swap/components/AnimatedChainImage.ios.tsx +++ b/src/__swaps__/screens/Swap/components/AnimatedChainImage.ios.tsx @@ -17,8 +17,15 @@ import BlastBadge from '@/assets/badges/blast.png'; import BscBadge from '@/assets/badges/bsc.png'; import DegenBadge from '@/assets/badges/degen.png'; import EthereumBadge from '@/assets/badges/ethereum.png'; +// import GnosisBadge from '@/assets/badges/gnosis.png'; +// import GravityBadge from '@/assets/badges/gravity.png'; +import InkBadge from '@/assets/badges/ink.png'; +// import LineaBadge from '@/assets/badges/linea.png'; import OptimismBadge from '@/assets/badges/optimism.png'; import PolygonBadge from '@/assets/badges/polygon.png'; +// import SankoBadge from '@/assets/badges/sanko.png'; +// import ScrollBadge from '@/assets/badges/scroll.png'; +// import ZksyncBadge from '@/assets/badges/zksync.png'; import ZoraBadge from '@/assets/badges/zora.png'; const networkBadges = { @@ -34,13 +41,20 @@ const networkBadges = { [ChainId.bsc]: Image.resolveAssetSource(BscBadge).uri, [ChainId.bscTestnet]: Image.resolveAssetSource(BscBadge).uri, [ChainId.degen]: Image.resolveAssetSource(DegenBadge).uri, + // [ChainId.gnosis]: Image.resolveAssetSource(GnosisBadge).uri, + // [ChainId.gravity]: Image.resolveAssetSource(GravityBadge).uri, [ChainId.holesky]: Image.resolveAssetSource(EthereumBadge).uri, + [ChainId.ink]: Image.resolveAssetSource(InkBadge).uri, + // [ChainId.linea]: Image.resolveAssetSource(LineaBadge).uri, [ChainId.mainnet]: Image.resolveAssetSource(EthereumBadge).uri, [ChainId.optimism]: Image.resolveAssetSource(OptimismBadge).uri, [ChainId.optimismSepolia]: Image.resolveAssetSource(OptimismBadge).uri, [ChainId.polygon]: Image.resolveAssetSource(PolygonBadge).uri, [ChainId.polygonAmoy]: Image.resolveAssetSource(PolygonBadge).uri, + // [ChainId.sanko]: Image.resolveAssetSource(SankoBadge).uri, + // [ChainId.scroll]: Image.resolveAssetSource(ScrollBadge).uri, [ChainId.sepolia]: Image.resolveAssetSource(EthereumBadge).uri, + // [ChainId.zksync]: Image.resolveAssetSource(ZksyncBadge).uri, [ChainId.zora]: Image.resolveAssetSource(ZoraBadge).uri, [ChainId.zoraSepolia]: Image.resolveAssetSource(ZoraBadge).uri, }; diff --git a/src/assets/badges/apechainBadge.png b/src/assets/badges/apechainBadge.png index a9c1e8c795a..b2e9d186af8 100644 Binary files a/src/assets/badges/apechainBadge.png and b/src/assets/badges/apechainBadge.png differ diff --git a/src/assets/badges/apechainBadge@2x.png b/src/assets/badges/apechainBadge@2x.png index bd647873044..4fd132ed1fb 100644 Binary files a/src/assets/badges/apechainBadge@2x.png and b/src/assets/badges/apechainBadge@2x.png differ diff --git a/src/assets/badges/apechainBadge@3x.png b/src/assets/badges/apechainBadge@3x.png index 06a7eeb07a8..33b686fb121 100644 Binary files a/src/assets/badges/apechainBadge@3x.png and b/src/assets/badges/apechainBadge@3x.png differ diff --git a/src/assets/badges/apechainBadgeLarge.png b/src/assets/badges/apechainBadgeLarge.png index bd647873044..b4261daba5e 100644 Binary files a/src/assets/badges/apechainBadgeLarge.png and b/src/assets/badges/apechainBadgeLarge.png differ diff --git a/src/assets/badges/apechainBadgeLarge@2x.png b/src/assets/badges/apechainBadgeLarge@2x.png index 3e39ee0e49f..c6576eb4e74 100644 Binary files a/src/assets/badges/apechainBadgeLarge@2x.png and b/src/assets/badges/apechainBadgeLarge@2x.png differ diff --git a/src/assets/badges/apechainBadgeLarge@3x.png b/src/assets/badges/apechainBadgeLarge@3x.png index 013d3a2d4b2..0e9b60470ff 100644 Binary files a/src/assets/badges/apechainBadgeLarge@3x.png and b/src/assets/badges/apechainBadgeLarge@3x.png differ diff --git a/src/assets/badges/apechainBadgeLargeDark.png b/src/assets/badges/apechainBadgeLargeDark.png index ced4dc053fd..30ddd73be15 100644 Binary files a/src/assets/badges/apechainBadgeLargeDark.png and b/src/assets/badges/apechainBadgeLargeDark.png differ diff --git a/src/assets/badges/apechainBadgeLargeDark@2x.png b/src/assets/badges/apechainBadgeLargeDark@2x.png index 3f3e8ecae55..faf0caafb64 100644 Binary files a/src/assets/badges/apechainBadgeLargeDark@2x.png and b/src/assets/badges/apechainBadgeLargeDark@2x.png differ diff --git a/src/assets/badges/apechainBadgeLargeDark@3x.png b/src/assets/badges/apechainBadgeLargeDark@3x.png index 240359855ce..46fb7f27973 100644 Binary files a/src/assets/badges/apechainBadgeLargeDark@3x.png and b/src/assets/badges/apechainBadgeLargeDark@3x.png differ diff --git a/src/assets/badges/ethereum.png b/src/assets/badges/ethereum.png index ce612bb3da8..90cd4377c61 100644 Binary files a/src/assets/badges/ethereum.png and b/src/assets/badges/ethereum.png differ diff --git a/src/assets/badges/ethereum@2x.png b/src/assets/badges/ethereum@2x.png index c3aa91dd13f..2f295c7eadf 100644 Binary files a/src/assets/badges/ethereum@2x.png and b/src/assets/badges/ethereum@2x.png differ diff --git a/src/assets/badges/ethereum@3x.png b/src/assets/badges/ethereum@3x.png index 237f8a091cd..5d46e46276b 100644 Binary files a/src/assets/badges/ethereum@3x.png and b/src/assets/badges/ethereum@3x.png differ diff --git a/src/assets/badges/ethereumBadge.png b/src/assets/badges/ethereumBadge.png index f612970c6b4..cbbfb144c7f 100644 Binary files a/src/assets/badges/ethereumBadge.png and b/src/assets/badges/ethereumBadge.png differ diff --git a/src/assets/badges/ethereumBadge@2x.png b/src/assets/badges/ethereumBadge@2x.png index 4776b2c8ff8..2c72c8d698e 100644 Binary files a/src/assets/badges/ethereumBadge@2x.png and b/src/assets/badges/ethereumBadge@2x.png differ diff --git a/src/assets/badges/ethereumBadge@3x.png b/src/assets/badges/ethereumBadge@3x.png index 5a44b01db81..fe08ca8285d 100644 Binary files a/src/assets/badges/ethereumBadge@3x.png and b/src/assets/badges/ethereumBadge@3x.png differ diff --git a/src/assets/badges/ethereumBadgeDark.png b/src/assets/badges/ethereumBadgeDark.png index f612970c6b4..e889ca02d99 100644 Binary files a/src/assets/badges/ethereumBadgeDark.png and b/src/assets/badges/ethereumBadgeDark.png differ diff --git a/src/assets/badges/ethereumBadgeDark@2x.png b/src/assets/badges/ethereumBadgeDark@2x.png index 4776b2c8ff8..bdb47515839 100644 Binary files a/src/assets/badges/ethereumBadgeDark@2x.png and b/src/assets/badges/ethereumBadgeDark@2x.png differ diff --git a/src/assets/badges/ethereumBadgeDark@3x.png b/src/assets/badges/ethereumBadgeDark@3x.png index 5a44b01db81..d91696eb022 100644 Binary files a/src/assets/badges/ethereumBadgeDark@3x.png and b/src/assets/badges/ethereumBadgeDark@3x.png differ diff --git a/src/assets/badges/ethereumBadgeLarge.png b/src/assets/badges/ethereumBadgeLarge.png new file mode 100644 index 00000000000..2c72c8d698e Binary files /dev/null and b/src/assets/badges/ethereumBadgeLarge.png differ diff --git a/src/assets/badges/ethereumBadgeLarge@2x.png b/src/assets/badges/ethereumBadgeLarge@2x.png new file mode 100644 index 00000000000..d8ba3c4fa41 Binary files /dev/null and b/src/assets/badges/ethereumBadgeLarge@2x.png differ diff --git a/src/assets/badges/ethereumBadgeLarge@3x.png b/src/assets/badges/ethereumBadgeLarge@3x.png new file mode 100644 index 00000000000..74bb43b64f3 Binary files /dev/null and b/src/assets/badges/ethereumBadgeLarge@3x.png differ diff --git a/src/assets/badges/ethereumBadgeLargeDark.png b/src/assets/badges/ethereumBadgeLargeDark.png new file mode 100644 index 00000000000..fd71fab44d4 Binary files /dev/null and b/src/assets/badges/ethereumBadgeLargeDark.png differ diff --git a/src/assets/badges/ethereumBadgeLargeDark@2x.png b/src/assets/badges/ethereumBadgeLargeDark@2x.png new file mode 100644 index 00000000000..d1170b13f33 Binary files /dev/null and b/src/assets/badges/ethereumBadgeLargeDark@2x.png differ diff --git a/src/assets/badges/ethereumBadgeLargeDark@3x.png b/src/assets/badges/ethereumBadgeLargeDark@3x.png new file mode 100644 index 00000000000..3b1c00facca Binary files /dev/null and b/src/assets/badges/ethereumBadgeLargeDark@3x.png differ diff --git a/src/assets/badges/ethereumBadgeNoShadow.png b/src/assets/badges/ethereumBadgeNoShadow.png new file mode 100644 index 00000000000..a41cc67b35a Binary files /dev/null and b/src/assets/badges/ethereumBadgeNoShadow.png differ diff --git a/src/assets/badges/ethereumBadgeNoShadow@2x.png b/src/assets/badges/ethereumBadgeNoShadow@2x.png new file mode 100644 index 00000000000..3bcb9df909b Binary files /dev/null and b/src/assets/badges/ethereumBadgeNoShadow@2x.png differ diff --git a/src/assets/badges/ethereumBadgeNoShadow@3x.png b/src/assets/badges/ethereumBadgeNoShadow@3x.png new file mode 100644 index 00000000000..d8365c7bf33 Binary files /dev/null and b/src/assets/badges/ethereumBadgeNoShadow@3x.png differ diff --git a/src/assets/badges/ink.png b/src/assets/badges/ink.png new file mode 100644 index 00000000000..f334bf407de Binary files /dev/null and b/src/assets/badges/ink.png differ diff --git a/src/assets/badges/ink@2x.png b/src/assets/badges/ink@2x.png new file mode 100644 index 00000000000..44b4fa21fd1 Binary files /dev/null and b/src/assets/badges/ink@2x.png differ diff --git a/src/assets/badges/ink@3x.png b/src/assets/badges/ink@3x.png new file mode 100644 index 00000000000..1c79e356b17 Binary files /dev/null and b/src/assets/badges/ink@3x.png differ diff --git a/src/assets/badges/inkBadge.png b/src/assets/badges/inkBadge.png new file mode 100644 index 00000000000..a3089636e54 Binary files /dev/null and b/src/assets/badges/inkBadge.png differ diff --git a/src/assets/badges/inkBadge@2x.png b/src/assets/badges/inkBadge@2x.png new file mode 100644 index 00000000000..e4705d265a0 Binary files /dev/null and b/src/assets/badges/inkBadge@2x.png differ diff --git a/src/assets/badges/inkBadge@3x.png b/src/assets/badges/inkBadge@3x.png new file mode 100644 index 00000000000..2a4937885c2 Binary files /dev/null and b/src/assets/badges/inkBadge@3x.png differ diff --git a/src/assets/badges/inkBadgeDark.png b/src/assets/badges/inkBadgeDark.png new file mode 100644 index 00000000000..68cd1fce628 Binary files /dev/null and b/src/assets/badges/inkBadgeDark.png differ diff --git a/src/assets/badges/inkBadgeDark@2x.png b/src/assets/badges/inkBadgeDark@2x.png new file mode 100644 index 00000000000..26ed12a11d4 Binary files /dev/null and b/src/assets/badges/inkBadgeDark@2x.png differ diff --git a/src/assets/badges/inkBadgeDark@3x.png b/src/assets/badges/inkBadgeDark@3x.png new file mode 100644 index 00000000000..70ff6b9dcb9 Binary files /dev/null and b/src/assets/badges/inkBadgeDark@3x.png differ diff --git a/src/assets/badges/inkBadgeLarge.png b/src/assets/badges/inkBadgeLarge.png new file mode 100644 index 00000000000..196dac3ddbe Binary files /dev/null and b/src/assets/badges/inkBadgeLarge.png differ diff --git a/src/assets/badges/inkBadgeLarge@2x.png b/src/assets/badges/inkBadgeLarge@2x.png new file mode 100644 index 00000000000..1a67fdd1416 Binary files /dev/null and b/src/assets/badges/inkBadgeLarge@2x.png differ diff --git a/src/assets/badges/inkBadgeLarge@3x.png b/src/assets/badges/inkBadgeLarge@3x.png new file mode 100644 index 00000000000..b9daa7524b8 Binary files /dev/null and b/src/assets/badges/inkBadgeLarge@3x.png differ diff --git a/src/assets/badges/inkBadgeLargeDark.png b/src/assets/badges/inkBadgeLargeDark.png new file mode 100644 index 00000000000..f10c9b647e0 Binary files /dev/null and b/src/assets/badges/inkBadgeLargeDark.png differ diff --git a/src/assets/badges/inkBadgeLargeDark@2x.png b/src/assets/badges/inkBadgeLargeDark@2x.png new file mode 100644 index 00000000000..9f11ef214f8 Binary files /dev/null and b/src/assets/badges/inkBadgeLargeDark@2x.png differ diff --git a/src/assets/badges/inkBadgeLargeDark@3x.png b/src/assets/badges/inkBadgeLargeDark@3x.png new file mode 100644 index 00000000000..f17fdb567a0 Binary files /dev/null and b/src/assets/badges/inkBadgeLargeDark@3x.png differ diff --git a/src/assets/badges/inkBadgeNoShadow.png b/src/assets/badges/inkBadgeNoShadow.png new file mode 100644 index 00000000000..7bf5a6dffca Binary files /dev/null and b/src/assets/badges/inkBadgeNoShadow.png differ diff --git a/src/assets/badges/inkBadgeNoShadow@2x.png b/src/assets/badges/inkBadgeNoShadow@2x.png new file mode 100644 index 00000000000..f41b166d389 Binary files /dev/null and b/src/assets/badges/inkBadgeNoShadow@2x.png differ diff --git a/src/assets/badges/inkBadgeNoShadow@3x.png b/src/assets/badges/inkBadgeNoShadow@3x.png new file mode 100644 index 00000000000..bcbbcd0679d Binary files /dev/null and b/src/assets/badges/inkBadgeNoShadow@3x.png differ diff --git a/src/components/asset-list/RecyclerAssetList2/FastComponents/FastCoinBadge.tsx b/src/components/asset-list/RecyclerAssetList2/FastComponents/FastCoinBadge.tsx index dd948ecd527..4ea959efb7c 100644 --- a/src/components/asset-list/RecyclerAssetList2/FastComponents/FastCoinBadge.tsx +++ b/src/components/asset-list/RecyclerAssetList2/FastComponents/FastCoinBadge.tsx @@ -1,26 +1,41 @@ import React from 'react'; import { Image, ImageSourcePropType, View, ViewStyle } from 'react-native'; +import { ChainId } from '@/state/backendNetworks/types'; + +import ApechainBadge from '@/assets/badges/apechainBadge.png'; +import ApechainBadgeDark from '@/assets/badges/apechainBadgeDark.png'; import ArbitrumBadge from '@/assets/badges/arbitrumBadge.png'; import ArbitrumBadgeDark from '@/assets/badges/arbitrumBadgeDark.png'; -import OptimismBadge from '@/assets/badges/optimismBadge.png'; -import OptimismBadgeDark from '@/assets/badges/optimismBadgeDark.png'; -import PolygonBadge from '@/assets/badges/polygonBadge.png'; -import PolygonBadgeDark from '@/assets/badges/polygonBadgeDark.png'; -import BscBadge from '@/assets/badges/bscBadge.png'; -import BscBadgeDark from '@/assets/badges/bscBadgeDark.png'; -import ZoraBadge from '@/assets/badges/zoraBadge.png'; -import ZoraBadgeDark from '@/assets/badges/zoraBadgeDark.png'; -import BaseBadge from '@/assets/badges/baseBadge.png'; -import BaseBadgeDark from '@/assets/badges/baseBadgeDark.png'; import AvalancheBadge from '@/assets/badges/avalancheBadge.png'; import AvalancheBadgeDark from '@/assets/badges/avalancheBadgeDark.png'; +import BaseBadge from '@/assets/badges/baseBadge.png'; +import BaseBadgeDark from '@/assets/badges/baseBadgeDark.png'; import BlastBadge from '@/assets/badges/blastBadge.png'; import BlastBadgeDark from '@/assets/badges/blastBadgeDark.png'; +import BscBadge from '@/assets/badges/bscBadge.png'; +import BscBadgeDark from '@/assets/badges/bscBadgeDark.png'; import DegenBadge from '@/assets/badges/degenBadge.png'; import DegenBadgeDark from '@/assets/badges/degenBadgeDark.png'; -import ApechainBadge from '@/assets/badges/apechainBadge.png'; -import ApechainBadgeDark from '@/assets/badges/apechainBadgeDark.png'; -import { ChainId } from '@/state/backendNetworks/types'; +// import GnosisBadge from '@/assets/badges/gnosisBadge.png'; +// import GnosisBadgeDark from '@/assets/badges/gnosisBadgeDark.png'; +// import GravityBadge from '@/assets/badges/gravityBadge.png'; +// import GravityBadgeDark from '@/assets/badges/gravityBadgeDark.png'; +import InkBadge from '@/assets/badges/inkBadge.png'; +import InkBadgeDark from '@/assets/badges/inkBadgeDark.png'; +// import LineaBadge from '@/assets/badges/lineaBadge.png'; +// import LineaBadgeDark from '@/assets/badges/lineaBadgeDark.png'; +import OptimismBadge from '@/assets/badges/optimismBadge.png'; +import OptimismBadgeDark from '@/assets/badges/optimismBadgeDark.png'; +import PolygonBadge from '@/assets/badges/polygonBadge.png'; +import PolygonBadgeDark from '@/assets/badges/polygonBadgeDark.png'; +// import SankoBadge from '@/assets/badges/sankoBadge.png'; +// import SankoBadgeDark from '@/assets/badges/sankoBadgeDark.png'; +// import ScrollBadge from '@/assets/badges/scrollBadge.png'; +// import ScrollBadgeDark from '@/assets/badges/scrollBadgeDark.png'; +// import ZksyncBadge from '@/assets/badges/zksyncBadge.png'; +// import ZksyncBadgeDark from '@/assets/badges/zksyncBadgeDark.png'; +import ZoraBadge from '@/assets/badges/zoraBadge.png'; +import ZoraBadgeDark from '@/assets/badges/zoraBadgeDark.png'; interface FastChainBadgeProps { chainId: ChainId; @@ -41,38 +56,66 @@ const AssetIconsByTheme: { dark: ArbitrumBadgeDark, light: ArbitrumBadge, }, - [ChainId.optimism]: { - dark: OptimismBadgeDark, - light: OptimismBadge, - }, - [ChainId.polygon]: { - dark: PolygonBadgeDark, - light: PolygonBadge, - }, - [ChainId.bsc]: { - dark: BscBadgeDark, - light: BscBadge, - }, - [ChainId.zora]: { - dark: ZoraBadgeDark, - light: ZoraBadge, + [ChainId.avalanche]: { + dark: AvalancheBadgeDark, + light: AvalancheBadge, }, [ChainId.base]: { dark: BaseBadgeDark, light: BaseBadge, }, - [ChainId.avalanche]: { - dark: AvalancheBadgeDark, - light: AvalancheBadge, - }, [ChainId.blast]: { dark: BlastBadgeDark, light: BlastBadge, }, + [ChainId.bsc]: { + dark: BscBadgeDark, + light: BscBadge, + }, [ChainId.degen]: { dark: DegenBadgeDark, light: DegenBadge, }, + // [ChainId.gnosis]: { + // dark: GnosisBadgeDark, + // light: GnosisBadge, + // }, + // [ChainId.gravity]: { + // dark: GravityBadgeDark, + // light: GravityBadge, + // }, + [ChainId.ink]: { + dark: InkBadgeDark, + light: InkBadge, + }, + // [ChainId.linea]: { + // dark: LineaBadgeDark, + // light: LineaBadge, + // }, + [ChainId.optimism]: { + dark: OptimismBadgeDark, + light: OptimismBadge, + }, + [ChainId.polygon]: { + dark: PolygonBadgeDark, + light: PolygonBadge, + }, + // [ChainId.sanko]: { + // dark: SankoBadgeDark, + // light: SankoBadge, + // }, + // [ChainId.scroll]: { + // dark: ScrollBadgeDark, + // light: ScrollBadge, + // }, + // [ChainId.zksync]: { + // dark: ZksyncBadgeDark, + // light: ZksyncBadge, + // }, + [ChainId.zora]: { + dark: ZoraBadgeDark, + light: ZoraBadge, + }, }; export const FastChainBadge = React.memo(function FastChainBadge({ chainId, theme }: FastChainBadgeProps) { diff --git a/src/components/coin-icon/ChainBadge.js b/src/components/coin-icon/ChainBadge.js index 0eafa651841..8babe5015a6 100644 --- a/src/components/coin-icon/ChainBadge.js +++ b/src/components/coin-icon/ChainBadge.js @@ -1,45 +1,75 @@ import React from 'react'; import FastImage from 'react-native-fast-image'; -import ArbitrumBadge from '../../assets/badges/arbitrumBadge.png'; -import ArbitrumBadgeDark from '../../assets/badges/arbitrumBadgeDark.png'; -import ArbitrumBadgeLarge from '../../assets/badges/arbitrumBadgeLarge.png'; -import ArbitrumBadgeLargeDark from '../../assets/badges/arbitrumBadgeLargeDark.png'; -import OptimismBadge from '../../assets/badges/optimismBadge.png'; -import OptimismBadgeDark from '../../assets/badges/optimismBadgeDark.png'; -import OptimismBadgeLarge from '../../assets/badges/optimismBadgeLarge.png'; -import OptimismBadgeLargeDark from '../../assets/badges/optimismBadgeLargeDark.png'; -import PolygonBadge from '../../assets/badges/polygonBadge.png'; -import PolygonBadgeDark from '../../assets/badges/polygonBadgeDark.png'; -import PolygonBadgeLarge from '../../assets/badges/polygonBadgeLarge.png'; -import PolygonBadgeLargeDark from '../../assets/badges/polygonBadgeLargeDark.png'; -import BscBadge from '../../assets/badges/bscBadge.png'; -import BscBadgeDark from '../../assets/badges/bscBadgeDark.png'; -import BscBadgeLarge from '../../assets/badges/bscBadgeLarge.png'; -import BscBadgeLargeDark from '../../assets/badges/bscBadgeLargeDark.png'; -import ZoraBadge from '../../assets/badges/zoraBadge.png'; -import ZoraBadgeDark from '../../assets/badges/zoraBadgeDark.png'; -import ZoraBadgeLarge from '../../assets/badges/zoraBadgeLarge.png'; -import ZoraBadgeLargeDark from '../../assets/badges/zoraBadgeLargeDark.png'; -import BaseBadge from '../../assets/badges/baseBadge.png'; -import BaseBadgeDark from '../../assets/badges/baseBadgeDark.png'; -import BaseBadgeLarge from '../../assets/badges/baseBadgeLarge.png'; -import BaseBadgeLargeDark from '../../assets/badges/baseBadgeLargeDark.png'; -import AvalancheBadge from '../../assets/badges/avalancheBadge.png'; -import AvalancheBadgeDark from '../../assets/badges/avalancheBadgeDark.png'; -import AvalancheBadgeLarge from '../../assets/badges/avalancheBadgeLarge.png'; -import AvalancheBadgeLargeDark from '../../assets/badges/avalancheBadgeLargeDark.png'; -import BlastBadge from '../../assets/badges/blastBadge.png'; -import BlastBadgeDark from '../../assets/badges/blastBadgeDark.png'; -import BlastBadgeLarge from '../../assets/badges/blastBadgeLarge.png'; -import BlastBadgeLargeDark from '../../assets/badges/blastBadgeLargeDark.png'; -import DegenBadge from '../../assets/badges/degenBadge.png'; -import DegenBadgeDark from '../../assets/badges/degenBadgeDark.png'; -import DegenBadgeLarge from '../../assets/badges/degenBadgeLarge.png'; -import DegenBadgeLargeDark from '../../assets/badges/degenBadgeLargeDark.png'; -import ApechainBadge from '../../assets/badges/apechainBadge.png'; -import ApechainBadgeDark from '../../assets/badges/apechainBadgeDark.png'; -import ApechainBadgeLarge from '../../assets/badges/apechainBadgeLarge.png'; -import ApechainBadgeLargeDark from '../../assets/badges/apechainBadgeLargeDark.png'; + +import ApechainBadge from '@/assets/badges/apechainBadge.png'; +import ApechainBadgeDark from '@/assets/badges/apechainBadgeDark.png'; +import ApechainBadgeLarge from '@/assets/badges/apechainBadgeLarge.png'; +import ApechainBadgeLargeDark from '@/assets/badges/apechainBadgeLargeDark.png'; +import ArbitrumBadge from '@/assets/badges/arbitrumBadge.png'; +import ArbitrumBadgeDark from '@/assets/badges/arbitrumBadgeDark.png'; +import ArbitrumBadgeLarge from '@/assets/badges/arbitrumBadgeLarge.png'; +import ArbitrumBadgeLargeDark from '@/assets/badges/arbitrumBadgeLargeDark.png'; +import AvalancheBadge from '@/assets/badges/avalancheBadge.png'; +import AvalancheBadgeDark from '@/assets/badges/avalancheBadgeDark.png'; +import AvalancheBadgeLarge from '@/assets/badges/avalancheBadgeLarge.png'; +import AvalancheBadgeLargeDark from '@/assets/badges/avalancheBadgeLargeDark.png'; +import BaseBadge from '@/assets/badges/baseBadge.png'; +import BaseBadgeDark from '@/assets/badges/baseBadgeDark.png'; +import BaseBadgeLarge from '@/assets/badges/baseBadgeLarge.png'; +import BaseBadgeLargeDark from '@/assets/badges/baseBadgeLargeDark.png'; +import BlastBadge from '@/assets/badges/blastBadge.png'; +import BlastBadgeDark from '@/assets/badges/blastBadgeDark.png'; +import BlastBadgeLarge from '@/assets/badges/blastBadgeLarge.png'; +import BlastBadgeLargeDark from '@/assets/badges/blastBadgeLargeDark.png'; +import BscBadge from '@/assets/badges/bscBadge.png'; +import BscBadgeDark from '@/assets/badges/bscBadgeDark.png'; +import BscBadgeLarge from '@/assets/badges/bscBadgeLarge.png'; +import BscBadgeLargeDark from '@/assets/badges/bscBadgeLargeDark.png'; +import DegenBadge from '@/assets/badges/degenBadge.png'; +import DegenBadgeDark from '@/assets/badges/degenBadgeDark.png'; +import DegenBadgeLarge from '@/assets/badges/degenBadgeLarge.png'; +import DegenBadgeLargeDark from '@/assets/badges/degenBadgeLargeDark.png'; +// import GnosisBadge from '@/assets/badges/gnosisBadge.png'; +// import GnosisBadgeDark from '@/assets/badges/gnosisBadgeDark.png'; +// import GnosisBadgeLarge from '@/assets/badges/gnosisBadgeLarge.png'; +// import GnosisBadgeLargeDark from '@/assets/badges/gnosisBadgeLargeDark.png'; +// import GravityBadge from '@/assets/badges/gravityBadge.png'; +// import GravityBadgeDark from '@/assets/badges/gravityBadgeDark.png'; +// import GravityBadgeLarge from '@/assets/badges/gravityBadgeLarge.png'; +// import GravityBadgeLargeDark from '@/assets/badges/gravityBadgeLargeDark.png'; +import InkBadge from '@/assets/badges/inkBadge.png'; +import InkBadgeDark from '@/assets/badges/inkBadgeDark.png'; +import InkBadgeLarge from '@/assets/badges/inkBadgeLarge.png'; +import InkBadgeLargeDark from '@/assets/badges/inkBadgeLargeDark.png'; +// import LineaBadge from '@/assets/badges/lineaBadge.png'; +// import LineaBadgeDark from '@/assets/badges/lineaBadgeDark.png'; +// import LineaBadgeLarge from '@/assets/badges/lineaBadgeLarge.png'; +// import LineaBadgeLargeDark from '@/assets/badges/lineaBadgeLargeDark.png'; +import OptimismBadge from '@/assets/badges/optimismBadge.png'; +import OptimismBadgeDark from '@/assets/badges/optimismBadgeDark.png'; +import OptimismBadgeLarge from '@/assets/badges/optimismBadgeLarge.png'; +import OptimismBadgeLargeDark from '@/assets/badges/optimismBadgeLargeDark.png'; +import PolygonBadge from '@/assets/badges/polygonBadge.png'; +import PolygonBadgeDark from '@/assets/badges/polygonBadgeDark.png'; +import PolygonBadgeLarge from '@/assets/badges/polygonBadgeLarge.png'; +import PolygonBadgeLargeDark from '@/assets/badges/polygonBadgeLargeDark.png'; +// import SankoBadge from '@/assets/badges/sankoBadge.png'; +// import SankoBadgeDark from '@/assets/badges/sankoBadgeDark.png'; +// import SankoBadgeLarge from '@/assets/badges/sankoBadgeLarge.png'; +// import SankoBadgeLargeDark from '@/assets/badges/sankoBadgeLargeDark.png'; +// import ScrollBadge from '@/assets/badges/scrollBadge.png'; +// import ScrollBadgeDark from '@/assets/badges/scrollBadgeDark.png'; +// import ScrollBadgeLarge from '@/assets/badges/scrollBadgeLarge.png'; +// import ScrollBadgeLargeDark from '@/assets/badges/scrollBadgeLargeDark.png'; +// import ZksyncBadge from '@/assets/badges/zksyncBadge.png'; +// import ZksyncBadgeDark from '@/assets/badges/zksyncBadgeDark.png'; +// import ZksyncBadgeLarge from '@/assets/badges/zksyncBadgeLarge.png'; +// import ZksyncBadgeLargeDark from '@/assets/badges/zksyncBadgeLargeDark.png'; +import ZoraBadge from '@/assets/badges/zoraBadge.png'; +import ZoraBadgeDark from '@/assets/badges/zoraBadgeDark.png'; +import ZoraBadgeLarge from '@/assets/badges/zoraBadgeLarge.png'; +import ZoraBadgeLargeDark from '@/assets/badges/zoraBadgeLargeDark.png'; + import { Centered } from '../layout'; import styled from '@/styled-thing'; import { position as positions } from '@/styles'; @@ -84,44 +114,72 @@ export default function ChainBadge({ val = isDarkMode ? ApechainBadgeLargeDark : ApechainBadgeLarge; } else if (chainId === ChainId.arbitrum) { val = isDarkMode ? ArbitrumBadgeLargeDark : ArbitrumBadgeLarge; - } else if (chainId === ChainId.optimism) { - val = isDarkMode ? OptimismBadgeLargeDark : OptimismBadgeLarge; - } else if (chainId === ChainId.polygon) { - val = isDarkMode ? PolygonBadgeLargeDark : PolygonBadgeLarge; - } else if (chainId === ChainId.bsc) { - val = isDarkMode ? BscBadgeLargeDark : BscBadgeLarge; - } else if (chainId === ChainId.zora) { - val = isDarkMode ? ZoraBadgeLargeDark : ZoraBadgeLarge; - } else if (chainId === ChainId.base) { - val = isDarkMode ? BaseBadgeLargeDark : BaseBadgeLarge; } else if (chainId === ChainId.avalanche) { val = isDarkMode ? AvalancheBadgeLargeDark : AvalancheBadgeLarge; + } else if (chainId === ChainId.base) { + val = isDarkMode ? BaseBadgeLargeDark : BaseBadgeLarge; } else if (chainId === ChainId.blast) { val = isDarkMode ? BlastBadgeLargeDark : BlastBadgeLarge; + } else if (chainId === ChainId.bsc) { + val = isDarkMode ? BscBadgeLargeDark : BscBadgeLarge; } else if (chainId === ChainId.degen) { val = isDarkMode ? DegenBadgeLargeDark : DegenBadgeLarge; + // } else if (chainId === ChainId.gnosis) { + // val = isDarkMode ? GnosisBadgeLargeDark : GnosisBadgeLarge; + // } else if (chainId === ChainId.gravity) { + // val = isDarkMode ? GravityBadgeLargeDark : GravityBadgeLarge; + } else if (chainId === ChainId.ink) { + val = isDarkMode ? InkBadgeLargeDark : InkBadgeLarge; + // } else if (chainId === ChainId.linea) { + // val = isDarkMode ? LineaBadgeLargeDark : LineaBadgeLarge; + } else if (chainId === ChainId.optimism) { + val = isDarkMode ? OptimismBadgeLargeDark : OptimismBadgeLarge; + } else if (chainId === ChainId.polygon) { + val = isDarkMode ? PolygonBadgeLargeDark : PolygonBadgeLarge; + // } else if (chainId === ChainId.sanko) { + // val = isDarkMode ? SankoBadgeLargeDark : SankoBadgeLarge; + // } else if (chainId === ChainId.scroll) { + // val = isDarkMode ? ScrollBadgeLargeDark : ScrollBadgeLarge; + // } else if (chainId === ChainId.zksync) { + // val = isDarkMode ? ZksyncBadgeLargeDark : ZksyncBadgeLarge; + } else if (chainId === ChainId.zora) { + val = isDarkMode ? ZoraBadgeLargeDark : ZoraBadgeLarge; } } else { if (chainId === ChainId.apechain) { val = isDarkMode ? ApechainBadgeDark : ApechainBadge; } else if (chainId === ChainId.arbitrum) { val = isDarkMode ? ArbitrumBadgeDark : ArbitrumBadge; - } else if (chainId === ChainId.optimism) { - val = isDarkMode ? OptimismBadgeDark : OptimismBadge; - } else if (chainId === ChainId.polygon) { - val = isDarkMode ? PolygonBadgeDark : PolygonBadge; - } else if (chainId === ChainId.bsc) { - val = isDarkMode ? BscBadgeDark : BscBadge; - } else if (chainId === ChainId.zora) { - val = isDarkMode ? ZoraBadgeDark : ZoraBadge; - } else if (chainId === ChainId.base) { - val = isDarkMode ? BaseBadgeDark : BaseBadge; } else if (chainId === ChainId.avalanche) { val = isDarkMode ? AvalancheBadgeDark : AvalancheBadge; + } else if (chainId === ChainId.base) { + val = isDarkMode ? BaseBadgeDark : BaseBadge; } else if (chainId === ChainId.blast) { val = isDarkMode ? BlastBadgeDark : BlastBadge; + } else if (chainId === ChainId.bsc) { + val = isDarkMode ? BscBadgeDark : BscBadge; } else if (chainId === ChainId.degen) { val = isDarkMode ? DegenBadgeDark : DegenBadge; + // } else if (chainId === ChainId.gnosis) { + // val = isDarkMode ? GnosisBadgeDark : GnosisBadge; + // } else if (chainId === ChainId.gravity) { + // val = isDarkMode ? GravityBadgeDark : GravityBadge; + } else if (chainId === ChainId.ink) { + val = isDarkMode ? InkBadgeDark : InkBadge; + // } else if (chainId === ChainId.linea) { + // val = isDarkMode ? LineaBadgeDark : LineaBadge; + } else if (chainId === ChainId.optimism) { + val = isDarkMode ? OptimismBadgeDark : OptimismBadge; + } else if (chainId === ChainId.polygon) { + val = isDarkMode ? PolygonBadgeDark : PolygonBadge; + // } else if (chainId === ChainId.sanko) { + // val = isDarkMode ? SankoBadgeDark : SankoBadge; + // } else if (chainId === ChainId.scroll) { + // val = isDarkMode ? ScrollBadgeDark : ScrollBadge; + // } else if (chainId === ChainId.zksync) { + // val = isDarkMode ? ZksyncBadgeDark : ZksyncBadge; + } else if (chainId === ChainId.zora) { + val = isDarkMode ? ZoraBadgeDark : ZoraBadge; } } return val; diff --git a/src/components/coin-icon/ChainImage.tsx b/src/components/coin-icon/ChainImage.tsx index 0be5f993fa5..1aa5c479b8e 100644 --- a/src/components/coin-icon/ChainImage.tsx +++ b/src/components/coin-icon/ChainImage.tsx @@ -1,17 +1,25 @@ import React, { useMemo } from 'react'; import { ChainId } from '@/state/backendNetworks/types'; +import ApechainBadge from '@/assets/badges/apechain.png'; import ArbitrumBadge from '@/assets/badges/arbitrum.png'; +import AvalancheBadge from '@/assets/badges/avalanche.png'; import BaseBadge from '@/assets/badges/base.png'; +import BlastBadge from '@/assets/badges/blast.png'; import BscBadge from '@/assets/badges/bsc.png'; +import DegenBadge from '@/assets/badges/degen.png'; import EthereumBadge from '@/assets/badges/ethereum.png'; +// import GnosisBadge from '@/assets/badges/gnosis.png'; +// import GravityBadge from '@/assets/badges/gravity.png'; +import InkBadge from '@/assets/badges/ink.png'; +// import LineaBadge from '@/assets/badges/linea.png'; import OptimismBadge from '@/assets/badges/optimism.png'; import PolygonBadge from '@/assets/badges/polygon.png'; +// import SankoBadge from '@/assets/badges/sanko.png'; +// import ScrollBadge from '@/assets/badges/scroll.png'; +// import ZksyncBadge from '@/assets/badges/zksync.png'; import ZoraBadge from '@/assets/badges/zora.png'; -import AvalancheBadge from '@/assets/badges/avalanche.png'; -import BlastBadge from '@/assets/badges/blast.png'; -import DegenBadge from '@/assets/badges/degen.png'; -import ApechainBadge from '@/assets/badges/apechain.png'; + import FastImage, { Source } from 'react-native-fast-image'; export function ChainImage({ chainId, size = 20 }: { chainId: ChainId | null | undefined; size?: number }) { @@ -21,24 +29,38 @@ export function ChainImage({ chainId, size = 20 }: { chainId: ChainId | null | u return ApechainBadge; case ChainId.arbitrum: return ArbitrumBadge; + case ChainId.avalanche: + return AvalancheBadge; case ChainId.base: return BaseBadge; + case ChainId.blast: + return BlastBadge; case ChainId.bsc: return BscBadge; + case ChainId.degen: + return DegenBadge; + // case ChainId.gnosis: + // return GnosisBadge; + // case ChainId.gravity: + // return GravityBadge; + case ChainId.ink: + return InkBadge; + // case ChainId.linea: + // return LineaBadge; case ChainId.mainnet: return EthereumBadge; case ChainId.optimism: return OptimismBadge; case ChainId.polygon: return PolygonBadge; + // case ChainId.sanko: + // return SankoBadge; + // case ChainId.scroll: + // return ScrollBadge; + // case ChainId.zksync: + // return ZksyncBadge; case ChainId.zora: return ZoraBadge; - case ChainId.avalanche: - return AvalancheBadge; - case ChainId.blast: - return BlastBadge; - case ChainId.degen: - return DegenBadge; default: return { uri: '' }; } diff --git a/src/hooks/useSearchCurrencyList.ts b/src/hooks/useSearchCurrencyList.ts index 6c414079be7..f3dfca25865 100644 --- a/src/hooks/useSearchCurrencyList.ts +++ b/src/hooks/useSearchCurrencyList.ts @@ -87,15 +87,24 @@ const useSearchCurrencyList = (searchQuery: string, searchChainId = ChainId.main const [verifiedAssets, setVerifiedAssets] = useState([]); const [fetchingCrosschainAssets, setFetchingCrosschainAssets] = useState(false); const [crosschainVerifiedAssets, setCrosschainVerifiedAssets] = useState({ - [ChainId.mainnet]: [], - [ChainId.optimism]: [], - [ChainId.polygon]: [], - [ChainId.bsc]: [], + [ChainId.apechain]: [], [ChainId.arbitrum]: [], - [ChainId.base]: [], [ChainId.avalanche]: [], + [ChainId.base]: [], + [ChainId.bsc]: [], [ChainId.blast]: [], - [ChainId.apechain]: [], + [ChainId.degen]: [], + [ChainId.gnosis]: [], + [ChainId.gravity]: [], + [ChainId.ink]: [], + [ChainId.linea]: [], + [ChainId.mainnet]: [], + [ChainId.optimism]: [], + [ChainId.polygon]: [], + [ChainId.sanko]: [], + [ChainId.scroll]: [], + [ChainId.zksync]: [], + [ChainId.zora]: [], }); const crosschainSwapsEnabled = useExperimentalFlag(CROSSCHAIN_SWAPS); diff --git a/src/languages/en_US.json b/src/languages/en_US.json index e0d839a54c4..725d9b674d1 100644 --- a/src/languages/en_US.json +++ b/src/languages/en_US.json @@ -938,41 +938,69 @@ "text": "The miner tip goes directly to the miner who confirms your transaction on the network.\n\nA higher tip makes your transaction more likely to be confirmed quickly.", "title": "Miner tip" }, - "optimism": { - "text": "Optimism is a Layer 2 network that runs on top of Ethereum, enabling cheaper and faster transactions while still benefiting from the underlying security of Ethereum.\n\nIt bundles lots of transactions together in a \"roll up\" before sending them down to live permanently on Ethereum.", - "title": "What's Optimism?" + "apechain": { + "text": "ApeChain is a Layer 3 network that runs on top of Arbitrum Orbit and Ethereum.\n\nIt significantly enhances ApeCoin's utility, fostering a robust and dynamic economy driven by $APE.", + "title": "What's ApeChain?" + }, + "avalanche": { + "text": "Avalanche is a sidechain, a distinct network that runs alongside Ethereum and is compatible with it.\n\nIt allows for cheaper and faster transactions, but unlike Layer 2 networks, Avalanche has its own security and consensus mechanisms that differ from Ethereum.", + "title": "What's Avalanche?" }, "base": { "text": "Base is a Layer 2 network that runs on top of Ethereum, enabling cheaper and faster transactions while still benefiting from the underlying security of Ethereum.\n\nIt bundles lots of transactions together in a \"roll up\" before sending them down to live permanently on Ethereum.", "title": "What's Base?" }, - "avalanche": { - "text": "Avalanche is a sidechain, a distinct network that runs alongside Ethereum and is compatible with it.\n\nIt allows for cheaper and faster transactions, but unlike Layer 2 networks, Avalanche has its own security and consensus mechanisms that differ from Ethereum.", - "title": "What's Avalanche?" + "blast": { + "text": "Blast is a Layer 2 network that runs on top of Ethereum, enabling cheaper and faster transactions while still benefiting from the underlying security of Ethereum.\n\nIt bundles lots of transactions together in a \"roll up\" before sending them down to live permanently on Ethereum.", + "title": "What's Blast?" + }, + "bsc": { + "text": "Binance Smart Chain (BSC) is the blockchain for the trading platform Binance. \n\nBSC allows for cheaper and faster transactions, but unlike a Layer 2 network, it has its own security and consensus mechanisms that differ from Ethereum.", + "title": "What's Binance Smart Chain?" }, "degen": { "text": "Degen Chain is a Layer 3 network that runs on top of Arbitrum Orbit and Ethereum.", "title": "What's Degen Chain?" }, - "blast": { - "text": "Blast is a Layer 2 network that runs on top of Ethereum, enabling cheaper and faster transactions while still benefiting from the underlying security of Ethereum.\n\nIt bundles lots of transactions together in a \"roll up\" before sending them down to live permanently on Ethereum.", - "title": "What's Blast?" + "gravity": { + "text": "Gravity is a high-performance Layer 1 blockchain built by Galxe, achieving over one gigagas per second throughput and sub-second finality.\n\nIt utilizes a pipelined AptosBFT consensus engine and a parallel EVM runtime, maintaining Proof-of-Stake security through restaking technology.", + "title": "What's Gravity?" }, - "apechain": { - "text": "ApeChain is a Layer 3 network that runs on top of Arbitrum Orbit and Ethereum.\n\nIt significantly enhances ApeCoin's utility, fostering a robust and dynamic economy driven by $APE.", - "title": "What's ApeChain?" + "gnosis": { + "text": "Gnosis Chain is a community-owned Ethereum sidechain operated by a diverse set of validators worldwide.\n\nIt focuses on resilience and credible neutrality, offering cheaper and faster transactions while maintaining its own security and consensus mechanisms.", + "title": "What's Gnosis?" }, - "zora": { - "text": "Zora is a Layer 2 network that runs on top of Ethereum, enabling cheaper and faster transactions while still benefiting from the underlying security of Ethereum.\n\nIt bundles lots of transactions together in a \"roll up\" before sending them down to live permanently on Ethereum.", - "title": "What's Zora?" + "ink": { + "text": "Ink is a Layer 2 network built on the OP Stack, designed to scale Ethereum by providing sub-second block times and low transaction fees.\n\nUnleashed by Kraken, and part of the Superchain, Ink aims to enhance performance and accessibility for decentralized finance (DeFi) applications.", + "title": "What's Ink?" + }, + "linea": { + "text": "Linea is a secure, low-cost, Ethereum-equivalent Layer 2 blockchain developed by ConsenSys.\n\nIt enables faster and more affordable transactions without compromising security and decentralization, aiming to onboard the next billion users to web3.", + "title": "What's Linea?" + }, + "optimism": { + "text": "Optimism is a Layer 2 network that runs on top of Ethereum, enabling cheaper and faster transactions while still benefiting from the underlying security of Ethereum.\n\nIt bundles lots of transactions together in a \"roll up\" before sending them down to live permanently on Ethereum.", + "title": "What's Optimism?" }, "polygon": { "text": "Polygon is a sidechain, a distinct network that runs alongside Ethereum and is compatible with it.\n\nIt allows for cheaper and faster transactions, but unlike Layer 2 networks, Polygon has its own security and consensus mechanisms that differ from Ethereum.", "title": "What's Polygon?" }, - "bsc": { - "text": "Binance Smart Chain (BSC) is the blockchain for the trading platform Binance. \n\nBSC allows for cheaper and faster transactions, but unlike a Layer 2 network, it has its own security and consensus mechanisms that differ from Ethereum.", - "title": "What's Binance Smart Chain?" + "scroll": { + "text": "Scroll is a Layer 2 solution built atop Ethereum, aiming to enhance scalability and transaction efficiency.\n\nIt employs roll-up technology to bundle transactions, which are then submitted to Ethereum, benefiting from its security infrastructure.", + "title": "What's Scroll?" + }, + "sanko": { + "text": "Sanko is a Layer 3 network that runs on top of Arbitrum and Ethereum, focusing on NFTs and gaming.\n\nIt uses AnyTrust Data Availability and fraud proofs for state validation, allowing for faster and cheaper transactions while leveraging Ethereum's security. Sanko features a native token called DMT and employs whitelisted validators for proposing and challenging state roots.", + "title": "What's Sanko?" + }, + "zksync": { + "text": "ZKsync is a Layer 2 protocol designed to scale Ethereum using advanced zero-knowledge cryptographic proofs.\n\nIt enhances Ethereum’s throughput while maintaining decentralization and security, enabling faster and cheaper transactions.", + "title": "What's Zksync?" + }, + "zora": { + "text": "Zora is a Layer 2 network that runs on top of Ethereum, enabling cheaper and faster transactions while still benefiting from the underlying security of Ethereum.\n\nIt bundles lots of transactions together in a \"roll up\" before sending them down to live permanently on Ethereum.", + "title": "What's Zora?" }, "read_more": "Read More", "learn_more": "Learn More", diff --git a/src/model/remoteConfig.ts b/src/model/remoteConfig.ts index 59e5b6dbcbb..40382af707b 100644 --- a/src/model/remoteConfig.ts +++ b/src/model/remoteConfig.ts @@ -65,12 +65,19 @@ export const DEFAULT_CONFIG: RainbowConfig = { arbitrum: 200, avalanche: 200, base: 200, - blast: 200, bsc: 200, + blast: 200, degen: 200, + gnosis: 200, + gravity: 200, + ink: 200, + linea: 200, mainnet: 100, optimism: 200, polygon: 200, + sanko: 200, + scroll: 200, + zksync: 200, zora: 200, }), default_slippage_bips_chainId: JSON.stringify({ diff --git a/src/state/appSessions/index.ts b/src/state/appSessions/index.ts index ee5400779ca..23e96522f2f 100644 --- a/src/state/appSessions/index.ts +++ b/src/state/appSessions/index.ts @@ -9,6 +9,12 @@ const chainsIdByNetwork: Record = { [Network.polygon]: ChainId.polygon, [Network.avalanche]: ChainId.avalanche, [Network.bsc]: ChainId.bsc, + [Network.gravity]: ChainId.gravity, + [Network.scroll]: ChainId.scroll, + [Network.zksync]: ChainId.zksync, + [Network.ink]: ChainId.ink, + [Network.linea]: ChainId.linea, + [Network.sanko]: ChainId.sanko, [Network.arbitrum]: ChainId.arbitrum, [Network.optimism]: ChainId.optimism, [Network.zora]: ChainId.zora, diff --git a/src/state/backendNetworks/backendNetworks.ts b/src/state/backendNetworks/backendNetworks.ts index 17da5798f27..9e1882f2601 100644 --- a/src/state/backendNetworks/backendNetworks.ts +++ b/src/state/backendNetworks/backendNetworks.ts @@ -211,7 +211,7 @@ export const useBackendNetworksStore = createRainbowStore( ); }, - // TODO: This should come from the backend at some point + // TODO: This should come from the backend defaultSimplehashNetwork: chainId => { switch (chainId) { case ChainId.apechain: @@ -232,14 +232,27 @@ export const useBackendNetworksStore = createRainbowStore( return 'gnosis'; case ChainId.goerli: return 'ethereum-goerli'; + // case ChainId.gravity: // FIXME: Unsupported as of now https://docs.simplehash.com/reference/supported-chains-testnets#mainnets + // return 'gravity'; + // case ChainId.ink: // FIXME: Unsupported as of now https://docs.simplehash.com/reference/supported-chains-testnets#mainnets + // return 'ink'; case ChainId.mainnet: return 'ethereum'; case ChainId.optimism: return 'optimism'; case ChainId.polygon: return 'polygon'; + // case ChainId.sanko: // FIXME: Unsupported as of now https://docs.simplehash.com/reference/supported-chains-testnets#mainnets + // return 'sanko'; + case ChainId.scroll: + return 'scroll'; + case ChainId.zksync: + return 'zksync-era'; case ChainId.zora: return 'zora'; + case ChainId.linea: + return 'linea'; + default: return ''; } diff --git a/src/state/backendNetworks/types.ts b/src/state/backendNetworks/types.ts index e8cd56f14eb..ab84a34b120 100644 --- a/src/state/backendNetworks/types.ts +++ b/src/state/backendNetworks/types.ts @@ -7,21 +7,27 @@ const HARDHAT_RPC_URL = 'http://127.0.0.1:8545/'; export enum Network { apechain = 'apechain', arbitrum = 'arbitrum', + avalanche = 'avalanche', + base = 'base', + blast = 'blast', + bsc = 'bsc', + degen = 'degen', + gnosis = 'gnosis', goerli = 'goerli', + gravity = 'gravity', + ink = 'ink', + linea = 'linea', mainnet = 'mainnet', optimism = 'optimism', polygon = 'polygon', - base = 'base', - bsc = 'bsc', + sanko = 'sanko', + scroll = 'scroll', + zksync = 'zksync', zora = 'zora', - gnosis = 'gnosis', - avalanche = 'avalanche', - blast = 'blast', - degen = 'degen', } export enum ChainId { - apechain = 33139, + apechain = chain.apeChain.id, arbitrum = chain.arbitrum.id, arbitrumNova = chain.arbitrumNova.id, arbitrumSepolia = chain.arbitrumSepolia.id, @@ -37,9 +43,11 @@ export enum ChainId { degen = chain.degen.id, gnosis = chain.gnosis.id, goerli = chain.goerli.id, + gravity = chain.gravity.id, hardhat = HARDHAT_CHAIN_ID, hardhatOptimism = HARDHAT_OP_CHAIN_ID, holesky = chain.holesky.id, + ink = 57073, linea = chain.linea.id, mainnet = chain.mainnet.id, manta = chain.manta.id, @@ -50,8 +58,10 @@ export enum ChainId { polygonMumbai = chain.polygonMumbai.id, polygonZkEvm = chain.polygonZkEvm.id, rari = 1380012617, + sanko = chain.sanko.id, scroll = chain.scroll.id, sepolia = chain.sepolia.id, + zksync = chain.zksync.id, zora = chain.zora.id, zoraSepolia = chain.zoraSepolia.id, } @@ -64,32 +74,36 @@ export enum ChainName { avalanche = 'avalanche', avalancheFuji = 'avalanche-fuji', base = 'base', + baseSepolia = 'base-sepolia', blast = 'blast', blastSepolia = 'blast-sepolia', bsc = 'bsc', + bscTestnet = 'bsc-testnet', celo = 'celo', degen = 'degen', gnosis = 'gnosis', goerli = 'goerli', + gravity = 'gravity', + hardhat = 'hardhat', + hardhatOptimism = 'hardhat-optimism', + holesky = 'holesky', + ink = 'ink', linea = 'linea', + mainnet = 'mainnet', manta = 'manta', optimism = 'optimism', + optimismSepolia = 'optimism-sepolia', polygon = 'polygon', + polygonAmoy = 'polygon-amoy', + polygonMumbai = 'polygon-mumbai', polygonZkEvm = 'polygon-zkevm', rari = 'rari', + sanko = 'sanko', scroll = 'scroll', - zora = 'zora', - mainnet = 'mainnet', - holesky = 'holesky', - hardhat = 'hardhat', - hardhatOptimism = 'hardhat-optimism', sepolia = 'sepolia', - optimismSepolia = 'optimism-sepolia', - bscTestnet = 'bsc-testnet', - polygonMumbai = 'polygon-mumbai', - baseSepolia = 'base-sepolia', + zksync = 'zksync', + zora = 'zora', zoraSepolia = 'zora-sepolia', - polygonAmoy = 'polygon-amoy', } export const chainHardhat: chain.Chain = { diff --git a/src/styles/colors.ts b/src/styles/colors.ts index 0cdac9387af..04d23086e48 100644 --- a/src/styles/colors.ts +++ b/src/styles/colors.ts @@ -187,10 +187,16 @@ const getColorsByTheme = (darkMode?: boolean) => { }; let networkColors = { + [ChainId.zksync]: '#25292E', + [ChainId.sanko]: '#594BA7', + [ChainId.scroll]: '#A6855D', + [ChainId.linea]: '#25292E', + [ChainId.gravity]: '#B75E2C', + [ChainId.ink]: '#7132F5', [ChainId.arbitrum]: '#2D374B', [ChainId.base]: '#0052FF', [ChainId.goerli]: '#f6c343', - [ChainId.gnosis]: '#479E9C', + [ChainId.gnosis]: '#133629', [ChainId.mainnet]: '#25292E', [ChainId.optimism]: '#FF4040', [ChainId.polygon]: '#8247E5', @@ -330,10 +336,16 @@ const getColorsByTheme = (darkMode?: boolean) => { }; networkColors = { + [ChainId.zksync]: '#FFFFFF', + [ChainId.sanko]: '#7F6FC9', + [ChainId.scroll]: '#EBC28E', + [ChainId.linea]: '#FFFFFF', + [ChainId.gravity]: '#B75E2C', + [ChainId.ink]: '#864DFF', [ChainId.arbitrum]: '#ADBFE3', [ChainId.base]: '#3979FF', [ChainId.goerli]: '#f6c343', - [ChainId.gnosis]: '#479E9C', + [ChainId.gnosis]: '#F0EBDE', [ChainId.mainnet]: '#E0E8FF', [ChainId.optimism]: '#FF6A6A', [ChainId.polygon]: '#A275EE', diff --git a/yarn.lock b/yarn.lock index 2926ab36f27..b5fbcfce5a1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -24,6 +24,13 @@ __metadata: languageName: node linkType: hard +"@adraffy/ens-normalize@npm:^1.10.1": + version: 1.11.0 + resolution: "@adraffy/ens-normalize@npm:1.11.0" + checksum: 10c0/5111d0f1a273468cb5661ed3cf46ee58de8f32f84e2ebc2365652e66c1ead82649df94c736804e2b9cfa831d30ef24e1cc3575d970dbda583416d3a98d8870a6 + languageName: node + linkType: hard + "@ampproject/remapping@npm:^2.2.0": version: 2.3.0 resolution: "@ampproject/remapping@npm:2.3.0" @@ -4452,6 +4459,15 @@ __metadata: languageName: node linkType: hard +"@noble/curves@npm:1.7.0, @noble/curves@npm:^1.4.0, @noble/curves@npm:^1.6.0, @noble/curves@npm:~1.7.0": + version: 1.7.0 + resolution: "@noble/curves@npm:1.7.0" + dependencies: + "@noble/hashes": "npm:1.6.0" + checksum: 10c0/3317ec9b7699d2476707a89ceb3ddce60e69bac287561a31dd533669408633e093860fea5067eb9c54e5a7ced0705da1cba8859b6b1e0c48d3afff55fe2e77d0 + languageName: node + linkType: hard + "@noble/hashes@npm:1.2.0, @noble/hashes@npm:~1.2.0": version: 1.2.0 resolution: "@noble/hashes@npm:1.2.0" @@ -4473,6 +4489,20 @@ __metadata: languageName: node linkType: hard +"@noble/hashes@npm:1.6.0": + version: 1.6.0 + resolution: "@noble/hashes@npm:1.6.0" + checksum: 10c0/e7e75898257fb36d933935fcdf1cc67ca7c083eb7b2411aa57fde7eb494c2cea0bec03686462032e25d5b0e1e4ab7357d1afb6718f6a68515db1f392141e9f14 + languageName: node + linkType: hard + +"@noble/hashes@npm:1.6.1, @noble/hashes@npm:^1.4.0, @noble/hashes@npm:^1.5.0, @noble/hashes@npm:~1.6.0": + version: 1.6.1 + resolution: "@noble/hashes@npm:1.6.1" + checksum: 10c0/27643cd8b551bc933b57cc29aa8c8763d586552fc4c3e06ecf7897f55be3463c0c9dff7f6ebacd88e5ce6d0cdb5415ca4874d0cf4359b5ea4a85be21ada03aab + languageName: node + linkType: hard + "@noble/hashes@npm:~1.3.0, @noble/hashes@npm:~1.3.2": version: 1.3.3 resolution: "@noble/hashes@npm:1.3.3" @@ -6394,6 +6424,13 @@ __metadata: languageName: node linkType: hard +"@scure/base@npm:~1.2.1": + version: 1.2.1 + resolution: "@scure/base@npm:1.2.1" + checksum: 10c0/e61068854370855b89c50c28fa4092ea6780f1e0db64ea94075ab574ebcc964f719a3120dc708db324991f4b3e652d92ebda03fce2bf6a4900ceeacf9c0ff933 + languageName: node + linkType: hard + "@scure/bip32@npm:1.1.5": version: 1.1.5 resolution: "@scure/bip32@npm:1.1.5" @@ -6427,6 +6464,17 @@ __metadata: languageName: node linkType: hard +"@scure/bip32@npm:1.6.0, @scure/bip32@npm:^1.5.0": + version: 1.6.0 + resolution: "@scure/bip32@npm:1.6.0" + dependencies: + "@noble/curves": "npm:~1.7.0" + "@noble/hashes": "npm:~1.6.0" + "@scure/base": "npm:~1.2.1" + checksum: 10c0/5a5eff8c0bc0b53d70528c5eda6efa7ed6d186a5c9ba0a339edf9c150ee3f331d837ffe29d2c6c6336b1f88ad90aa8b6e596a4950217343f36916d8024f79bdf + languageName: node + linkType: hard + "@scure/bip39@npm:1.1.1": version: 1.1.1 resolution: "@scure/bip39@npm:1.1.1" @@ -6457,6 +6505,16 @@ __metadata: languageName: node linkType: hard +"@scure/bip39@npm:1.5.0, @scure/bip39@npm:^1.4.0": + version: 1.5.0 + resolution: "@scure/bip39@npm:1.5.0" + dependencies: + "@noble/hashes": "npm:~1.6.0" + "@scure/base": "npm:~1.2.1" + checksum: 10c0/114ab88fb00269d17a73d5c39a2cade47403e05f6df5a8d6f5da6e7f2b071966fe8f656a740dc3399acd006163f234e82b680544c38004703dbb60f8a29daf73 + languageName: node + linkType: hard + "@segment/loosely-validate-event@npm:^2.0.0": version: 2.0.0 resolution: "@segment/loosely-validate-event@npm:2.0.0" @@ -9380,7 +9438,7 @@ __metadata: use-deep-compare: "npm:1.1.0" use-memo-one: "npm:1.1.1" util: "npm:0.10.4" - viem: "npm:2.9.16" + viem: "npm:2.21.54" vm-browserify: "npm:0.0.4" w2t: "npm:3.0.2" webpack: "npm:5.94.0" @@ -9420,9 +9478,9 @@ __metadata: languageName: node linkType: hard -"abitype@npm:1.0.0": - version: 1.0.0 - resolution: "abitype@npm:1.0.0" +"abitype@npm:1.0.7, abitype@npm:^1.0.6": + version: 1.0.7 + resolution: "abitype@npm:1.0.7" peerDependencies: typescript: ">=5.0.4" zod: ^3 >=3.22.0 @@ -9431,7 +9489,7 @@ __metadata: optional: true zod: optional: true - checksum: 10c0/d685351a725c49f81bdc588e2f3825c28ad96c59048d4f36bf5e4ef30935c31f7e60b5553c70177b77a9e4d8b04290eea43d3d9c1c2562cb130381c88b15d39f + checksum: 10c0/de63055e27bcc8ec14e810c8525c2a61658a1b01dc1e5882af45c96a966ad3911d50dd16d97dfb49c106fb323638a906bcaf1e48f4f1b9c5bf4926dc217a81e1 languageName: node linkType: hard @@ -17787,6 +17845,15 @@ __metadata: languageName: node linkType: hard +"isows@npm:1.0.6": + version: 1.0.6 + resolution: "isows@npm:1.0.6" + peerDependencies: + ws: "*" + checksum: 10c0/f89338f63ce2f497d6cd0f86e42c634209328ebb43b3bdfdc85d8f1589ee75f02b7e6d9e1ba274101d0f6f513b1b8cbe6985e6542b4aaa1f0c5fd50d9c1be95c + languageName: node + linkType: hard + "istanbul-lib-coverage@npm:^3.0.0, istanbul-lib-coverage@npm:^3.2.0": version: 3.2.2 resolution: "istanbul-lib-coverage@npm:3.2.2" @@ -21639,6 +21706,26 @@ __metadata: languageName: node linkType: hard +"ox@npm:0.1.2": + version: 0.1.2 + resolution: "ox@npm:0.1.2" + dependencies: + "@adraffy/ens-normalize": "npm:^1.10.1" + "@noble/curves": "npm:^1.6.0" + "@noble/hashes": "npm:^1.5.0" + "@scure/bip32": "npm:^1.5.0" + "@scure/bip39": "npm:^1.4.0" + abitype: "npm:^1.0.6" + eventemitter3: "npm:5.0.1" + peerDependencies: + typescript: ">=5.4.0" + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/9d0615e9a95c316063587fe08dc268476e67429eea897598b2f69cb1509ac66739f888b0b9bc1cfd0b4bd2f1a3fd0af4d3e81d40ba0bf3abd53e36a6f5b21323 + languageName: node + linkType: hard + "p-finally@npm:^1.0.0": version: 1.0.0 resolution: "p-finally@npm:1.0.0" @@ -28051,24 +28138,25 @@ react-native-safe-area-view@rainbow-me/react-native-safe-area-view: languageName: node linkType: hard -"viem@npm:2.9.16": - version: 2.9.16 - resolution: "viem@npm:2.9.16" +"viem@npm:2.21.54": + version: 2.21.54 + resolution: "viem@npm:2.21.54" dependencies: - "@adraffy/ens-normalize": "npm:1.10.0" - "@noble/curves": "npm:1.2.0" - "@noble/hashes": "npm:1.3.2" - "@scure/bip32": "npm:1.3.2" - "@scure/bip39": "npm:1.2.1" - abitype: "npm:1.0.0" - isows: "npm:1.0.3" - ws: "npm:8.13.0" + "@noble/curves": "npm:1.7.0" + "@noble/hashes": "npm:1.6.1" + "@scure/bip32": "npm:1.6.0" + "@scure/bip39": "npm:1.5.0" + abitype: "npm:1.0.7" + isows: "npm:1.0.6" + ox: "npm:0.1.2" + webauthn-p256: "npm:0.0.10" + ws: "npm:8.18.0" peerDependencies: typescript: ">=5.0.4" peerDependenciesMeta: typescript: optional: true - checksum: 10c0/832ed60ea8de1eba70dc6bafc1196243836c9ccaa7284e37b35bedf9f8fcfe6e238c30f04408556d7cba7fff80def9ee2b807cff114e8fec885bca9b95b00586 + checksum: 10c0/d4d77f47de89248a6c2e43dc0729517b1b5cb5afd372f97ae2f5b37170d9df131c92955efcc0776bd6e75980bd19bc38f0daa1026e2059204ad8593b5f383e55 languageName: node linkType: hard @@ -28159,6 +28247,16 @@ react-native-safe-area-view@rainbow-me/react-native-safe-area-view: languageName: node linkType: hard +"webauthn-p256@npm:0.0.10": + version: 0.0.10 + resolution: "webauthn-p256@npm:0.0.10" + dependencies: + "@noble/curves": "npm:^1.4.0" + "@noble/hashes": "npm:^1.4.0" + checksum: 10c0/27d836d81a1fec24a31d2d9b652f8ff6876b51940d1003bbd14dc5cfa57c58d84223b5a4eece229516522fd997bc0bc7be618ac42b129fb5fa42fa530060b16d + languageName: node + linkType: hard + "webidl-conversions@npm:^3.0.0": version: 3.0.1 resolution: "webidl-conversions@npm:3.0.1" @@ -28535,6 +28633,21 @@ react-native-safe-area-view@rainbow-me/react-native-safe-area-view: languageName: node linkType: hard +"ws@npm:8.18.0, ws@npm:^8.12.1": + version: 8.18.0 + resolution: "ws@npm:8.18.0" + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ">=5.0.2" + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + checksum: 10c0/25eb33aff17edcb90721ed6b0eb250976328533ad3cd1a28a274bd263682e7296a6591ff1436d6cbc50fa67463158b062f9d1122013b361cec99a05f84680e06 + languageName: node + linkType: hard + "ws@npm:^6.2.2": version: 6.2.3 resolution: "ws@npm:6.2.3" @@ -28559,21 +28672,6 @@ react-native-safe-area-view@rainbow-me/react-native-safe-area-view: languageName: node linkType: hard -"ws@npm:^8.12.1": - version: 8.18.0 - resolution: "ws@npm:8.18.0" - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ">=5.0.2" - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - checksum: 10c0/25eb33aff17edcb90721ed6b0eb250976328533ad3cd1a28a274bd263682e7296a6591ff1436d6cbc50fa67463158b062f9d1122013b361cec99a05f84680e06 - languageName: node - linkType: hard - "ws@npm:~8.2.3": version: 8.2.3 resolution: "ws@npm:8.2.3"