New answers tagged

1

go-ethereum have a function for this https://pkg.go.dev/github.com/ethereum/go-ethereum/crypto?tab=doc#CreateAddress2 func CreateAddress2(b common.Address, salt [32]byte, inithash []byte) common.Address Where b is the factory, salt the salt used, inithash is your init data hash. You can calculate inithash like that func getInithash(contractABI, contractBin ...


Top 50 recent answers are included