sia-leaderboard

command module
v0.0.0-...-8680b8c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2017 License: MIT Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Sia Leaderboard

This repo contains the code that powers the Sia Leaderboard.

Prerequisites

Go, npm

Structure

The backend code that powers the leaderboard is included in the top-level directory. The frontend is written in react and resides in frontend/.

Running

A running siad node is a preqrequisite for running a leaderboard, since the leaderboard must verify contracts. Download the applicable Sia release and run siad.

To run your own leaderboard, clone this repo, then build the frontend by doing the following:

cd frontend
npm run build-production

Once the frontend is built, compile and run the Sia-Leaderboard binary from the root of the repo:

go build .
./Sia-Leaderboard

The leaderboard will be served on :8080 and will persist its data to leaderboard.db.

License

The MIT License (MIT)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址