mouseless-eth/rusty-sando

metamorphic contracts

Closed this issue · 3 comments

Hi,

Sorry for this but can someone explain how can i get this done? im asking because there is a lack of documentation in this

"Fill in the searcher address in Huff contract and deploy either straight onchain or via create2 using a metamorphic like factory."

Cionn3 commented

You can use Keyless Create2 Factory to deploy the huff contract.

Install huff compiler curl -L get.huff.sh | bash

Get the contracts bytecode with huffc src/sando.huff --bytecode

Copy the contracts bytecode and use it to uploaded with the SafeCreate2 method, you can use this nodejs script https://github.com/Cionn3/create2-factory-contract-deploy

Make sure you run the huff compiler from the contracts folder

is this an alternative method to using metamorphic factory?

Cionn3 commented

i think basically its the same thing, you can also find more info here: https://github.com/0age/metamorphic