add public key when generating addresses for bounty #44

implements https://assembly.com/assemblycoins/bounties/44