Post
Topic
Board Announcements (Altcoins)
Re: [ANN]X-CASH | First CNv8 based coin with public & private transactions
by
Zach_H-X-CASH
on 10/06/2019, 00:05:53 UTC
The only way to decode an XCB address now is to open an rpc wallet for your wallet
Code:
./xcash-wallet-rpc --wallet-file WALLET_NAME --password PASSWORD --rpc-bind-port A_RANDOM_PORT --confirm-external-bind --daemon-port 18281 --disable-rpc-login --trusted-daemon

then issue this command using curl
Code:
curl -X POST 127.0.0.1:18285/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"split_integrated_address","params":{"integrated_address": "THE XCB ADDRESS"}}' -H 'Content-Type: application/json'

which will give you back the payment ID and the XCA address

I have the reverse on the explorer
https://explorer.x-cash.org/CreateIntegratedAddress

but did not see a need for the the decoding until now, so in the next update I will add the decode integrated address