Closed friedger closed 1 year ago
Yes please, big +1
+1 (we have the demand!)
What should the UI look like? Should the preview just show the address and the name?
Assigning @landitus to design
Interesting comment here: https://twitter.com/axopoa/status/1519572653278908417
I think we will need a autorenewal service for BTC names. Because it can be very dangerous if someone renews a name you own before you do.
From @kyranjamie:
Would be a great feature, but it isn't entirely trivial. We need to consider homoglyph attacks: I could buy bruffstаr.btc (Cyrillic letter а). We need to show address still in UI and warn against dodgy chars, similar to how vscode does
homoglyph attacks are not possible because names are limited to a-z, 0-9 and - and _
That does indeed limit the scope. We should still use a clear display type, so Oliver.btc is visibly different to OIiver.btc (capital i not L).
That does indeed limit the scope. We should still use a clear display type, so Oliver.btc is visibly different to OIiver.btc (capital i not L).
only lower case letters are allowed in BNS names
+1 for BNS names in recipient fields.
A blocker is still https://github.com/hirosystems/stacks-blockchain-api/issues/1333
A blocker is still hirosystems/stacks-blockchain-api#1333
does not need to be a blocker, you can use the NFT history endpoint (gamma does this)
see https://discord.com/channels/621759717756370964/909867922971820102/1033008587804520459
yes, you can use the NFT history endpoint but you'll have to provide the name Clarity encoded. This is an example for eliherf.stacksparrot: https://stacks-node-api.mainnet.stacks.co/extended/v1/tokens/nft/history?asset_identifier=SP000000000000000000002Q6VF78.bns::names&value=0x0c00000002046e616d650200000007656c6968657266096e616d657370616365020000000c737461636b73706172726f74
does not need to be a blocker, you can use the NFT history endpoint (gamma does this)
How do we reach all developers to switch from one api endpoint to the other? Seems not an option
Currently, bns names are not accepted as recipients
Expected behaviour Allow to enter a bns name in preview and show the resolved address + bns name in final screen