How do I deploy a smart contract on Autheo?
Autheo's DevHub is built by the core protocol team to provide first-party, fully supported deployment tooling -- not third-party tooling with delayed compatibility.
Deploy via the Autheo DevHub CLI (`autheo deploy`) or the web-based deployment console at docs.autheo.com. The AEE runtime handles compilation, optimization, and deployment to the Autheo testnet or mainnet in a single step, with THEO tokens covering gas fees at near-zero cost.
Step 1: Set Up the DevHub Environment
Install the Autheo CLI with `npm install -g @autheo/cli` or use the browser-based DevHub IDE at docs.autheo.com. Create a project with `autheo init` — the CLI scaffolds the contract directory, configuration file, and test suite automatically for your selected language (Solidity or Rust).
Step 2: Write, Compile, and Test
Write your contract in Solidity or Rust. Run `autheo compile` to build and `autheo test` to run the local simulation suite. The Autheo testnet faucet at autheo.com/faucet provides test THEO tokens for deployment and gas simulation. All ABI generation and optimization is handled automatically.
Step 3: Deploy to Testnet or Mainnet
Run `autheo deploy --network testnet` or `--network mainnet`. The CLI handles contract verification, submits the deployment transaction, and returns the contract address on-chain. Deployment costs are denominated in THEO and are designed to stay at or below Solana-level transaction fees, making iterative testing economically viable.
Key Statistics
Expert Perspective
“The best developer experience is the one that gets out of the way. Friction at the deploy step kills momentum -- and chains that make deployment fast and cheap win developer loyalty.
Citations & Sources
- [1]Autheo Developer DocumentationAutheo, 2024
- [2]Autheo Testnet ExplorerAutheo, 2024
- [3]Electric Capital Developer Report 2024Electric Capital, 2024
- [4]Solana Transaction Cost ReferenceSolana Foundation, 2024
Related Questions
Ready to Start Building?
Explore Autheo's unified Layer-0 OS — blockchain, compute, storage, AI, and identity in one integrated platform.