What Is Terra (SOL)?
Welcome to the official documentation for Terra, a decentralized financial infrastructure powering the innovation of money. This provides the foundational building blocks for a new digital economy with its stablecoin protocol, oracle system, smart contracts, and plan for mass-user adoption. At the end, the specification lists various module parameters alongside their default values with a brief explanation of their purpose, associated events / tags, and errors issued by the module.
These specifications are not an exhaustive reference, but they are a companion for users who need to work directly with the Terra Core code base or understand it. The important functions in each module are described, and many of the trivial ones, such as setters and setters, are omitted for economy. Module logic is also located in either the message handler or block transitions, such as begin-blocker and end-blocker.
Terra Storage Key Points
|Circulating Supply||401,363,398.14 LUNA|
|Source Code||Click Here To View Source Code|
|Explorers||Click Here To View Explorers|
|Twitter Page||Click Here To Visit Twitter Group|
|Whitepaper||Click Here To View|
|Official Project Website||Click Here To Visit Project Website|
Terra Core modules
These tips and guidelines help you to understand how Terra works and efficiently navigate the code base of the core, the official Golang reference implementation of the node software. This core is built using the Cosmos SDK, which provides a robust framework for constructing blockchains that run atop the Tendermint consensus protocol. Review these projects before you explore the developer documentation because they assume you are familiar with concepts such as ABCI, validators, keepers, message handlers, and so on.
How to use the Terra Core module specifications
Each module specification begins with a short description of the module’s main function within the architecture of the system and an explanation of how it contributes to implementing features. Then, each module specification provides a more detailed description of its main process and algorithms alongside any concepts you might need to know.
Start here to understand a module so that you can take advantage of the cross-references to more specific sections deeper in the specification, such as specific state variables, message handlers and other functions in which you might be interested. The utility token will serve as an incentive for users to supply and borrow assets on the Green as well as offer a discount to platform fees by holding and staking the token.
When used as a value, the last letter of each currency code abbreviation is replaced with to signify it as a Terra stablecoin. For example, the stablecoin pegged to the Korean Won, KRW, is named TerraKRW, and its abbreviation is KRT. The protocol’s standard base currency is TerraSDR, or SDT, which pegs to the IMF’s Special Drawing Rights.
The protocol uses SDT to make calculations and set rate standards. Luna is the protocol’s native staking asset. Delegators earn mining rewards when they stake their Luna to an active validator. Luna stabilizes the economy by absorbing the price volatility of stable coins and is also used to make governance proposals.
Many of the modules in Terra Core are inherited from the Cosmos SDK and are configured to work with through customization in either genesis parameters or by augmenting their functionality with additional code. Remove inactive proposals, check active proposals whose voting periods have ended for passes, and run the registered proposal handler of the passed proposal.
5-minute quickstart guide
Use this quickstart guide to get started building your dApp. Terrain is a development environment for better smart contract development experience. This guide will walk you through setting up your environment, installing Terrain, and using the testnet or Local to interact with a network.