Skip to content

eugenvoronov/XBridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XBridge EVM Smart Contracts

XBridge is an advanced cross-chain messaging protocol designed to enable seamless, secure, and efficient communication between diverse blockchain networks. By serving as a bridge for interoperability, XBridge allows developers to extend decentralized applications (dApps) beyond the limitations of individual blockchains.

This repository contains the essential smart contracts for integrating EVM-compatible networks with the XBridge cross-chain messaging protocol.

Core Components

  • Router – Manages message transmission and reception. XBridge Validators monitor Router events, reach consensus, and generate proofs for cross-chain message validation.
  • XBridgeApp – Simplifies cross-chain application development by abstracting Router interactions and standard processes. It implements the IXBridgeReceiver interface to handle incoming messages seamlessly.
  • ECDSAVerifier – Authenticates ECDSA signatures generated by XBridge Validators for both individual and batched cross-chain messages. This contract implements IXBridgeVerifier for standardized signature verification and IXBridgeFees for calculating cross-chain messaging fees.

Example Implementations

The examples directory includes:

  • PingPong – Showcased in the Build My First XBridge App tutorial, demonstrating fundamental message transmission and reception using XBridge.
  • CrossChainSwap – A basic cross-chain swap implementation, illustrating how to send and receive messages across networks via XBridge.

Testing & Deployment

This repository also includes comprehensive tests to verify contract functionality, along with scripts to streamline contract deployment and interaction.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published