Questions tagged [address-verification]

Questions about Monero address format, length, checksum and validity.

11 questions
19
votes
2 answers

Why are Monero addresses so long?

A raw Monero address is 95 characters long compared to 26-34 characters for a Bitcoin address. Monero integrated address are even longer at 106 characters. What is the cryptographic reason that causes Monero addresses to be so much longer than…
K Chan
  • 731
  • 6
  • 15
14
votes
5 answers

How to perform a simple verification of a Monero address with a regular expression?

For people that want to do a simple verification of a Monero address to ensure it has been entered correctly, what are some methods that can be employed?
ferretinjapan
  • 6,494
  • 2
  • 20
  • 47
13
votes
2 answers

What do Monero addresses have in common?

Monero addresses are very long and are supposed to be random, but I have noticed that all of them start with the number 4. Are there any other similarities shared by all Monero addresses?
sgp
  • 8,836
  • 7
  • 43
  • 113
10
votes
2 answers

How can I check if a Monero address is valid?

Handling a user's input in which I want to make sure that he used a valid monero address. Bitcoin has all these rules found here and I found something similar for ethereum as well. I was wondering if Monero has some general rules I can be checking…
3
votes
2 answers

How to programatically validate Monero address

When withdrawing with BTC this line of code checks for empty wallet and a false wallet addresses and aborts the withdrawal if either are detected. I have the empty part working for XMR what would I use for the actual address…
3
votes
1 answer

Aeon support at https://xmr.llcoins.net/

According to a message found on the https://xmr.llcoins.net/ website: Only XMR is fully supported by this site. Use at your own risk, there is no warranty, etc. Despite this warning message, in addition to XMR addresses (standard, testnet,…
cooldude45
  • 824
  • 7
  • 18
2
votes
1 answer

Sent monero to the wrong address

I know that if I transfer moneroj to an incorrect but otherwise valid address, I will lose my moneroj. So I am wondering: What is the likelihood that a 95-character string corresponds to a valid monero address? If the address is invalid, will I…
assylias
  • 2,218
  • 12
  • 28
2
votes
2 answers

Monero address validation using Java

I wonder if there is a Java implementation of Monero addresses validation code somewhere? I've found this JS implementation which seems to work well: https://github.com/ognus/wallet-address-validator/blob/master/src/monero_validator.js and, an…
electrotype
  • 123
  • 4
1
vote
1 answer

Monero address prefix creation algorithm

As I read in the monerobook: uint64_t const CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX = 18; Monero's main network uses '18' to indicate a primary address (this is why Monero primary addresses begin with a '4,' which is the ASCII representation). but…
1
vote
1 answer

Missing 1 character in Monero address generation from a seed using Javascript

I have an interesting one off case with a Monero address generation where I am generating a 94 character Monero address vs 95 characters. However when I take the private_spend_key and run it through the monero_wallet_cli I get the full 95…
0
votes
1 answer

Verify transaction was sent by known public address

Is there a way to check/verify if a transaction was sent by a specific known public address? Thanks for your help!