Installation Guide
Install Apex SDK and configure for Asset Hub, Revive, and PolkaVM system chain development.
Updated 2026-02-02
1 min read
installationsetupsystem-chainasset-hubrevivepolkavm
Installation Guide
Install Apex SDK and configure for Asset Hub, Revive, and PolkaVM system chain development.
Prerequisites
- Rust 1.85+ (latest stable recommended)
- Node.js (optional, for web integration)
- Access to a Polkadot Asset Hub RPC endpoint
Install Apex SDK
Apex SDK is modular. Install the components your application requires:
# Core traits and types (required)
cargo add apex-sdk-core
cargo add apex-sdk-types
# System Chain Modules
cargo add apex-sdk-substrate # For Asset Hub interaction
cargo add apex-sdk-revive # For Revive protocol support
Optional Features
You can enable additional functionality via feature flags in your Cargo.toml:
[dependencies]
apex-sdk-core = { version = "0.1", features = ["testing", "metrics"] }
Basic Configuration
Initialize the SDK modules with your chain endpoints:
use apex_sdk::{Config, AssetManager, ReviveAdapter};
let config = Config::new()
.with_substrate_endpoint("wss://asset-hub.polkadot.io")
.with_revive_endpoint("wss://revive.polkadot.io");
let asset_mgr = AssetManager::new(config.clone());
let revive = ReviveAdapter::new(config);
System Dependencies
On some systems, you may need to install SSL and build tools:
Ubuntu/Debian:
sudo apt-get install build-essential pkg-config libssl-dev
macOS:
brew install openssl pkg-config