Implementation of an Ethereum sidechain for Bitcoin, using Drivechain (BIP300/301).
The following things are needed before you can build this project. Obtaining them is left as an excercise to the reader.
cargo
). The project uses a Drivechain library written in Rust.make
$ make sidegeth
# Tweak these values as needed
$ ./build/bin/sidegeth \
--main.host=localhost --main.user=user \
--main.password=password --main.port=18443
If you're on Windows, things are more complicated. The first step here is to reevaluate your choices, and use a proper OS. If you still insist on using Windows, do this:
choco install golang make rust mingw
mingw
is a GNU distribution for Windows. bash
shell for Windows. dlfcn-win32
. This
is a dependency for the Rust Drivechain library.
bash
shell (NOT through WSL, but native Windows bash
from MSYS2)./configure --prefix=/ --libdir=$PWD/libdir --incdir=$PWD/incdir && make
./libdir/libdl.a
somehere ld
can find it. One such
location can be C:\ProgramData\mingw64\mingw64\lib
, but who knows if this is a horrible
idea. This guide was written by a Windows noob.make sidegeth