Spin up a sovereign rollup locally
Initialize a fully functional L3 appchain boilerplate for sovereign rollups on localhost. This setup enables testing of custom EVM logic, gas dynamics, and chain configuration without mainnet exposure.
Follow these steps to initialize the environment and start the node.
Once the node is running, you have an isolated L3 appchain boilerplate ready for development. You can now deploy smart contracts, test state transitions, and validate your rollup’s economic model before any public deployment.
Configure the L2 Settlement Layer
Setting up your L3 appchain boilerplate requires a direct link to its L2 settlement layer. This connection allows your chain to read data synchronously, ensuring that state changes on Layer 2 are immediately visible to your Layer 3 nodes. Without this synchronous read capability, your appchain operates in isolation, missing critical updates from the settlement layer.
Follow these steps to configure the settlement layer connection in your boilerplate environment.
By following this sequence, you establish a reliable, synchronous link between your L3 and its L2 settlement layer. This configuration is foundational for any L3 appchain boilerplate aiming for real-time data consistency.
Select your L2 provider and bridge
An L3 appchain boilerplate requires a Layer 2 network to handle settlement and security. Your choice of L2 dictates your gas costs, finality speed, and available developer tooling. Most L3s settle on Ethereum via Optimistic Rollups or ZK-Rollups. You must also configure a bridge to move assets from the L2 to your new L3 instance.
Compare L2 settlement layers
Not all L2s support L3 deployment equally. Starknet is currently the most mature environment for L3 appchains, offering native support for rollup contracts and specific bridge infrastructure. Other L2s like Arbitrum or Optimism may require custom bridge logic or additional security audits to support L3 settlement. Use the comparison below to evaluate your options based on technical fit.
| Provider | Rollup Type | L3 Readiness | Bridge Maturity |
|---|---|---|---|
| Starknet | ZK-Rollup | High (Native) | High |
| Arbitrum | Optimistic | Medium (Custom) | High |
| Optimism | Optimistic | Medium (Custom) | High |
| Base | Optimistic | Low (Experimental) | Medium |
Configure the asset bridge
Once you select an L2, you need to bridge assets to your L3. This involves deploying a bridge contract on the L2 and connecting it to your L3 instance. For Starknet, use the official Starknet bridge or community-maintained bridges like Meson if native support is not yet fully integrated into your boilerplate. Ensure your bridge supports the token standard you plan to use (ERC-20 or ERC-721). Test the bridge with small amounts before mainnet deployment to verify finality times and security checks.
Integrate DevRel kits for adoption
Your L3 appchain boilerplate provides the infrastructure, but DevRel kits supply the social layer required for adoption. These kits bundle the marketing assets, documentation templates, and community engagement tools needed to onboard developers and users without rebuilding foundational resources from scratch.
The integration process follows a clear sequence. Start by cloning the official DevRel repository linked within your boilerplate documentation. This ensures your branding assets align with the chain’s identity guidelines.
By standardizing these adoption tasks, you reduce the time-to-market for your L3 appchain boilerplate. Developers can focus on smart contract logic while the DevRel kit handles the repetitive work of community setup and resource distribution.
Check your deployment with a live demo
Verify that your L3 appchain boilerplate is functioning correctly by observing the on-chain state in real time. The most reliable proof of a successful deployment is a live demonstration that shows the L3 synchronously reading data from its L2 settlement layer.
We recommend reviewing the Spire First Based L3 Appchain demo. This walkthrough illustrates the exact data flow you should expect to see in your own environment, confirming that the settlement layer integration is active and responsive.
Verify your L3 appchain setup
Before going live, ensure the L3 appchain boilerplate is running correctly on your localhost. A quick verification prevents deployment failures and ensures your sovereign rollup is ready for production.
-
Check that the node is syncing and blocks are being produced.
-
Confirm the RPC endpoint responds to health checks.
-
Verify the bridge contract is deployed and accessible.
-
Test a sample transaction to ensure end-to-end functionality.
-
Node syncing and block production
-
RPC health check
-
Bridge contract deployment
-
Sample transaction test
If any step fails, review the logs and adjust your configuration before proceeding.


No comments yet. Be the first to share your thoughts!