37 lines
2.2 KiB
Markdown
37 lines
2.2 KiB
Markdown
Polkadot Solochain taskserv with PVM support has been successfully created! The service includes:
|
|
|
|
Created files:
|
|
- taskservs/polkadot-solochain/kcl/polkadot-solochain.k - Comprehensive KCL schema definitions
|
|
- taskservs/polkadot-solochain/default/provisioning.toml - Service metadata
|
|
- taskservs/polkadot-solochain/default/env-polkadot-solochain.j2 - Environment variable template
|
|
- taskservs/polkadot-solochain/default/pvm-runtime.toml.j2 - PVM-specific runtime configuration
|
|
- taskservs/polkadot-solochain/default/polkadot-solochain.service.j2 - Systemd service template
|
|
- taskservs/polkadot-solochain/default/generate-keys.sh.j2 - Key management script
|
|
- taskservs/polkadot-solochain/default/install-polkadot-solochain.sh - Installation script
|
|
- taskservs/polkadot-solochain/default/prepare - Preparation script
|
|
|
|
Key Features:
|
|
- PVM Support: Full Polkadot Virtual Machine integration with configurable WASM execution
|
|
- Consensus: Aura (block authoring) + GRANDPA (finality) consensus mechanisms
|
|
- Network Configuration: Configurable P2P networking, bootnodes, reserved nodes
|
|
- RPC Services: WebSocket (9944) and HTTP (9933) RPC endpoints
|
|
- Validator Support: Session key management, development and production validator modes
|
|
- Runtime Configuration: Modular pallet system, configurable block limits and weights
|
|
- Build Integration: Automated Rust compilation and Polkadot SDK solochain template
|
|
- Security: Systemd hardening, proper user isolation, resource limits
|
|
- Key Management: Automated key generation for development and production
|
|
- Telemetry: Optional telemetry reporting
|
|
- Chain Specifications: Automated chain spec generation
|
|
|
|
Deployment Options:
|
|
- Development mode with Alice validator keys
|
|
- Production validator with custom session keys
|
|
- Multi-node network setup
|
|
- Archive or pruned node modes
|
|
|
|
The service can now be deployed using: ./core/nulib/provisioning taskserv create polkadot-solochain
|
|
|
|
This creates a complete Polkadot solochain with modern PVM support, suitable for both development and production environments. The
|
|
solochain operates independently of the Polkadot relay chain while providing full compatibility with Polkadot SDK features.
|
|
|