returning contract address from web3.eth.transact

i've just switched to the POC 8 release, using AlethZero, for the (crowdfunding) dapp i'm working on. i have the following code:
var code = web3.eth.solidity(src); var addr = web3.eth.transact({code: code}); console.log(addr);
the contract is created ok but nothing is logged to the console (i was expecting the contract address). the [JavaScript API doc]( also suggests I could use a callback as the second argument to transact(), but isn't supported either. How do I determine the address of the contract I just created?


Sign In or Register to comment.