# Computation

The Computation layer covers CosmWasm smart contracts, business logic, and workflows on the **Verona** network (`xiond`, `xion-testnet-2`).

### Contract development notes

WASM binaries built with the **latest stable Rust** may fail to upload to Verona (`xiond tx wasm store`) because the chain does not support WebAssembly **bulk memory** instructions that newer Rust toolchains can emit.

If you run into store or validation errors after upgrading Rust, create `rust-toolchain.toml` at your **contract project root**:

```toml
[toolchain]
channel = "1.86"
targets = ["wasm32-unknown-unknown"]
```

**Why 1.86?** Rust **1.87+** stable releases may emit WebAssembly with **bulk memory** enabled for `wasm32-unknown-unknown`. Verona’s `wasm store` and runtime do not support bulk memory today, so uploads can fail even when local builds succeed. **1.86** is the latest stable release known to produce upload-compatible WASM for Verona at the time of writing (May 2026). When you upgrade Rust—or when Verona enables bulk memory—re-test `xiond tx wasm store` and update the pinned channel if needed.

Rebuild the contract (and re-run the [CosmWasm optimizer](/verona/build-on-verona/computation/local-development/deploy-a-cosmwasm-smart-contract.md) if you use Docker) before uploading again. See also the [local environment setup](/verona/build-on-verona/computation/local-development/setting-up-env/installation-prerequisites-setup-local-environment.md#rust) guide.

### Overview

Smart contracts on the Verona network are built using CosmWasm and enable:

* **Business Logic**: Automate workflows and processes
* **State Management**: Store and manage application state
* **Integration**: Connect with other Verona features (accounts, payments, verification)

### Quick Start

Get started quickly with pre-built app templates:

* [Zero to App in 5 Minutes](/verona/build-on-verona/computation/quick-start/zero-to-dapp-in-5-minutes.md)

### Local Development

Learn how to set up your development environment and deploy your first contract:

* [Setting up Environment](/verona/build-on-verona/computation/local-development/setting-up-env.md)
* [Interacting with the chain using the daemon CLI](/verona/build-on-verona/tools/daemon-cli.md)
* [Deploying Your First Smart Contract](/verona/build-on-verona/computation/local-development/deploy-a-cosmwasm-smart-contract.md)

### Contract Library

Browse pre-built, audited contracts you can use in your applications:

* [Re-using Existing Contracts](/verona/build-on-verona/computation/re-using-existing-contracts.md)

### Integrations

Learn how to integrate with Verona features:

* [Token Factory](/verona/build-on-verona/computation/integrations/token-factory.md)
* [Oracles](/verona/build-on-verona/computation/integrations/oracles.md)
* [Websockets](/verona/build-on-verona/computation/integrations/websockets.md)
* [Indexers: Optimized Data Retrieval](/verona/build-on-verona/computation/integrations/indexers.md)

### Use Cases

Explore more example applications and use cases:

* [More Use Cases](/verona/build-on-verona/computation/use-cases.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.burnt.com/verona/build-on-verona/computation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
