Trustless cross-chain swap protocol for Bitcoin and Ethereum
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.
To install the required dependencies on Ubuntu, run:
sudo apt update
sudo apt install build-essential pkg-config libssl-dev git-lfs clangFor macOS, you can install the dependencies using Homebrew:
brew install pkg-config opensslEnsure you have the following tools installed:
From source here
Alternatively, the devnet is packaged as a Docker image:
docker run -it -p 50101:50101 -p 50100:50100 riftresearch/devnet:latest