---
title: "Deploying Intelligent Contracts"
description: "Deploy Intelligent Contracts with the CLI or GenLayerJS, including v0.6 fee estimation, network selection, and outcome verification."
source: https://docs.genlayer.com/developers/intelligent-contracts/deploying
last_updated: 2026-09-03
---

# Deploying Intelligent Contracts

Deploying an Intelligent Contract creates a consensus transaction. On a Consensus v0.6 deployment, that transaction needs a fee distribution and enough protocol-fee value, just like a write. Choose the network deliberately, estimate from a measured fee profile, then wait for finalization **and verify the execution result** before using the contract address.

## Quick Start

Get started quickly with these essential deployment options:

  - [CLI Deployment](./deploying/cli-deployment)
    Deploy contracts directly from the command line with simple commands
  </Card>
  
  - [Deploy Scripts](./deploying/deploy-scripts)
    Use TypeScript/JavaScript scripts for complex deployment workflows
  </Card>
  
  - [Network Configuration](./deploying/network-configuration)
    Configure networks, manage settings, and understand deployment environments
  </Card>

## Deployment Approaches

GenLayer offers two primary deployment methods:

### CLI Direct Deployment
The CLI is the shortest path for a single contract. Select and inspect the network first:

```bash
genlayer network set studio-dev
genlayer network info
genlayer deploy --contract contracts/my_contract.py --args "Hello World" 42
```

The v0.6-compatible CLI resolves the deploy entry in `fee-profile.json`, estimates it against current network prices, and submits the required fee fields. Use the matching release candidate when targeting Studio-dev.

[Learn more about CLI Deployment →](./deploying/cli-deployment)

### Deploy Scripts
Use ordered scripts for multi-contract deployments and follow-up configuration. The complete guide includes a copyable helper that converts profile quantities into a live estimate:

```typescript
const estimate = await quoteProfile(client, feeProfile.deploy);
const txId = await client.deployContract({
  code,
  args: [],
  fees: {
    distribution: estimate.distribution,
    feeValue: estimate.feeValue,
  },
});
```

[Learn more about Deploy Scripts →](./deploying/deploy-scripts)

## Networks Overview

Deploy to different networks based on your development stage:

| Network | Purpose | When to Use |
|---------|---------|-------------|
| **Localnet** | Local development | Fast, resettable testing and fee profiling |
| **Studionet** | Stable hosted Studio | Collaboration and stable hosted examples |
| **Studio-dev** | v0.123 / v0.6 preview | Release-candidate compatibility testing |
| **Bradbury** | Persistent public testnet | Production-like application validation |

[Explore Network Configuration →](./deploying/network-configuration)

## Development Workflow

Follow this recommended progression:

1. **Develop and measure locally** on `localnet`.
2. **Commit the generated fee profile** and test its low, standard, and high policies.
3. **Test the release candidate** on `studio-dev` with matching SDK and CLI RCs.
4. **Use Studionet or Bradbury** when you need the corresponding stable hosted environment.

> **Note:**
> `studio-next.genlayer.com`, if enabled, is a browser alias for the preview. SDKs, CLI profiles, and wallets should keep using the canonical Studio-dev RPC and chain ID rather than treating it as a separate network.

## What's Next?

After deploying your contracts:

1. **Verify the deployment outcome**: finalization does not by itself mean successful execution.
2. **Record the transaction ID and address**: resume tracking the same transaction after interruption; do not blindly redeploy.
3. **Exercise writes with the same fee profile**: use [Writing to Intelligent Contracts](/developers/decentralized-applications/writing-data).
4. **Integrate the frontend**: use [Transaction Kit](/developers/decentralized-applications/transaction-kit-integration) or the low-level SDK.
5. **Diagnose fee failures**: see [Fee Outcomes and Debugging](/developers/decentralized-applications/fee-outcomes-and-debugging).

Ready to start deploying? Choose your preferred method and dive into the detailed guides!
