Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 2.71 KB

README.md

File metadata and controls

23 lines (14 loc) · 2.71 KB

ERCRefDeployer

A deployer using Create2 to deploy contracts at a deterministic address.

Currently deployed on 0x00000006DB0308e67743930BBC98E34b5421Eb82 of

To Deploy to your Network

  1. Make sure there is a Nick's Deterministic Factory deployed on your network at the 0x4e59b44847b379578588920ca78fbf26c0b4956c. You can find the code here

  2. Obtain some native coin (e.g. ethers for Ethereum Mainnet) in your EVM network.

  3. Send a TX to this address 0x4e59b44847b379578588920ca78fbf26c0b4956c with this hex data

0x101aa091bc35184531f5b00435ad5b0ed48530f82e31a589edd1dd209e95f9b5608060405234801561001057600080fd5b50610302806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063a425c82114610030575b600080fd5b61004a60048036038101906100459190610214565b610060565b60405161005791906102b1565b60405180910390f35b600080828451602086016000f59050803b61007a57600080fd5b8091505092915050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6100eb826100a2565b810181811067ffffffffffffffff8211171561010a576101096100b3565b5b80604052505050565b600061011d610084565b905061012982826100e2565b919050565b600067ffffffffffffffff821115610149576101486100b3565b5b610152826100a2565b9050602081019050919050565b82818337600083830152505050565b600061018161017c8461012e565b610113565b90508281526020810184848401111561019d5761019c61009d565b5b6101a884828561015f565b509392505050565b600082601f8301126101c5576101c4610098565b5b81356101d584826020860161016e565b91505092915050565b6000819050919050565b6101f1816101de565b81146101fc57600080fd5b50565b60008135905061020e816101e8565b92915050565b6000806040838503121561022b5761022a61008e565b5b600083013567ffffffffffffffff81111561024957610248610093565b5b610255858286016101b0565b9250506020610266858286016101ff565b9150509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061029b82610270565b9050919050565b6102ab81610290565b82525050565b60006020820190506102c660008301846102a2565b9291505056fea26469706673582212203fb804f910d091ef41072e615dd46be1fbe316dfaf7a6641bd2d8e44393ec96764736f6c63430008110033

  1. Wait for the TX to be included and you will get the address of the deployed contract.