I have seen the question of TRC and BTC addressing in a couple of threads. Both BTC and TRC use the same address version which means addresses on both chains are valid on the other chain. If you have the address in one chains wallet, you also have the private key to that address and you can use that key pair on the other chains wallet. I will demonstrate how to dump private keys and import them.
You can also use a program called "vanitygen" to try and generate custom addresses.
Using either the command line daemon or using the console in the GUI (QT) version of either the BTC or TRC client:
Pick the address you want to use. If using the command line use [getaccountaddress <account name>] to acquire the address from account name if needed.
getaccountaddress test
1K4QedomXZGvbhSFV5MDf3rkb376seeugU
To extract the private key to the above address use the [dumpprivkey <address>] command.
dumpprivkey 1K4QedomXZGvbhSFV5MDf3rkb376seeugU
L3PjkDLhzMuPFMu1oEyqyvergjRLSyc5YNVH1QGZg95jNNMUnFtv
Switch over to the client you want to import the address into. Use the [importprivkey <privatekey> [label] ]. Label is optional but using it to name accounts makes life much easier when using the command line version. After running the command, the client will not give any feedback (older client versions would actually give a fake error message).
importprivkey L3PjkDLhzMuPFMu1oEyqyvergjRLSyc5YNVH1QGZg95jNNMUnFtv
Thats it, you should now have the use of the same address in both chains.
If not using the GUI version you can list addresses with [getaccountaddress <account> ]
getaccountaddress test
1K4QedomXZGvbhSFV5MDf3rkb376seeugU
Vanitygen is located at:
https://github.com/samr7/vanitygen.gitAfter installing vanitygen you can import the private keys it generates to use your own custom addresses.
One little talked about option with vanitygen is the ability to use different address versions in order to generate addresses for other chains.
For example: PPC address version is 55 (Decimal). Using the -X switch I can generate PPC addresses.
vanitygen -X 55 PP123
Difficulty: 4553521
Pattern: PP123
Address: PP123ejYoxefhZkCT1tUgRvMkAT3VgfNT4
Privkey: 79eBxBYKymHAQBxnu3nz98CTLRUSKThvuzyUX2L6yt5D5Ci1xb2
ADD: The Base58.h file will need to be patched and PPCoin recompiled to import private keysDo not forget about oclvanitygen, it allows you to use your GPU to generate addresses.
Note: All addresses and keys used in this post were made on fresh wallets and deleted afterwards. DO NOT USE any of the address or keys in this post as the pairs are now public information.