For contributing to this project, please read Contributing section.
This section assumes that the developer is running on either macOS or Debian-variant operating system. For Windows, although there are ways to run it, we recommend using WSL or a virtual machine.
-
Install Polkadot SDK dependencies following https://docs.polkadot.com/develop/parachains/install-polkadot-sdk/.
-
Clone the repository and build the node binary.
git clone --recursive https://github.com/QuantumFusion-network/qf-solochain.git cd qf-solochain cargo build --release
-
Inspect available subcommands.
./target/release/qf-node --help
-
Run a local node in dev mode.
make qf-run
This section describes the project's executables and runtimes and provides step-by-step instructions for running a local testnet. This guide is suitable for advanced users. See docs/executables_and_runtimes.md.
- To build and run a full node in a container please read instruction docker/README.md
- Please notice a full node does register itself at https://telemetry.qfnetwork.xyz/.
See zombienet/README.md.
- Build the node:
make qf-node
- Build the release node:
make qf-node-release
- Build the node and run it:
make qf-run
- Build the node and run it with wasm file from
output
:make qf-run-wasm
- Build the runtime:
make qf-runtime
- Linting:
make clippy
- Formatting:
make fmt
- Run tests:
make qf-test
- Check all:
make check
- Make chain spec:
make qf-chainspec
We welcome contributions of all kinds! Whether you're reporting or fixing a bug, adding a feature, or improving documentation, your help is greatly appreciated. For a bug or vulnerability report please open a new issue.
For code contributions please follow these steps:
- Fork the repository and create a new branch following the format
your-github-name/descriptive-branch-name
(e.g.,alice/fix-123
). - Make smaller commits with clear messages to simplify reviewer's work.
- Submit a pull request targeting
main
branch and provide a concise description of your changes.
By contributing, you agree to adhere to our Contributor Covenant Code of Conduct, which fosters a respectful and inclusive environment.
We appreciate your support and look forward to your contributions! 🚀