#cli #node #polkadot #tooling #deploy

app polkahub

polkahub cli for easier blockchain deployment

5 releases

0.3.0 Feb 5, 2020
0.2.6 Dec 30, 2019
0.2.5 Dec 30, 2019
0.2.2 Dec 19, 2019
0.2.1 Dec 18, 2019

#564 in Authentication

21 downloads per month

MIT license

640 lines


v Web3 sponsored

!Status: Active WIP!

polkahub cli for easier blockchain deployment.


MacOS/Linux: none.
Windows: docker utility installed


On Windows machine you better use it through pre-compiled docker image like this:

docker run --rm -u`id -u`:`id -g` -ti -v $HOME/.polkahub:/tmp/home -e POLKAHUB_HOME=/tmp/home registry.polkahub.org/polkahub-cli:v2 <action> [ARGS]

MacOS / Linux


Option 1: install with script
bash <(curl http://get.polkahub.org/ -L)

This will install polkahub binary in your /usr/local/bin(MacOS) or /usr/bin(Linux) directory

Option 2: if you are a Rust developer you probably already have cargo installed, so just add it to cargo index
cargo install polkahub


Depending on how you installed it you go either just polkahub or cargo polkahub in the next step and you can create repo for your chain. To explore all the options run:

(cargo) polkahub --help

Build from source

If you want to build your own binary from source, you are welcome to do so!

git clone https://github.com/akropolisio/polkahub-cli.git \
    && cd polkahub-cli/         \
    && cargo build --release    \
    && sudo cp target/release/polkahub /usr/bin/polkahub \
    && sudo chmod +x /usr/bin/polkahub

License: Apache 2.0


~305K SLoC