Skip to content

Conversation

@amirjavidian1363-blip
Copy link

@amirjavidian1363-blip amirjavidian1363-blip commented Nov 29, 2025

Adds metadata for USDU BEP-20 token on BSC (chainId 56).

Follows CAIP-19 format. No duplicates.


Note

Add metadata for USD University (USDU) BEP-20 on BSC (eip155:56).

  • Metadata:
    • Add token metadata file metadata/eip155/56/0x94a5642190d0f07f6510a0364bae417cf6e625f1.json.
      • Fields: name, symbol, decimals: 6, erc20: true, logo path.

Written by Cursor Bugbot for commit 1e48f28. This will update automatically on new commits. Configure here.

"symbol": "USDU",
"decimals": 6,
"logoURI": "https://raw.githubusercontent.com/amirjavidian1363-blip/usdu-assets/main/logo.png"
}
Copy link

Choose a reason for hiding this comment

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

Bug: Incorrect file path structure violates CAIP-19 format

The file path uses metadata/eip155/56/0x... instead of the required CAIP-19 format metadata/eip155:56/erc20:0x.... All existing BSC token files follow the pattern metadata/eip155:56/erc20:0xAddress.json with colons separating the namespace components and including the erc20: prefix. The build system in buildindex.js expects this format to generate the correct CAIP-19 asset ID key eip155:56/erc20:0xAddress for the contract map.

Fix in Cursor Fix in Web

format, add erc20 field, and correct logo path
,Address bot feedback: Add erc20: true, change logoURI to logo with relative path, ensure CAIP-19 compliance for BSC (chainId 56)
"decimals": 6,
"erc20": true,
"logo": "./icons/eip155:56/erc20:0x94a5642190d0f07f6510a0364bae417cf6e625f1.png"
}
Copy link

Choose a reason for hiding this comment

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

Bug: File placed in incorrect directory structure

The metadata file is placed in metadata/eip155/56/ but should be in metadata/eip155:56/ (with a colon). Additionally, the filename should be erc20:0x94a5642190d0f07f6510a0364bae417cf6e625f1.json to match the CAIP-19 format used by all other BSC token metadata files. This incorrect location prevents the metadata from being discovered by systems expecting the standard directory structure.

Fix in Cursor Fix in Web

"decimals": 6,
"erc20": true,
"logo": "./icons/eip155:56/erc20:0x94a5642190d0f07f6510a0364bae417cf6e625f1.png"
}
Copy link

Choose a reason for hiding this comment

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

Bug: File placed in incorrect directory structure

The metadata file is placed in metadata/eip155/56/ but should be in metadata/eip155:56/ (with a colon). Additionally, the filename should be erc20:0x94a5642190d0f07f6510a0364bae417cf6e625f1.json to match the CAIP-19 format used by all other BSC token metadata files in the repository. This incorrect location prevents the metadata from being discovered by systems expecting the standard CAIP-19 directory structure.

Fix in Cursor Fix in Web

@amirjavidian1363-blip
Copy link
Author

@MRabenda @MetaMask/core fixes applied per cursor-bot feedback: erc20 field added, logo path corrected to relative CAIP-19 format, icon uploaded. Ready for review. Verified stablecoin on BSCScan.

@amirjavidian1363-blip
Copy link
Author

@MRabenda @MetaMask/core
All bot issues fixed:
Added "erc20": true
Changed logoURI → logo with relative path
Uploaded icon to icons/eip155:56/erc20:0x94a5642190d0f07f6510a0364bae417cf6e625f1.png Ready for merge. Thank you!

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