XION
DiscordGithub
  • Welcome to XION
  • XION'S Core
    • Concepts
      • Generalized Chain Abstraction
      • Intro to Account Abstraction
      • XION's Meta Accounts
      • Meta Accounts Design
      • Architecture & Tech Glossary
      • Use Cases
  • developers
    • XION Quick Start
      • Zero to App in 5 Minutes
        • Launch a User Map App on XION in 5 Minutes
        • React Native Mobile App on XION in 5 Minutes
        • Todo App
          • Build a TODO App using the Collection-Document Storage Smart Contract
          • Build a TODO Mobile App using the DocuStore Contract
    • Mobile App Development
      • Set up your XION Mobile Development Environment
      • Build a TODO Mobile App using the DocuStore Contract
      • Create Mobile App and Integrate Meta Account Authentication
      • Building a React Native Mobile App with Abstraxion (Xion.js)
    • Getting Started (Advanced)
      • Set Up Local Environment
        • Setting up your Local Smart Contract Development Environment for XION
          • Setting up your XION Smart Contract Development Environment on Windows (WSL2 + Ubuntu)
        • Set Up an Integrated Development Environment (IDE)
        • Interacting with Xion Chain using Xion Daemon
      • Your First Contract
        • Deploying Your First Smart Contract on XION
      • Gasless UX & Permission Grants
        • Enabling Gasless Transactions with Treasury Contracts
      • App Development
        • Account Abstraction with Gasless Transactions
        • Interact with XION via your Backend Service
    • Re-using Existing Contracts
      • Deployed Contracts on XION
      • Non-Fungible Tokens (NFTs)
      • Fungible Tokens
      • Marketplace
      • Multisig
      • Proxy Contracts
      • Membership Management
      • Governance
      • Valuts
      • SCV Audited Contracts
    • Web3 for Web2 Developers
      • Web2 vs Web3 App Architecture: A Comparison
      • Misconceptions and Misapplied Web2 Patterns
      • Recommended Architecture for Apps on XION
    • Building for Mainnet
      • Xion Testnet: Your Development Playground
      • Building with Audited & Battle-Tested Contracts
      • Community Engagement: Building Support for Your app
      • Deploying to Xion Mainnet
        • Smart Contract Audits: Process, Costs & Support
        • Governance Process to Deploying Smart Contracts to Mainnet
    • Learn & Build
      • Token Factory
        • Creating, Minting, and Interacting with a Token Factory Token
        • Building a React dApp to Interact with Token Factory Tokens
        • Integrating a Token Factory Token in a Smart Contract
      • Websockets
        • WebSockets with Xion: Real-Time Communication
      • Oracles
        • Creating a Smart Contract with Pyth Oracle Integration
      • Indexers: Optimized Data Retrieval
        • SubQuery
      • Use Cases
        • Building a Per-User Data Storage App
        • Build a TODO App using the Collection-Document Storage Smart Contract
      • Crossmint Integration
        • Crossmint Digital Collectibles Checkout via Credit Card
    • Reference and Resources
      • Requesting XION Testnet Tokens
      • Public Endpoints & Resources
      • Block Explorers
      • Governance
        • Deploying Smart Contracts to Mainnet
      • Developer Tools: Abstract
      • IBC Denoms on XION Networks
      • Frequently Asked Questions
      • XION Token Contract Addresses on EVM Chains
  • Nodes & Validators
    • Run a Node
      • System Specifications
      • Build the Xion Daemon
      • Download the Xion Daemon
      • Configure the Xion Daemon
        • app.toml
        • client.toml
        • config.toml
      • Join the XION Network
        • xion-testnet-1
      • Confirm node is running
    • Become a Validator
      • Initial Setup
      • Obtain a XION Wallet Address
      • Obtain Funds
        • Testnet
      • Create Validator
    • IBC Relayers and Tokens
  • Others
    • Resources
Powered by GitBook
On this page
  • Testnet: A Space for Development & Refinement
  • Mainnet: A Secure & Permissioned Environment
  • Governance & Audit Requirements

Was this helpful?

Edit on GitHub
  1. developers

Building for Mainnet

The Xion Foundation aims to offer developers a clear and structured pathway for deploying secure and reliable decentralized applications (apps). This section outlines the key differences between Testnet and Mainnet, the requirements for deployment, and best practices to ensure your contracts are approved and adopted by the community.

Testnet: A Space for Development & Refinement

The Xion Testnet is a permissionless environment where developers can deploy and refine their contracts without restrictions. We encourage teams to:

  • Test and iterate their contracts before considering Mainnet deployment.

  • Engage with the community for feedback, allowing real users to test their apps and identify potential improvements.

  • Ensure stability and security by rigorously testing different scenarios and edge cases.

By leveraging Testnet, developers can refine their apps to the highest standards before moving to Mainnet.

Mainnet: A Secure & Permissioned Environment

Unlike Testnet, the Xion Mainnet is permissioned, meaning contracts cannot be deployed freely. Instead, contracts must go through a governance proposal process, where the Xion community reviews and votes on whether a contract should be stored on-chain.

To protect users and maintain the security of the network, audited contracts have the highest chance of being considered for approval. This ensures that Mainnet hosts only secure and reliable apps.

Governance & Audit Requirements

To increase the chances of passing governance and deploying on Mainnet, developers should:

  1. Use existing, battle-tested contracts – Where possible, developers should build on top of widely used and audited contracts to simplify the review process.

  2. Engage with the community – Early discussions with the community can help identify concerns and improve the likelihood of governance approval.

  3. Conduct a security audit – A professional third-party audit is highly recommended to ensure the contract has no vulnerabilities.

  4. Follow the governance process – Refer to the official guidelines for detailed steps.

PreviousRecommended Architecture for Apps on XIONNextXion Testnet: Your Development Playground

Last updated 14 days ago

Was this helpful?