6 releases (breaking)

new 0.6.0 Dec 19, 2024
0.5.0 Nov 8, 2024
0.4.0 Oct 7, 2024
0.3.0 Jul 26, 2024
0.0.0 Jan 2, 2024

#9 in #pop

36 downloads per month

GPL-3.0 license

545KB
12K SLoC

Pop CLI

Twitter URL Twitter URL Telegram

An all-in-one tool for Polkadot development.

Installation

You can install Pop CLI from crates.io:

cargo install --force --locked pop-cli

ℹ️ Pop CLI requires Rust 1.81 or later.

You can also install Pop CLI using the Pop CLI GitHub repo:

cargo install --locked --git https://github.com/r0gue-io/pop-cli

ℹ️ For detailed instructions on how to install Pop CLI, please refer to our documentation: https://learn.onpop.io/v/cli/installing-pop-cli

Telemetry

Pop CLI collects anonymous usage metrics to help us understand how the tool is being used and how we can improve it. We do not collect any personal information. If you wish to disable telemetry or read more about our telemetry practices please see our telemetry documentation.

Documentation

On the Pop Docs website you will find:

Building Pop CLI locally

Build the tool locally with all the features:

cargo build --all-features

Build the tool only for Parachain functionality:

cargo build --no-default-features --features parachain

Build the tool only for Smart Contracts functionality:

cargo build --no-default-features --features contract

Testing Pop CLI

To test the tool locally. Due to the time it can take to build a Parachain or a Smart Contract, some tests have been separated from the normal testing flow into integration tests.

Run the unit tests only:

cargo test --lib

To run the integration tests relating to Smart Contracts:

cargo test --test contract

To run the integration tests relating to Parachains:

cargo test --test parachain

Run all tests (unit + integration):

cargo test

Acknowledgements

Pop CLI would not be possible without these awesome crates!

  • Local network deployment powered by zombienet-sdk
  • cargo contract a setup and deployment tool for developing Wasm based Smart Contracts via ink!

License

The entire code within this repository is licensed under the GPLv3.

Please contact us if you have questions about the licensing of our products.

Dependencies

~62–100MB
~2M SLoC