8

I have 2 questions:

1) how to unpack a Monero integrated address without the wallet RPC (just using common Linux utilities on the command line)? I couldn't find the format of the integrated address (or I didn't search enough)...

2) if I send some XMR to an "unpacked" integrated address, explicitly using the payment_id, it's the same as sending directly to the integrated address, right? I ask because Tux exchange just added XMR with integrated address, but other exchanges don't support withdrawals to an integrated address (Hitbtc for example returns an error).

My idea is to unpack the integrated address and send the old way (using the payment id).

Thank you!

2 Answers 2

5

Monero addresses are constructed using a particular encoding based on base58, so they aren't unpackable using standard Linux tools.

However, if you're using Monero, then you are probably using simplewallet (now known as monero-wallet-cli), which has a command (integrated_address) that will decode an integrated address to its constituent address and payment id. It also has a matching RPC call (split_integrated_address) if you want to do this programmatically.

Note that there is a difference between sending with an integrated address and with a plain standard address: integrated addresses use a newer short payment id, which is encrypted on the blockchain. Sending with a plain standard address uses the longer payment id form, which is not encrypted on the blockchain.

On RPC return, short payment ids are represented padded with zeroes to the size of full length payment ids.

1
  • Ok, I managed to right "pad" the payment-id with zeroes. It worked. Thank you! Oct 6, 2016 at 20:30
8

This site helped:

https://xmr.llcoins.net/addresstests.html

The relevant code is here:

https://xmr.llcoins.net/js/site.js

on function addrCheck().

2
  • If I add an integrated address in box 8, is one of the other boxes the payment ID? Jan 6, 2018 at 16:31
  • Note, you have to have your Javascript console open to see all of the errors, e.g. if you test 40aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa12O and want to see the error generated by that capital o.
    – Adam Katz
    Dec 17, 2018 at 16:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.