A research implementation of Strata Bridge by your friends at Alpen Labs.
Important
The majority of this code was written in a two-week period in a hackathon spirit. This software was written as a research proof of concept, and is not meant to be used in a production environment!
The following is the transaction graph that has been implemented in this repository:
The transaction graph for this repository, focussing on the non-optimistic path.The following is the system diagram for this repository:
The system diagram for this repository.- cargo.
- SP1 Toolchain and associated linkers.
- Credentials to connect to SP1's infra.
- Docker.
sqlx-cli
to run database migrations.
Run the Strata stack (strata-client
, strata-reth
, bitcoind
) as per the instructions
in the strata
repository. Then run:
make migrate
PROFILE=release make run
In order to perform deposits and withdrawals, you can run:
make bridge-in
make bridge-out
The above Makefile
recipes have defaults for strata-client
and bitcoind
.
Contributions are generally welcome. If you intend to make larger changes, please discuss them in an issue before opening a PR to avoid duplicate work and architectural mismatches.
For more information please see CONTRIBUTING.md
.
This work is dual-licensed under MIT and Apache 2.0. You can choose between one of them if you use this work.