An open API service indexing awesome lists of open source software.

https://github.com/shekohex/orehub

Orehub is a Peer to Peer mining pool built as a sidechain (L2) using Substrate framework.
https://github.com/shekohex/orehub

Last synced: 3 months ago
JSON representation

Orehub is a Peer to Peer mining pool built as a sidechain (L2) using Substrate framework.

Awesome Lists containing this project

README

          

# OreHub Node

OreHub Node is a Polkadot SDK based blockchain node that is designed to be a decentralized Mining Pool for the [Ore](https://ore.supply) cryptocurrency.

## Project Structure

A Polkadot SDK based project such as this one consists of:

* ๐Ÿ’ฟ a [Node](./node/README.md) - the binary application.
* ๐Ÿงฎ the [Runtime](./runtime/README.md) - the core logic of the blockchain.
* ๐ŸŽจ the [Pallets](./pallets/README.md) - from which the runtime is constructed.

## Getting Started

* ๐Ÿฆ€ The project is using the Rust language.

* ๐Ÿ‘‰ Check the
[Rust installation instructions](https://www.rust-lang.org/tools/install) for your system.

* ๐Ÿ› ๏ธ Depending on your operating system and Rust version, there might be additional
packages required to compile this template - please take note of the Rust compiler output.

### Build

๐Ÿ”จ Use the following command to build the node without launching it:

```sh
cargo build --package orehub-node --release
```

๐Ÿณ Alternatively, build the docker image:

```sh
docker build . -t orehub
```

### Single-Node Development Chain

๐Ÿ‘ค The following command starts a single-node development chain:

```sh
./target/release/orehub-node --dev

# docker version:
docker run --rm orehub --dev
```

Development chains:

* ๐Ÿงน Do not persist the state.
* ๐Ÿ’ฐ Are pre-configured with a genesis state that includes several pre-funded development accounts.
* ๐Ÿง‘โ€โš–๏ธ One development account (`ALICE`) is used as `sudo` accounts.

### Connect with the Polkadot-JS Apps Front-End

* ๐ŸŒ You can interact with your local node using the
hosted version of the [Polkadot/Substrate
Portal](https://polkadot.js.org/apps/#/explorer?rpc=ws://localhost:9944).

* ๐Ÿช A hosted version is also
available on [IPFS](https://dotapps.io/).

* ๐Ÿง‘โ€๐Ÿ”ง You can also find the source code and instructions for hosting your own instance in the
[`polkadot-js/apps`](https://github.com/polkadot-js/apps) repository.

## Getting Help

* ๐Ÿง‘โ€๐Ÿซ To learn about Polkadot in general, [Polkadot.network](https://polkadot.network/) website is a good starting point.

* ๐Ÿง‘โ€๐Ÿ”ง For technical introduction, [here](https://github.com/paritytech/polkadot-sdk#-documentation) are
the Polkadot SDK documentation resources.

* ๐Ÿ‘ฅ Additionally, there are [GitHub issues](https://github.com/paritytech/polkadot-sdk/issues) and
[Substrate StackExchange](https://substrate.stackexchange.com/).