Skip to main content

ERC721RouterSDK

The ERC721 SDK module allows to interact with the ERC721 bridge, which uses the messaging protocol to send messages from one chain’s bridge contract, to other chains’ bridge contracts.

The module is organized in an ERC721RouterSDK abstract class that serves as a base for the creation of different specific SDKs subclasses per chain type.

This class contains methods to allow starting a bridging operation of ERC721 tokens, claiming it on the target chain, checking whether a transmission is valid for this dapp, etc. Many of these methods are abstract, and have been overridden in the specific subclasses. This allows a more agnostic of the chain type usage from the developer consuming the SDK.

In summary, ERC721RouterSDK provides a generic structure and some common functionality that will be necessary for the specific chain-type subclasses SDK, while also defining a set of methods and functionality that is generic to all chain types.