Skip to content

feat: add BEXChain assets and metadata (Chain ID 140586)#1835

Open
bexchainteam wants to merge 24 commits into
MetaMask:masterfrom
bexchainteam:master
Open

feat: add BEXChain assets and metadata (Chain ID 140586)#1835
bexchainteam wants to merge 24 commits into
MetaMask:masterfrom
bexchainteam:master

Conversation

@bexchainteam

@bexchainteam bexchainteam commented Jun 12, 2026

Copy link
Copy Markdown

Adding folder eip155:140586 for BEXChain network.
Included tokens:

  • wUSDT
  • USDB
  • ONE
    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 under icons/eip155:140586/.

The new JSON files follow the same shape as existing chain folders (name, symbol, decimals, erc20, relative logo path); 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.

@bexchainteam bexchainteam requested review from a team and MRabenda as code owners June 12, 2026 09:30
Comment thread metadata/eip155:140586/erc20:0x3f1c8a5244a8959116e6e01df5e13847b7e11726.json Outdated
"symbol": "USDB",
"decimals": 18,
"erc20": true,
"logo": "./icons/eip155:140586/erc20:0x3f1C8A5244A8959116e6E01df5e13847B7e11726.svg"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit dde800a. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

There are 3 total unresolved issues (including 2 from previous reviews).

Fix All in Cursor

❌ 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"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4c13003. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant