Skip to content

Pier-Two/Lantern.Beacon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lantern.Beacon

Lantern.Beacon is a .NET library that allows lightweight verification of Ethereum's consensus, built using Libp2p and Discv5.

Installation

Note: These instructions assume you are familiar with the .NET Core development environment. If not, please refer to the official documentation to get started.

  1. Install .NET Core SDK on your system if you haven't already.

  2. Clone the repository:

    git clone https://github.com/Pier-Two/Lantern.Beacon.git --recursive
  3. Change to the Lantern.Beacon directory:

    cd Lantern.Beacon
  4. Build the project:

    dotnet build
  5. If you are using Linux, run the following commands before executing the tests:

    For Debian/Ubuntu-based distributions:

    sudo apt-get update && sudo apt-get install -y libc6-dev
    
    sudo ln -s /lib/x86_64-linux-gnu/libdl.so.2 /lib/x86_64-linux-gnu/libdl.so

    For Red Hat-based distributions (such as Fedora or CentOS):

    sudo yum install glibc-devel
    
    sudo ln -s /usr/lib64/libdl.so.2 /usr/lib64/libdl.so

    For Arch Linux:

    sudo pacman -Sy glibc
    
    sudo ln -s /usr/lib/libdl.so.2 /usr/lib/libdl.so
  6. Execute tests:

    dotnet test

Usage

To integrate this library in a C# project, please refer to the GitBook documentation.

Contributing

We welcome contributions to this library. To get involved, please read our Contributing Guidelines for the process for submitting pull requests to this repository.

License

This project is licensed under the MIT License.

About

A .NET implementation of light client sync protocol for Ethereum.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages