RigoBlock / contracts

[DEPRECATED] directory of our contracts
Apache License 2.0
1 stars 0 forks source link

find out how to create predictable contract address #16

Closed gabririgo closed 6 years ago

gabririgo commented 6 years ago

being able to create a predictable contract address could potentially help us sign transactions offchain and sending them as signed by the contract to 0x

using the following base as reference: https://blog.aragon.one/advanced-solidity-code-deployment-techniques-dc032665f434

gabririgo commented 6 years ago

contract address can be predictable, but the creation has one known component and one component which changes over time. The contract address cannot be same as the user account address. Furthermore, even if it were possible, it is not a robust solution, as when the owner of the fund gets changed, at that point the addresses would be different