question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blockstack ID identity address should not look like a bitcoin address

See original GitHub issue

Blockstack ID owner addresses are bitcoin addresses. These owner addresses secure the user’s ID and own their username when they add one.

These addresses are user-visible in the browser interface.

I’m concerned that users will try to send bitcoin to them inadvertently - they might think that their wallet is the same address as the address on the Blockstack ID.

While we could retrieve the money since the private key of that address is derived from their secret recovery key, we don’t have that functionality at the moment and probably want to avoid this type of confusion.

@yknl @guylepage3 @shea256 and I discussed a couple ways of doing this.

  1. Appending the letter b to the address - we would then remove the b when using the address in the system
  2. Using a different network version for the address (so that the address wouldn’t start with the same character as a mainnet bitcoin address)
  3. Displaying the public key hash

Since this touches the entire system, it would be great have input from the whole community before making such a change. I would love to hear your thoughts!

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:1
  • Comments:21 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
markmhxcommented, Dec 24, 2018

I’m reopening this issue since although we did start prepending ID- to identity addresses, there appears to be lingering concern in this comment thread that it wasn’t a satisfactory solution.

I also have two particular concerns about how we’re currently showing the address in the browser:

  1. As a developer, using that prefix causes confusion as to the actual value of the identity address. In the browser, I see ID-1789gBX7w1XFPeG5SFKkbfsUbrHvnTvYRC but blockstack.js returns 1789gBX7w1XFPeG5SFKkbfsUbrHvnTvYRC as part of the user data object. Had I not coincidentally found this issue or otherwise noticed the discrepancy, I could easily have assumed that the ID- prefix either was or wasn’t part of the value.
  2. It’s not clear to me why we even show the identity address at all in the browser UI (or anywhere else user-facing). Per @dantrevino’s suggestion, wouldn’t it be best to just remove it from display? We’re encouraging users to register names, which are much more usable in general. I’m not even aware of what a user would do with their identity address alone. And showing anything code-like is bound to scare non-technical users.
2reactions
yknlcommented, Jan 17, 2018

What if we gave everyone a free subdomain on blockstack.id like:

1FfmbHfnpaZjKFvyi1okTjJJusN455paPH.blockstack.id

And just display that in the profile?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Blockstack ID identity address should not look like a bitcoin ...
Blockstack ID owner addresses are bitcoin addresses. These owner addresses secure the user's ID and own their username when they add one.
Read more >
Blockstack id and default bitcoin address - Identity - Stacks Forum
I see my (default) bitcoin address but I cannot find/calculate it from that mnemonic/master key. What is the hd path used for the...
Read more >
End-to-End Blockstack Identity and Profile Management
When you use the CLI to register a name, like danvk.id , you must pay approximately .002 bitcoin to a Blockstack address. As...
Read more >
How I built an Ethereum wallet on Bitcoin with 3 lines of code
Each of the user's Blockstack IDs is uniquely identified by a bitcoin address, known as the identity address, derived from this keychain.
Read more >
Glosarium | Stacks Docs
A deprecated application for accessing identity and storage. Blockstack Owner Address​. Looks like a bitcoin address but starts with ID for example: ID- ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found