leather-io / extension

Leather browser extension
https://leather.io
MIT License
295 stars 141 forks source link

Add BRC-20 as token option in receive modals #3674

Closed 314159265359879 closed 2 months ago

314159265359879 commented 1 year ago

Should we add BRC20 to this list? under tokens? with the taproot address?

image

mica000 commented 1 year ago

Wasn't this already done by @fbwoolf?

@markmhx I dont think we need to pass this through design? It seems to be just a matter of duplicating the row in the front end plus the icon for BRC020

markmhendrickson commented 1 year ago

I believe she added an option for Stamps but not BRC-20 yet

314159265359879 commented 1 year ago

Or do we want to adapt the line "Ordinal inscriptions" to "Ordinals and BRC-20" instead? Just like Xverse does.

image

314159265359879 commented 1 year ago

We need this @markmhx users are sending BRC-20 to the "Token" address bc1q... now

markmhendrickson commented 1 year ago

@alter-eggo let's add a row below "Bitcoin" under "Tokens" for "BRC-20 tokens" that displays the same Taproot address as the Ordinals option, and presents both the "Copy to clipboard" option and "QR code" one

mica000 commented 1 year ago

@markmhx @314159265359879 @alter-eggo

Design proposal for receiving asset: https://www.figma.com/file/Li7qK8ZIG9c5dKSNOPO4iCtv/%E2%9D%96-Design-System?type=design&node-id=4655-30582&t=uUQ9MklaRSHARuta-4

Design proposal for receiving collectible: https://www.figma.com/file/Li7qK8ZIG9c5dKSNOPO4iCtv/%E2%9D%96-Design-System?type=design&node-id=4655-53732&t=uUQ9MklaRSHARuta-4

markmhendrickson commented 10 months ago

Even better here would be to list all known BRC-20 tokens by popularity so the user can receive a particular one vs. seeing a generic "BRC-20" deposit option

314159265359879 commented 10 months ago

Even better here would be to list all known BRC-20 tokens by popularity so the user can receive a particular one vs. seeing a generic "BRC-20" deposit option

What users expect based on Ethereum wallets is that they have to permit a token to show. I believe we'll have to move to a similar model.

I am not sure if you want to cover that all with this enhancement. might be better to have a separate enhancement to cover permissions to show tokens.

markmhendrickson commented 2 months ago

Resolved

Image