CW-1368: Add Binance Smart Chain (#2836)

* feat: Add Binance Smart Chain support to wallet types and EVM chain registry

* feat: Add BSC node list and support in wallet type and chain ID mappings

* feat: Add BSC default tokens and update evm utility functions

* feat: Integrate BSC support in node settings and management

* feat: Add BSC support to config scripts and wallet type generation

* feat: Add BSC support to EVM chain ID and switcher

* feat: Extend BSC support in wallet utilities and chain type checks

* feat: Add BSC support to different wallet functions

* feat: Add BSCURI class and implement for uri handling

* feat: Update Android and iOS configurations to support BSC URL schemes

* feat: Add BSC support to different functionalities and settings

* refactor: Update wallet type name from'Binance Smart Chain' to BNB Smart Chain

* feat: Add switcher icon and updates token utils

* Review fixes

* More changes to BSC name, wallet listing and images

* Add more default tokens
This commit is contained in:
David Adegoke
2026-02-05 13:48:26 +01:00
committed by GitHub
parent d05a7a91d6
commit 308de0389d
103 changed files with 609 additions and 157 deletions
+28
View File
@@ -0,0 +1,28 @@
-
uri: bsc-dataseed.bnbchain.org
useSSL: true
isDefault: true
isEnabledForAutoSwitching: true
-
uri: bsc-dataseed2.bnbchain.org
useSSL: true
isEnabledForAutoSwitching: true
-
uri: bsc-dataseed.nariox.org
useSSL: true
isEnabledForAutoSwitching: true
-
uri: bsc-dataseed.defibit.io
useSSL: true
isEnabledForAutoSwitching: true
-
uri: bsc-dataseed.ninicoin.io
useSSL: true
isEnabledForAutoSwitching: true
-
uri: bsc.nodereal.io
useSSL: true
isEnabledForAutoSwitching: true
-
uri: bsc-dataseed-public.bnbchain.org
useSSL: true
+5
View File
@@ -0,0 +1,5 @@
<svg width="45" height="45" viewBox="0 0 45 45" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="1" y="1" width="43" height="43" rx="6" fill="white"/>
<rect x="1" y="1" width="43" height="43" rx="6" stroke="black" stroke-width="2"/>
<path d="M13.5524 10.7945L22.5085 5.625L31.4646 10.7945L28.1719 12.7043L22.5085 9.44452L16.8451 12.7043L13.5524 10.7945ZM31.4646 17.314L28.1719 15.4043L22.5085 18.664L16.8451 15.4043L13.5524 17.314V21.1335L19.2158 24.3932V30.9128L22.5085 32.8226L25.8012 30.9128V24.3932L31.4646 21.1335V17.314ZM31.4646 27.6531V23.8335L28.1719 25.7432V29.5628L31.4646 27.6531ZM33.8024 29.0031L28.139 32.2628V36.0823L37.0951 30.9128V20.5737L33.8024 22.4835V29.0031ZM30.5098 14.0543L33.8024 15.964V19.7835L37.0951 17.8738V14.0543L33.8024 12.1445L30.5098 14.0543ZM19.2158 33.6458V37.4653L22.5085 39.375L25.8012 37.4653V33.6458L22.5085 35.5555L19.2158 33.6458ZM13.5524 27.6531L16.8451 29.5628V25.7432L13.5524 23.8335V27.6531ZM19.2158 14.0543L22.5085 15.964L25.8012 14.0543L22.5085 12.1445L19.2158 14.0543ZM11.2146 15.964L14.5072 14.0543L11.2146 12.1445L7.92188 14.0543V17.8738L11.2146 19.7835V15.964ZM11.2146 22.4835L7.92188 20.5737V30.9128L16.878 36.0823V32.2628L11.2146 29.0031V22.4835Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

+3
View File
@@ -0,0 +1,3 @@
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.51434 4.90147L16.006 0L24.4978 4.90147L21.3758 6.7122L16.006 3.62147L10.6363 6.7122L7.51434 4.90147ZM24.4978 11.0829L21.3758 9.2722L16.006 12.3629L10.6363 9.2722L7.51434 11.0829V14.7044L12.8841 17.7951V23.9765L16.006 25.7873L19.128 23.9765V17.7951L24.4978 14.7044V11.0829ZM24.4978 20.8859V17.2644L21.3758 19.0751V22.6965L24.4978 20.8859ZM26.7143 22.1659L21.3446 25.2565V28.878L29.8363 23.9765V14.1736L26.7143 15.9844V22.1659ZM23.5924 7.9922L26.7143 9.80292V13.4244L29.8363 11.6137V7.9922L26.7143 6.18147L23.5924 7.9922ZM12.8841 26.5679V30.1893L16.006 32L19.128 30.1893V26.5679L16.006 28.3785L12.8841 26.5679ZM7.51434 20.8859L10.6363 22.6965V19.0751L7.51434 17.2644V20.8859ZM12.8841 7.9922L16.006 9.80292L19.128 7.9922L16.006 6.18147L12.8841 7.9922ZM5.29773 9.80292L8.41969 7.9922L5.29773 6.18147L2.17578 7.9922V11.6137L5.29773 13.4244V9.80292ZM5.29773 15.9844L2.17578 14.1736V23.9765L10.6675 28.878V25.2565L5.29773 22.1659V15.9844Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

@@ -0,0 +1,3 @@
<svg width="96" height="96" viewBox="0 0 96 96" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M22.8814 14.7044L48.1429 0L73.4043 14.7044L64.117 20.1366L48.1429 10.8644L32.1687 20.1366L22.8814 14.7044ZM73.4043 33.2488L64.117 27.8166L48.1429 37.0888L32.1687 27.8166L22.8814 33.2488V44.1132L38.8555 53.3854V71.9297L48.1429 77.362L57.4302 71.9297V53.3854L73.4043 44.1132V33.2488ZM73.4043 62.6576V51.7932L64.117 57.2254V68.0898L73.4043 62.6576ZM79.9984 66.4976L64.0243 75.7698V86.6341L89.2857 71.9297V42.521L79.9984 47.9532V66.4976ZM70.7111 23.9766L79.9984 29.4088V40.2732L89.2857 34.841V23.9766L79.9984 18.5444L70.7111 23.9766ZM38.8555 79.7034V90.5678L48.1429 96L57.4302 90.5678V79.7034L48.1429 85.1356L38.8555 79.7034ZM22.8814 62.6576L32.1687 68.0898V57.2254L22.8814 51.7932V62.6576ZM38.8555 23.9766L48.1429 29.4088L57.4302 23.9766L48.1429 18.5444L38.8555 23.9766ZM16.2873 29.4088L25.5746 23.9766L16.2873 18.5444L7 23.9766V34.841L16.2873 40.2732V29.4088ZM16.2873 47.9532L7 42.521V71.9297L32.2615 86.6341V75.7698L16.2873 66.4976V47.9532Z" fill="#F0B90B"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB