Deploy Llama Model

Deploy your Llama model to CosmWasm with our step-by-step wizard or advanced configuration options.

Wallet Connection Recommended

Connecting your Cosmos wallet is recommended for deploying Llama models to CosmWasm, but you can still explore the deployment process without connecting.

Wallet Recommended

For the full deployment experience, we recommend connecting your Cosmos wallet. However, you can still explore the deployment process and generate scripts without connecting.

Deployment Steps

Follow these steps to deploy your Llama model

  • 1

    Environment Setup

    Install required dependencies and tools

  • 2

    Compile Smart Contract

    Compile the CosmWasm smart contract for Llama model deployment

  • 3

    Optimize Contract

    Optimize the compiled WASM binary for deployment

  • 4

    Upload Contract

    Upload the optimized contract to the blockchain

  • 5

    Instantiate Contract

    Create a new instance of the contract with your model configuration

  • 6

    Configure Model

    Set up the model parameters and access controls

  • 7

    Verify Deployment

    Test the deployed model with a sample query

Environment Setup

Install required dependencies and tools

npm install -g @cosmjs/cli @cosmjs/stargate