Skip to content

SocketDotTech/socket-gateway-verifier

Repository files navigation

Socket Gateway Verifier lib

This library is used to verify the socket gateway connection and return common verifirable data.

 struct SocketRequest {
        uint256 amount;
        address recipient;
        uint256 toChainId;
        address token;
        bytes4 signature; // function signature used
    }

    struct UserRequest {
        uint32 routeId;
        bytes socketRequest;
    }

example verifiers can be found in the src/bridges folder

Installation

forge install

Tests

forge test -vvvv

Example Usage

  • example usage can be found in test SocketVerifier.t.sol

All rights reserved.# socket-gateway-verifier

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published