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.
- Host: GitHub
- URL: https://github.com/shekohex/orehub
- Owner: shekohex
- License: unlicense
- Created: 2024-08-21T21:03:49.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-04T20:48:17.000Z (about 1 year ago)
- Last Synced: 2025-11-24T00:19:30.728Z (6 months ago)
- Language: Rust
- Size: 779 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/).