Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement simple hyperlane intent arbiter #1

Merged
merged 9 commits into from
Nov 21, 2024
Merged

Implement simple hyperlane intent arbiter #1

merged 9 commits into from
Nov 21, 2024

Conversation

yorhodes
Copy link
Collaborator

@yorhodes yorhodes commented Nov 19, 2024

Implements an arbiter on Hyperlane for simplified user intent:

struct Intent {
    uint256 fee;
    uint32 chainId;
    address token;
    address recipient;
    uint256 amount;
}

Currently only supports single endpoint claim(ClaimWithWitness).

It should be straightforward to augment this with 7683 witness data in future.

Naively requires filler to pass claim data that gets relayed in settlement message -- in future can leverage CCIP Read and the Hyperlane CCIP Read ISM supported by the relayer to fetch this offchain data.

Introduces NPM (via yarn) dependencies and node_modules remappings due to hyperlane monorepo not working nicely as a forge dependency.

Copy link

socket-security bot commented Nov 19, 2024

Report is too large to display inline.
View full report↗︎

Next steps

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

@yorhodes yorhodes changed the title Add npm and hyperlane/core dependency Implement hyperlane arbiter Nov 19, 2024
@yorhodes yorhodes changed the title Implement hyperlane arbiter implement hyperlane arbiter Nov 19, 2024
@yorhodes yorhodes changed the title implement hyperlane arbiter [WIP] implement hyperlane arbiter Nov 19, 2024
Copy link

Report too large to display inline

View full report↗︎

@yorhodes yorhodes changed the title [WIP] implement hyperlane arbiter implement hyperlane arbiter Nov 20, 2024
@yorhodes yorhodes changed the title implement hyperlane arbiter Implement hyperlane simple intent arbiter Nov 20, 2024
@yorhodes yorhodes marked this pull request as ready for review November 20, 2024 23:28
@yorhodes yorhodes requested a review from 0age November 20, 2024 23:28
@yorhodes yorhodes changed the title Implement hyperlane simple intent arbiter Implement simple hyperlane intent arbiter Nov 20, 2024
@0age 0age merged commit 2e46e4a into main Nov 21, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants