OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

terra-money.github.io

Terra SDK is a Python library for building applications that connect to the Terra blockchain through an LCD client and work with blockchain data, transactions and smart contracts.

Independent OpenViST project profile, based on linked sources.

terra-money.github.io — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when a Python application needs to make Terra blockchain requests or incorporate transaction and smart-contract operations.

Who it is for

  • Python developers building software that interacts with Terra.
  • Developers who need synchronous or asynchronous LCD requests in an application.

Documented uses

  • Connect a Python application to a Terra node.
  • Read blockchain information and paginated data.
  • Construct, sign and send transactions.
  • Deploy or interact with smart contracts.
Before you choose

Requirements & limits

  • Blockchain interaction requires a connection to a Terra node.
  • AsyncLCDClient uses awaited request methods and has a session lifecycle to manage.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install Terra SDK and connect a Python client

Install the SDK, configure an LCDClient, and request blockchain information.

Before you start

  • Python environment with pip
  • Connection to a Terra node, using the chain ID and LCD URL appropriate to the intended network

Steps

  1. Install the package with the command below; the documentation recommends using a virtual environment.

    Documented command
    pip install terra-sdk
  2. Create an LCDClient with a chain ID and node URL.

  3. Use the client to request blockchain information, such as the latest block height.

Expected outcome

A configured Python client that can make requests to a Terra node.

Guide limitations

  • The guide requires access to a Terra node.
  • The example uses the Columbus-5 chain ID and https://lcd.terra.dev.
Source-based practical guide

Make asynchronous LCD requests

Use AsyncLCDClient in a Python coroutine to request Terra data without blocking.

Before you start

  • Terra SDK installed in a Python environment
  • An asyncio coroutine and a Terra LCD endpoint

Steps

  1. Create an AsyncLCDClient with the LCD URL and chain ID inside a coroutine.

  2. Await the desired module request, such as a bank total-supply query.

  3. Close the client session, or use the documented async context manager to manage teardown.

Expected outcome

An asynchronous LCD request with the client session lifecycle handled.

Guide limitations

  • Module and wallet API functions that make LCD requests must be awaited.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
28 November 2026
Original website title
Introduction — Terra SDK 2.0.3 documentation · Official homepage title · retained in its source language