Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to send to Bitcoin addresses #24

Open
mctrivia opened this issue Apr 6, 2021 · 2 comments
Open

Possible to send to Bitcoin addresses #24

mctrivia opened this issue Apr 6, 2021 · 2 comments

Comments

@mctrivia
Copy link

mctrivia commented Apr 6, 2021

DigiByte has 3 address formats.
2x Base58 addresses starting with D and S and 1 bech32 format starting with dgb1

The wallet though also currently also allows sending to Base58 addresses starting with 3. This should be blocked to prevent accidental sending to Bitcoin addresses.

I know addresses starting with 3 use to exist but they where all remapped to addresses starting with S when the header was changed and the private keys still all work with the new address. On the rare unlikely chance someone has a paper wallet with the address starting with 3 printed on it any wallet that supports sweeping will still be able to sweep the funds out irregardless of the address header and the proper new address can still easily be calculated by replacing the header and recompiling the checksum. https://chainz.cryptoid.info/dgb/ even does this automatically if you enter one of these addresses.

@idanzam
Copy link

idanzam commented Oct 11, 2024

Nop..

U cant do it, its different cryptocurrency,
with different core, different explorer, different address.

@mctrivia
Copy link
Author

@idanzam go ahead and try it. Here is a random Bitcoin address I picked from a recent block

37jKPSmbEGwgfacCr2nayn1wTaqMAbA94Z

send a small amount of DigiByte to this address. Core wallet should not let you do it because it is an invalid DigiByte address but because of this bug it will. The funds will show up in

STLJVk4JQjpW6ihEGN7573oZxqn4MWWjEC

which is a valid DigiByte address.

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

No branches or pull requests

2 participants