Posts

Showing posts with the label Terra

Cosmos Network Overview

Image
Cosmos network was developed In order to simplify communication between distributed ledgers without using a centralized server. It was established in 2016 as a white paper, and its founders immediately referred to it as the Internet of blockchains, as they sought to create an interoperable platform of open-source blockchains that could streamline transactions. In this article, we will get familiar with all about Cosmos network and how it makes a difference in the world of Blockchains. Cosmos Overview For developers, interoperability has been a challenging task since blockchain was created. As an example of interoperability, consider emails from a Gmail account communicating with a Hotmail account. If Android phones are allowed to share data with Apple's iOS, then single structures are created first, as in the case of a specific blockchain. However, it is still necessary to get these systems to communicate. Otherwise, they aren't much use and may prevent technolo...

Terra (Luna): What It Is & How to Deal with It

Image
Luna is the token of the Terra network. But these days, it is divided into two categories: one, the Luna Classic, which represents the token related to Terra 1, and Luna 2.0. TerraClassic or Terra 1 is related to the time before May 2022 when the network of the same name crashed due to an evil genius attack caused by a massive sell-off of the Luna token of that time which is now known as Luna Classic. However, Luna is not the only token of the Terra network; TerraUSD is another token designed to play the role of a stablecoin. The stablecoins are pegged to US Dollar. Although you might think that the price of the TerraUSD must be one Dollar, in fact, because of the mentioned crash, the cost of the token at the time of writing is 0.057 Dollars, which is why it is now called TerraClassicUSD. The new Terra version, released shortly after the crash, had no stablecoin to be replaced. Also, the new network released an airdrop for the Terra 2.0 network called Luna 2.0, and the n...

Interacting with Terra Network Using Terra Python SDK

Image
In this article, we are going to get familiar with the Terra network and how it works. Then, we will see how we can interact with the Terra network using Terra Python SDK to interact with Terra Testnet called Bombay 12 and Mainnet called Columbus-5. In this article and the next ones, we are going to see how we can connect to the Terra network using Python, create an account and a wallet, create and sign a transaction, estimate gas fees, and swap tokens. What Is Terra SDK? Terra is a DeFi protocol on Blockchain that powers the universal payment systems which are based on fiat currencies using the fiat-based stable coins. This protocol uses a mixture of wide adoption of stable coins and at the same time censorship resistance of Bitcoin. Terra is built on Cosmos SDK and tendermint. The main language that the Terra smart contracts are written in, is Rust. However, there are SDKs for Python and JavaScript, and creating the smart contracts called WASM contracts is explained i...

Interacting with Local Terra Smart Contracts Using Python

Image
In this article, we first connect to local Terra using Docker. Then we try to interact with local Terra smart contracts using Python scripts and at the same time use the CosmWasm functions inside LocalTerra\src folder written in Rust programming language. Finally, we will manage to interact with it. Connecting to Local Terra with Docker with Python First off, To start our interaction with local Terra, we need to make sure docker is running: Coppied to clipboard. sudo usermod -aG docker $USER Make sure you sign in to your docker profile to be able to easily log in using the following command docker login . Coppied to clipboard. docker-compose up Result: Coppied to clipboard. terrad_1 | 8:48PM INF received proposal module=consensus proposal="Type":32,"block_id":"hash":"3F119B6520D17CCC29A23F016B9E40151E3A5784A3F83D65BD0DD2D282FB1A4F"," parts": ...

How to Set Up the Dependencies For Running Local Terra: All You Need to Know

Image
In this tutorial-based article, we are going to set up the dependencies for running Local Terra. So, you will be guided through all the installations and commands necessary to start your interaction with local Terra smart contracts . Installing Go, Docker, Terrad, and git cloning local Terra, as well as terra-core repositories, are some of the main steps we are going to take in this tutorial. Installing the Dependencies For running local terra the main step is to install all of the dependencies required. The first step is to install go. You need to be careful that the version should be higher than 1.17.5. The Dependencies for Running Local Terra #1: Go To install Go, you should find the latest version for your operating system using this link . Then, the next step is to check the version to make sure it meets the requirement of our version (higher than 1.17.5). To do so, enter the following command in the terminal: Coppied to clipboard. go vers...