我确信可以使用msg.sender和nonce确定合同地址。我读到他们在python https://ethereum.stackexchange.com/questions/760/how-is-the-address-of-an-ethereum-contract-computed/47083#47083中使用了RLPEncoding。但我不确定如何做到这一点。
function createAddress(address creator, bytes nonce) public returns(address conractAdd) {
//SomeBody help me writing this part
}