For the complete documentation index, see llms.txt. This page is also available as Markdown.

12. Launch your own chain

What App Sovereignty gives you (your own chain id, any SPL token as gas, gas revenue to your app), when it fits, what stays the same and how you start.

Everything so far ran on a shared chain: Hadrian for testing, Rubicon for production. Rome also lets one application run its own chain. This lesson is an overview of that step, and the last lesson of the course.

What you'll learn

  • What App Sovereignty gives your application.

  • When your own chain fits, and when an app on Rubicon is enough.

  • What stays the same for your developers and users, how you start, and how the gas token is priced.

Before you start

What you get

App Sovereignty lets a Solana application launch its own EVM environment:

  • Your own chain id. Your app is its own chain.

  • Your own gas token. Any SPL token: your project token, USDC or SOL.

  • Gas revenue. Transaction fees accrue to your treasury, not to a shared protocol.

  • Full EVM tooling. Users connect MetaMask with your chain id. Developers use Hardhat or Foundry.

  • Shared state. EVM users and Solana users share the same application state and liquidity.

The product page, App Sovereignty, gives an example: a Solana prediction market that wants EVM users. Its own token pays gas, EVM users reach the market through a contract that calls the Solana program, and the market earns the gas fees.

When it fits

Most apps do not need their own chain. An app on Rubicon already reaches EVM wallets and Solana wallets, shares liquidity and uses the tools from this course. Your own chain fits when one of these matters to you:

  • Your users should pay gas in your token, not in USDC.

  • The gas fees your app generates should come to you.

  • You want your own chain id, with your app as the whole chain.

What stays the same

  • You deploy Solidity with the same tools.

  • Contracts call Solana through the same precompiles, and your Solana program is reached as lesson 8 showed.

  • Tokens are the same SPL tokens. Your chain has its own wrapper contracts, so take their addresses from its registry entry, as lesson 11 did for Rubicon.

  • The limits are the same, because they come from Solana: the atomic budget, the account cap and the transaction size. See Constraints.

The chain is recorded in the public Rome registry with its chain id, RPC and contract addresses, as Hadrian is. What changes is the chain id, the gas token and who earns the fees. Your users hold your token for gas instead of USDC, so plan how they get it.

How you start

  1. Onboard through the Sovereign Portal. Rome gives you access to the portal, where you set your chain id and gas token, any SPL mint. The App Sovereignty page links it.

  2. Rome brings up the chain. The Rome team provisions and operates the chain's infrastructure. You do not run it.

  3. Deploy contracts. Standard Solidity deployment, as in lesson 3.

  4. Users connect. MetaMask with your chain id, or any EVM wallet.

How the gas token is priced

Solana charges its fees in SOL, and Rome counts each gas unit as one lamport of Solana cost. Your users pay in your token, so the chain needs a price that converts between your token and SOL. The usual source is a Meteora liquidity pool: the proxy reads the pool to convert between your gas token and SOL. A price feed and a fixed price are other sources. See Gas and pricing and Gas token pricing.

Status

App Sovereignty is live: an active product with partners.

Check yourself

1. Your Solana app wants EVM users and nothing else. Do you need your own chain?

No. An app on Rubicon reaches EVM wallets and Solana wallets. Choose your own chain for your own gas token, the gas revenue or your own chain id.

2. Why does the chain need a price for your token?

Solana fees are paid in SOL. Rome converts the cost of each transaction from SOL into your gas token, and the price source supplies that conversion.

Next

That is the course. For your next project, use these guides and reference apps:

Back to the course map

Last updated

Was this helpful?