Document | Description | Link |
---|---|---|
Litepaper | Conceptual overview of the PoCS protocol | pocs-litepaper.pdf |
Research Model | In-depth technical design and theoretical model | pocs-research.pdf |
Specification | Detailed system architecture and implementation | pocs-spec.pdf |
Ensure your system meets the following requirements:
- Linux, macOS, or Windows (with
winget
orchoco
package managers). - Bash shell environment.
curl
,cargo
, andrustup
installed.- Sufficient disk space for Substrate and Ink! builds.
Before using the script, ensure it has execution permissions:
chmod +x pocs.sh
To build the Ink! contracts or the PoCS Substrate node:
./pocs.sh --build --contracts
./pocs.sh --build --node
To run tests for Ink! contracts or the PoCS Substrate node:
./pocs.sh --test --contracts
./pocs.sh --test --node
To start the PoCS Substrate node:
./pocs.sh --run
To clean the build artifacts and environment:
./pocs.sh --clean --contracts
./pocs.sh --clean --node
Action | Target | Description |
---|---|---|
--build |
--contracts |
Build all Ink! contracts and bundle them. |
--node |
Build the PoCS Substrate node. | |
--test |
--contracts |
Run all Ink! contract tests and E2E tests. |
--node |
Run tests for the PoCS Substrate node. | |
--run |
Start the PoCS Substrate node. | |
--clean |
--contracts |
Clean all Ink! contract artifacts. |
--node |
Clean Substrate node build and targets |
Sincere Thanks to the Web3 Foundation for their vital grant support, enabling the progress of PoCS Substrate Implementation project. For project application details, visit the PoCS W3F Grant Application