I need depending on the address to assign a value of the transaction. Both at the level of php distinguish btc ltc from ppc?

  • Can you explain a little more what you are trying to achieve? All use different addressing guidelines and their address;s are usually easy to tell apart, aside from that if your writing php to interact with them then you will be using the RPC interface most likely which will need a separate instance for each currency.
    – hafnero
    May 22 '14 at 2:06
  • A Bitcoin address always start with 1 or 3.
  • A [Litecoin] address always starts with the letter L.
  • A Peercoin address starts with the letter P.

Assuming you can figure out how to check the first character in php, you can distinguish between different addresses. Then you can program whatever value you want into the transaction. Good luck!

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