Terra Documentation

website·Indexed 39 days ago

https://docs.terra.money/

Developer guides and technical documentation for the Terra Protocol, featuring the terrad CLI and node daemon, Wallet Kit, Terrain, and validator management. Includes detailed command references for transactions, queries, and staking, as well as guides for managing full nodes and implementing security practices.

Tokens
147.6K
Snippets
747
Records
1.1K
Agent score
70%

What's inside Terra

  1. Overview of the Terra Blockchain

    Terra is an open-source, permissionless blockchain designed for decentralized applications (dApps) and financial products. It utilizes a proof-of-stake consensus mechanism and is powered by the Cosmos SDK and Tendermint consensus to ensure high transaction speeds and network security.
  2. Overview of Terra Distribution module

    Terra's distribution module inherits from the Cosmos SDK distribution module. It tracks collected fees and passively distributes them to validators and delegators. It also manages the community pool, which contains funds controlled by on-chain governance. Because distribution is passive, validators and delegators must manually submit withdrawal transactions to collect their rewards.
  3. Overview of the Community Pool Vesting contract

    The Community Pool Vesting contract manages the delegation, vesting, and withdrawal of funds based on a configurable schedule. It allows an owner to manage the contract and a whitelist of users who can withdraw unlocked funds to a specified recipient. Notably, the contract owner can delegate, undelegate, redelegate, and withdraw staking rewards at any time, regardless of whether the funds are currently vested or unvested.
  4. Overview of Terrad CLI

    Terrad is a CLI and node daemon used to interact with the Terra blockchain. It functions as both a client and a server, allowing users to upload contracts, query blockchain data, manage staking, and handle governance proposals. To get general help, use the --help flag.
    terrad --help
    terrad query --help
  5. Overview of Terrain development tool

    Terrain is a Terra-specific development tool used to scaffold dApp projects, develop and deploy smart contracts, create custom interaction tasks, and access a REPL console for interacting with the Terra blockchain.
  6. Overview of Terra Fee Grant module

    The Fee Grant module (inheriting from the Cosmos SDK feegrant module) allows a 'granter' account to permit a 'grantee' account to pay for transaction fees using the granter's account balance. This enables grantees to execute transactions without maintaining their own balance for fees. Only one fee grant is allowed between a specific granter and grantee, and self-grants are prohibited.
  7. Overview of Terrad CLI and Node Daemon

    Terrad is the command-line interface (CLI) and node daemon for the Terra Blockchain. It is used to manage node operations, handle keys, query the blockchain, and execute transactions.
    terrad [command]
  8. Overview of Terra Capability Module

    The Capability module allows for the provisioning, tracking, and authentication of multi-owner capabilities at runtime. It ensures module isolation by using scoped subkeepers; a module cannot interfere with or inspect capabilities owned by other modules. The module maintains two states: a persistent state (globally unique index and owner maps) and an ephemeral in-memory state (forward and reverse indexes for capability addresses).
  9. Overview of Terra Slashing Module

    Terra's slashing module inherits from the Cosmos SDK slashing module. It is used to disincentivize malicious or negligent behavior by protocol-recognized actors with value at stake. While the Staking module handles high-level validator slashing, the Slashing module specifically manages lower-level penalties at the Tendermint consensus level, such as double-signing and downtime.
  10. Overview of the Tic-tac-toe smart contract example

    The Tic-tac-toe example illustrates the structure of a decentralized application combining smart contracts with a frontend. It implements a permissionless, trustless game where a host invites an opponent to play for a prize. The application code is open-source and available on GitHub.