leather-io / extension

Leather browser extension
https://leather.io
MIT License
305 stars 143 forks source link

Token Labeling : Headers #3938

Open DeeList opened 1 year ago

DeeList commented 1 year ago

Labeling:

Tokens that are the Stacks equivalent of BRC-20 tokens, lack clear labels indicating their SIP-010 status.

b20

.

While BRC-20 tokens have appropriate labels, the same distinction is missing for other token types.

BRC-20

Headers:

Addition of Headers To enhance visibility between tokens and provide clear visual boundaries.

314159265359879 commented 1 year ago

Thanks for creating the issue @DeeList we have noticed users who try to send Stacks tokens (BRC-20 equivalent) on Stacks to Bitcoin addresses, but that is not possible. Labelling (all tokens in the same way) or separating BRC-20 and Stacks tokens visually in the wallet could help distinguish the too for users.

A bit more context: The ALEX BRC-20 bridge has an option to peg-in BRC-20 tokens from the Bitcoin network to the Stacks network. Or pegging-out to send from Stacks back tot he Bitcoin network. The Stacks tokens can be used for interactions on the offchain orderbook at app.alexlab.co depositing the Stacks tokens in the orderbook contract allows trading BRC-20 (equivalent tokens) on in a stablecoin pair (with sUSDT) on the orderbook.

The wallet will show BRC-20 tokens under balances with the BRC-20 label. These always have a BRC-20 logo.

Stacks tokens are displayed there too and especially the $B20 (BRC20) can be confusing to users because it is called "(BRC20)" but it is a SIP010 token (standard token on Stacks). Stacks Standard tokens show the ticker where BRC-20 tokens have a "BRC-20" label. image

markmhendrickson commented 1 year ago

Thanks @DeeList. Also captured here: https://github.com/hirosystems/wallet/issues/3870

@314159265359879 perhaps we should rework this particular issue to address the one you raise since we have the other one already for improving the icon?