Skip to content

Ethereum sidechain implementation based on geth.

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

LayerTwo-Labs/ethereum-sidechain

Go Ethereum sidechain

Implementation of an Ethereum sidechain for Bitcoin, using Drivechain (BIP300/301).

Dependencies

The following things are needed before you can build this project. Obtaining them is left as an excercise to the reader.

  1. Rust (cargo). The project uses a Drivechain library written in Rust.
  2. C compiler. Needed for using the compiled Rust bindings.
  3. Go.
  4. make

Getting started

$ make sidegeth

# Tweak these values as needed
$ ./build/bin/sidegeth \
      --main.host=localhost    --main.user=user \
      --main.password=password --main.port=18443

Windows

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:

  1. Install dependencies using Chocolatey: choco install golang make rust mingw
    In case you're wondering, mingw is a GNU distribution for Windows.
  2. Download MSYS2
    This gives you (among other things) a working bash shell for Windows.
  3. Clone, compile and install dlfcn-win32. This is a dependency for the Rust Drivechain library.
    1. Clone the repo
    2. Open up a bash shell (NOT through WSL, but native Windows bash from MSYS2)
    3. Build the library: ./configure --prefix=/ --libdir=$PWD/libdir --incdir=$PWD/incdir && make
    4. Install the library by placing ./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.
  4. Build: make sidegeth

About

Ethereum sidechain implementation based on geth.

Topics

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •