Skip to content

r0gue-io/pop-cli

Repository files navigation

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

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.