feat: add BEXChain assets and metadata (Chain ID 140586)#1835
feat: add BEXChain assets and metadata (Chain ID 140586)#1835bexchainteam wants to merge 24 commits into
Conversation
Added ERC20 flag and logo path to the token metadata.
| "symbol": "USDB", | ||
| "decimals": 18, | ||
| "erc20": true, | ||
| "logo": "./icons/eip155:140586/erc20:0x3f1C8A5244A8959116e6E01df5e13847B7e11726.svg" |
There was a problem hiding this comment.
USDB logo path mismatch
Medium Severity
The logo field points at a checksummed SVG filename under icons/eip155:140586, but the repo only has the same asset icon stored with an all-lowercase address in the filename. On case-sensitive filesystems and typical raw GitHub URLs, that path does not resolve, so USDB’s logo fails to load and the metadata logo existence check in test/caip.js can fail.
Reviewed by Cursor Bugbot for commit dde800a. Configure here.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 3 total unresolved issues (including 2 from previous reviews).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 4c13003. Configure here.
| "symbol": "ONE", | ||
| "decimals": 18, | ||
| "erc20": true, | ||
| "logo": "./icons/eip155:140586/erc20:0x635bDB62f35E1971b96fB9609cbdD2daB4fa91fe.svg" |
There was a problem hiding this comment.
Logo path icon case mismatch
Medium Severity
The logo field points at a checksummed SVG filename, but the ONE icon under icons/eip155:140586/ is stored with an all-lowercase address. On case-sensitive filesystems, fs.existsSync and direct path loads fail, so the token metadata resolves without a logo.
Reviewed by Cursor Bugbot for commit 4c13003. Configure here.


Adding folder eip155:140586 for BEXChain network.
Included tokens:
Along with their respective .json metadata and .svg logos.
Note
Low Risk
Additive static metadata and icons only; incorrect addresses or symbols could mislabel tokens in wallets but does not change application code.
Overview
Adds BEXChain (CAIP-2
eip155:140586) to the token metadata catalog with three ERC-20 entries: USDB, ONE, and wUSDT (display name USDT), each at a fixed contract address with 18 decimals and paired SVG logo paths undericons/eip155:140586/.The new JSON files follow the same shape as existing chain folders (name, symbol, decimals,
erc20, relativelogopath); no runtime or registry logic is changed.Reviewed by Cursor Bugbot for commit 075faf0. Bugbot is set up for automated code reviews on this repo. Configure here.