Docs
Configuring Rollup

Configuring Rollup

What you need to choose

Runtime Selection

The runtime of your Polkadot Native Rollup defines its initial functionality. It forms the foundation of your rollup and is a crucial decision for kickstarting development. While Polkadot-SDK allows runtimes to evolve and be modified over time, starting with a solid base can accelerate your project's progress.

The PDP currently offers two main runtime options, both developed by the OpenZeppelin team:

  1. Generic Runtime: This runtime provides basic functionality to kickstart operations. It is ideal for projects aiming to customize their runtime with specific functionalities. This option offers a robust base that can later be extended with additional pallets, either developed in-house or sourced from the ecosystem.
  2. EVM Runtime: This runtime includes basic functionality and adds support for the Ethereum Virtual Machine (EVM). It is an excellent choice for projects looking to enable others to deploy logic on their chain. Additional logic can be integrated into the runtime and accessed via precompiles in the EVM.

Both runtimes are equipped with:

  • Native integration with the Polkadot Cloud ecosystem via its native bridges.
  • Ethereum interoperability through Snowfork and Hyperbridge, ready to be activated as needed.

Environment and Chain Selection

After selecting a runtime, you must choose the network where your Polkadot Native Rollup will operate. The available options include production and test networks:

  1. Production Networks:
    • Polkadot
    • Kusama
  2. Test Networks:
    • Westend
    • Paseo

Each network has distinct characteristics. It is highly recommended to maintain both a staging environment on a test network and a production environment. This setup allows for safe rollout of new features in line with best practices.

Schedule to Run Selection

Once the runtime and network are determined, the next step is resource allocation for your Polkadot Native Rollup. This is managed through Coretime and simplified as "Scheduled to Run" in the PDP. There are two main options:

  1. Right Now: This option enables your Polkadot Native Rollup to start producing blocks immediately after registration. It is the fastest way to launch.
  2. Next Cycle: This option provides a dedicated Polkadot Cloud core for your rollup, allowing for predictable renewals over time.

You can switch between these options cycle by cycle, managed directly from the Rollups page. Starting with the "Right Now" option is recommended, with the option to upgrade to a dedicated core in the next cycle.

Other Configurations

Token Name

This defines the name of your rollup's token. For example, Polkadot uses "DOT." The name must be no longer than four characters and cannot be changed later.

SUDO Account

All runtimes on the PDP start with SUDO enabled, providing flexibility during the initial stages. The specified account will have SUDO privileges, which can be transferred later. Ensure the selected account is secure and solely under your control.

Chain Decimals

The number of decimals determines the divisibility of your token. For example:

  • Polkadot (DOT): 10 decimals
  • Kusama (KSM): 12 decimals
  • Ethereum (ETH): 18 decimals

Choose a decimal setting that aligns with your primary use case and facilitates interoperability with other systems.

Price Breakdown

Deploying on the Polkadot Cloud involves two types of costs:

  1. Reserved Funds: Tokens temporarily locked during specific operations and released upon completion.
  2. Non-Recoverable Funds: Tokens consumed as fees or for coretime purchases.

Reserved Funds

Operations that require reserved funds include:

  • ParaID reservation
  • Genesis files registration
  • Proxy creation

Funds are released upon deregistration of the Polkadot Native Rollup or removal of the proxy. The table below provides an estimate of reserved funds by chain:

ChainParaID ReservationGenesis Files RegistrationProxy Creation (*)
Polkadot100 DOT~ 3145 DOT~ 20 DOT
Kusama40 KSM~ 1048 KSM~ 0.67 KSM
Westend20 WND~ 157 WND~ 1 WND
Paseo100 PAS~ 3145 PAS~ 20 PAS

(*) Proxy costs depend on existing proxies for the account. More details here.

Non-Recoverable Funds

These costs cover:

  • Fees: Dynamic and depend on network activity.
  • Coretime purchases: Also dynamic and estimated during deployment.

The PDP Rollup Form provides real-time cost estimates to ensure transparency and accuracy.