polkadot-hub

Consolidate Polkadot Hub development guidance for REVM and PVM environments.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/fabianferno/skills --skill polkadot-hub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: polkadot-hub
Source: https://github.com/fabianferno/skills/tree/main/skills/polkadot-hub
Command: npx skills add https://github.com/fabianferno/skills --skill polkadot-hub

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Polkadot Hub provides a unified reference for building on a dual-VM smart contract platform, combining EVM compatibility with native RISC-V execution and cross-chain capabilities to streamline development and deployment across parachains.

Core Features & Use Cases

  • Dual VM Architecture: Polkadot Hub exposes REVM (EVM) and PolkaVM (PVM) within a single runtime, enabling cross-VM calls and consistent tooling.
  • REVM & PVM Backends: Support for deploying existing Solidity contracts via REVM and Rust or Solidity-to-PVM workflows via resolc, with cross-VM interop.
  • Development Environments & Tooling: Guidance on local nodes, IDEs, and libraries (Remix, Hardhat, Foundry; Ethers.js, Web3.js, Subxt, Polkadot.js) for Polkadot Hub.
  • Parachains & XCM: Cross-chain messaging, parachain development, and integration with the Polkadot SDK.

Quick Start

Set up a local Polkadot Hub node and deploy your first Solidity or Rust contract to verify the dual-VM workflow.

Frequently Asked Questions about polkadot-hub

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the Polkadot Hub dual-VM architecture for smart contracts?

Polkadot Hub dual-VM architecture combines REVM for EVM compatibility and PolkaVM for native RISC-V execution within a single runtime, enabling cross-VM calls and consistent parachain tooling.

How do I deploy Solidity contracts on Polkadot Hub using REVM?

Deploy existing Solidity contracts on Polkadot Hub using REVM via standard development environments like Remix, Hardhat, or Foundry, leveraging Ethers.js and Web3.js libraries for interaction.

Can I use Rust and Solidity-to-PVM workflows for parachain development?

Polkadot Hub supports Rust or Solidity-to-PVM workflows via resolc, allowing native PolkaVM execution and cross-VM interoperability alongside standard parachain development using the Polkadot SDK.

What's the best way to integrate cross-chain messaging via XCM on Polkadot Hub?

Integrate XCM cross-chain messaging on Polkadot Hub by utilizing the Polkadot SDK, which provides the necessary parachain development tools and cross-chain messaging protocols for seamless interoperability.

Does Polkadot Hub support Ethers.js and Subxt for dual-VM contract interaction?

Polkadot Hub supports Ethers.js and Web3.js for EVM interactions alongside Subxt and Polkadot.js for native interactions, providing consistent tooling across both REVM and PVM environments.

What are common migration pitfalls and gas model limitations when building on Polkadot Hub?

Common migration pitfalls on Polkadot Hub involve mismanaging the dual-VM gas model and encountering cross-VM interop constraints; developers must carefully optimize gas usage and review precompile availability to avoid integration failures.