Skip to content

Document how to deploy UniswapV4 hooks #73

@RaoulSchaffranek

Description

@RaoulSchaffranek

UniswapV4 hooks encode hook permissions as part of the deployment address. This means that the addresses for hook contracts must be mined. The mining process is computationally too expensive to run as part of a test setup. We've figured out a workaround using vm.etch - but this should be documented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions