Skip to content

riftresearch/protocol

Repository files navigation

Rift Protocol Monorepo

Trustless cross-chain swap protocol for Bitcoin and Ethereum

Highlights:

  • bitcoin-light-client-core: Circuit validating Bitcoin consensus within an MMR-based light client.
  • rift-core: Circuit handling Bitcoin<>Ethereum order settlement and light client state updates.
  • contracts: Solidity smart contracts for handling auctions, orders, and light client state.
  • hypernode: Bitcoin and Ethereum indexer that generates swap proofs, settles challenged proofs, and detects and removes orphan blocks submitted to the light client.

Dependencies

Ubuntu

To install the required dependencies on Ubuntu, run:

sudo apt update
sudo apt install build-essential pkg-config libssl-dev git-lfs clang

macOS

For macOS, you can install the dependencies using Homebrew:

brew install pkg-config openssl

Prerequisites

Ensure you have the following tools installed:

Run Devnet

From source here

Alternatively, the devnet is packaged as a Docker image:

docker run -it -p 50101:50101 -p 50100:50100 riftresearch/devnet:latest

About

Rift Protocol Monorepo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •