DeFi Elements

Jul 17, 2022 | Learn DeFi

DeFi Built-In 4 Elements

  1. Cryptocurrency

Cryptocurrency, the new global money for the internet age, is also a medium of exchange like other currencies.

A cryptocurrency is a digital currency that acts as an asset that can be exchanged between two parties resulting in a transaction. The transaction is secured using cryptography; therefore the term cryptocurrency was connected. Cryptocurrency is a combination of “cryptography” and “currency”.

Cryptocurrencies use a decentralized technology that allows users to do transactions securely without the help of an intermediary moderator like a bank.

Cryptocurrency is a system that is neither regulated by any centralized authority nor tracked by any financial institution.

This digital asset is supported by a technology called BLOCKCHAIN.

Blockchain is a peer-to-peer network of nodes also known as BLOCKS containing all the transaction details at each stage between the two parties.

These blocks are linked and get security using cryptography.

  1. Cryptography

What is Cryptography?

It is the study of secure communications techniques that allow only the sender and intended recipient of a message to view its contents The term is derived from the Greek word kryptos, which uses means hidden.

It is closely associated with encryption, which is the act of scrambling ordinary text into what’s known as ciphertext and then back again upon arrival.

In simple words, cryptography is a study of secure communication, one person will encrypt a message and the other person can decrypt it.

Why is Cryptography needed?

Cryptography is frequently expected to keep delicate information from being compromised and taken by individuals who are not intended to see it. This information can be military, financial or monetary, scientific (logical), mathematical (numerical), medical (clinical), and so forth in beginning. There is an extraordinary measure of justifications for why a wide range of individuals needs to keep certain information secret.

When presented to the wrong sources, some data might be a danger to public safety. For instance, atomic launch codes, the passwords to the entrances to weapons or contamination disease holding centers like CDC testing offices and things of this nature all should be kept secret to safeguard public safety. Cryptography makes it workable for just the suitable individuals to approach the sensitive data of importance.

How do Cryptography works?

There are various ways that cryptography might be applied to a piece of information.

Before the times of modern technology, transposition ciphers were used to modify the letters in a message. For instance, a message that read NRGEE SRGAS might be put through an interpretation code to reposition the letters, so they read GREEN GRASS. This is a very basic use of the concept of cryptography. Nonetheless, it was extremely famous in ancient times.

The strategies for carrying out cryptography to information have become fundamentally more complex. Presently, extraordinarily complex computer and mathematical technology can be used to encrypt information in more complicated ways than ever before. A portion of this technology is presently being used for modern-day cryptocurrencies.

Regardless of how complicated cryptography is, it always works on a similar basic principle; encrypt information and hide its true meaning so just only a person with permission can unravel it.

Role of Cryptography in Cryptocurrency.

Cryptography is an essential mechanism for securing information in computer systems. Without cryptography, cryptocurrency is just a central hub for attackers and scammers.

Cryptocurrency requires cryptography for mainly three (3) purposes;

  • To secure the transactions
  • To control the creation of additional units
  • To verify the transfer of assets.

To accomplish all these things, cryptocurrencies depend on what is called, “public key cryptography”.

This paper discusses the types of cryptographic techniques used in cryptocurrencies, studies their characteristics, and explores the working of these techniques.

  1. Blockchain Technology

Blockchain is a relatively new method of storing data online, which is built around the two core concepts of encryption and distributed computing.

Encryption means that the data stored on a blockchain can only be accessed by people who have permission to do so – even if the data happens to be stored on a computer belonging to someone else, like a government or a corporation.

Distributed computing means that the file is shared across many computers or servers. If one copy of it does not match all the other copies, then the data in that file isn’t valid. This adds another layer of protection, meaning no one person other than whoever is in control of the data can access or change it without the permission of either the person who owns it or the entire distributed network.

Put together, these concepts mean data can be stored in a way so that it is only ever under the control of the person who owns it, even if it happens to be stored on a server owned by a corporation or subject to the control of a local government. The owner or government can never access or change the data without the keys to the encryption that proves they own it. And even if they shut down or remove their server, the data is still accessible on one of the hundreds of other computers that it’s stored on.

  1. Smart Contract

Smart contracts are like pieces of code that run on blockchain-based networks. Once deployed, they operate as programmed where users can rely on them to be unstoppable and censorship-resistant.

A smart contract is a self-executing contract with the details of the agreement between buyer and seller being directly written into lines of code. The code and the agreements contained in that exist across a distributed, decentralized blockchain network.

Smart contracts refer to digital transaction protocols that utilize the blockchain to enforce an agreement automatically while doing away with any third party. The terms of the agreement are written in computer codes, containing rules and penalties that the parties must agree to before entering one.

The transactions through this means are immutable and transparent, enabling the parties involved to audit and validate the data as and when needed.

Even though smart contracts are irreversible, developers can adopt indirect ways of updating the codes or clauses for the terms of an agreement if required.

Smart Contract Three (3) TYPES or Categories:

  1. Smart Legal Contracts – These contracts are legally enforceable and require the parties to fulfill their contractual obligations. Failure to do so may result in strict legal actions against them.
  2. Decentralized Autonomous Organization (DAO) – These are blockchain communities that are bound to specific rules coded into blockchain contracts combined with governance mechanisms. Hence, any action taken by the community members gets replaced by a self-enforcing code.
  3. Application Logic Contracts – These contracts contain an application-based code that remains in sync with other blockchain contracts. It enables communication across different devices, such as the merger of the Internet of Things with blockchain technology.

What is the purpose of a smart contract?

On a blockchain, the objective of a smart contract is to simplify business and trade between both anonymous and identified parties, sometimes without the need for middlemen. A smart contract downsizes customs and costs related to traditional methods, without compromising authenticity and credibility.

Which blockchain has smart contracts?

Ethereum

The most popular blockchain for running smart contracts is Ethereum. On Ethereum, smart contracts are typically written in a Turing-complete programming language called Solidity, and compiled into low-level bytecode to be executed by the Ethereum Virtual Machine.

Who writes smart contracts?

Anyone can write a smart contract and deploy it to the network. You just need to learn how to code in a smart contract language and have enough ETH to deploy your contract.

Is Bitcoin a smart contract?

Many think that smart contracts are only executable on overly complex blockchains, but Bitcoin is a smart contract platform by definition.

Is Ethereum a smart contract?

As the Ethereum website puts it, “Ethereum is a decentralized platform that runs smart contracts.” These contracts run on the “Ethereum Virtual Machine (EVM),” a distributed computing network made up of all the devices running Ethereum nodes

Smart Contract Three (3) Main Components

  1. Signatories (parties)
  2. The subject of the contract
  3. Contract Terms

The parties involved must satisfy the terms of the agreement (a set of rules and penalties) for a successful transaction.

Besides eliminating the need for an intermediary, executing agreements through digital contracts is considered cost-effective and secure.

More so, the decentralized blockchain network ensures that transactions remain transparent, traceable, and irreversible.

How many smart contracts are there?

Smart contract deployment

As of December 19, 2021, there are currently 929 smart contracts live on Cardano’s mainnet, which are mainly focused on DeFi, following September’s Alonzo upgrade. Thanks to Alonzo, developers can now create DeFi protocols such as DEXes and lend/borrow platforms on the Cardano blockchain.

Prepared by: Wilmina Dela Pena

stakerDAO-logo-white
https://serokell.io

Serokell is a software research and development company, focused on high complexity tasks in the area of computer science.
Our team is composed of developers, designers, engineers, computer scientists, and mathematicians, all to help you realize your vision.
We use functional programming to write robust code that works anywhere, anytime.

Initially, we worked with StakerDAO to implement the STKR governance token a monitoring app on Tezos. After that, we moved to BLND token and implemented a set of Ethereum contracts for holding BLND and performing buyback with them.

We also implemented a web app to run the buyback process.

After that, we designed and implemented the Bridge application and associated set of contracts that allow exchanging BLND and wXTZ tokens between Ethereum and Tezos.
We are working on Bridge backend support for ALgorand now.

Social links:
Twitter
Telegram
YouTube


Projects

BLNDSTKRStakerBridge

Skills

Contract development (Ethereum, Tezos)
Web application development
Development of applications interacting with Tezos, Ethereum and Algorand blockchains.

This will close in 0 seconds

randlabs-logo
https://randlabs.io/

Rand Labs is a blockchain development lab specialized in Algorand technology.

At Rand Labs we have developed specialized expertise in blockchain technology. Through 8 years of experience, we have worked closely with all major blockchain protocols and have garnered valuable experience in the industry that helps us deliver the maximum quality in our products and those of our partners.

We spend years training and advancing our team members' skills by facing ever more complex technical challenges in the blockchain space. Having helped and participated in the development of many of the most popular blockchain products in the world since 2013, we are in the capacity to deliver quality solutions regardless of the difficulty of the problem.

Despite having built numerous blockchain products and consensus upgrades from scratch, we believe a business-oriented acumen is as important in delivering maximum product-market fit. With our long history in the industry, we have developed a valuable network of relationships that is available to our partners. Additionally, The Rand Labs management team has been very active as investors and advisors in the space. We have invested in and advised very successful projects. As important, we have seen many projects fail which allowed us to learn valuable insights from those failures.

Social links:
Twitter
Github
LinkedIn


Projects

wALGOStakerBridge

Skills

Product DevelopmentAlgorand Smart Contract development and auditsBackend developmentInfrastructureDev ops UX UI

Fun Facts

Rand Labs has always been a fully remote company, way before the impacts created by COVID. We believe this has allowed our company to operate completely crypto native, including payroll, corporate structure, and revenue. We feel that by operating this way, every individual in our team is positioned to deliver the best products and solutions of this industry.

This will close in 0 seconds

stove-labs-logo-103
https://stove-labs.com/

Learn more on Stove Labs Github, Twitter, and Telegram.

Projects

wXTZStaker Farms

Skills

Tezos BlockchainIPFSReasonMLSmart ContractsOpensourceDAPPsTutorials

This will close in 0 seconds

staker-services-ltd-logo-667
https://www.staker.services/

Staker Services provides technical, business and operation services for the cross-chain era. The Operations team specialised in the DeFi ecosystem, with experience in launching products across chains - from Ethereum to Tezos, Algorand, Polkadot and more.

Projects

BLNDwXTZWALGOSTKRStakerBridge

Skills

DevBusiness DevelopmentProductMarketingLegalFinanceOperations

This will close in 0 seconds

chainsafe-logo-104
https://chainsafe.io/

"ChainSafe Systems is a blockchain research & development firm with a focus on building infrastructure for Web3. We are actively contributing to the Ethereum, Ethereum Classic, Cosmos, Polkadot, and Filecoin ecosystems and are open to contributing to other Web3 ecosystems where we see merit. Feel free to visit our website or email [email protected] with any inquiries.”

Projects

PINT

Skills

Blockchain InfrastructureResearch & DevelopmentSmart Contract Audits

Fun Facts

Team members in 17 countries and counting!

Video

This will close in 0 seconds

Subscribe for Email Updates

Name

This will close in 0 seconds