• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer

iKomodo P2P

Peer to Peer News

AtomicDEX Orderbook Tutorial
  • 1st Web Story
  • News Relay
  • Applications
  • Podcasts
  • Videos
  • About Us

Extending Bitcoin Protocol – Antara

February 26, 2020 by iKomodo Mylo

Extending the bitcoin protocol has been done numerous times by the bitcoin community to achieve its current tech stack. The QTUM project extended bitcoin to include the use of an abstract account layer to make compatibility with the Ethereum Virtual Machine possible. Antara is Komodo’s bitcoin protocol enhancement that enables objects of any type to become blockchain elements. Antara also enables Turing complete logic to be part of network consensus providing a broad scope for solutions.

#komodo enables turing complete consensus by incorporating #ripple open standard technology also found in #interledger. Is $kmd the answer to bridging #bitcoin to #DLT & #blockchain Click To Tweet

Komodo lead dev jl777 was able to collaborate with libscott (Scott Sattler) to include a Ripple technology called “Crypto Conditions” into komodod. Similarly to how QTUM extended bitcoin with new OP_CODEs, the komodo protocol has an additional OP_CHECK_CRYPTOCONDITION op code. Op codes are part of the consensus, not only a smart contract synchronous short computation task. Parts of this technology make up the Interledger Payment Method specification draft currently at the w3c.

antara framework

What is Crypto Conditions

Crypto Conditions is an open standard data format submission put before the IETF (Internet Engineering Task Force) who govern some of the Internet standards. This data format is agnostic to the implementation – it can be implemented in any language. It can also be implemented in any cryptographic signing scheme.

Consensus vs Smart Contracts

In this video, Ethereum co-founder, Web3 Consortium president & Polkadot chief engineer Dr Gavin Wood briefly explains where smart contracts limitations are met. Go to 34mins.

Further to the conceptual understanding of consensus vs smart contracts, Consensus is the network rules, transactions occur and block producers are rewarded for ordering the transactions. Smart contracts involve a vendor and a user to a service, plus the additional effort of the consensus layer to order the execution of the smart contracts. This 3rd party in the vendor-user relationship needs to be paid for their service, and this is where gas fees becomes a problem for the economics for developers.

Consensus of a module is not limited by compute, where smart contracts generate higher gas costs for each computation invoked. In saying this, smart contracts from different vendors on a single chain offer synchronous execution whereas consensus between smart chain chain consensus is asynchronous, and take longer to communicate transaction states.

Modularity with Antara Blockchain Components

The humble programmatic object can now be signed and packaged as a UTXO data structure and used in the komodo protocol for network consensus amongst peers. This is what the Antara modules are – blockchain objects.

Objects have a state and this is maintained on the blockchain. The immutable parts (functions) are compiled into machine code and run on every peer, much like a smart contract. The mutable parts are stored on the blockchain in the OP_RETURN data portion. Bitcoin op_return data has a 40 byte limit, not enough for this sentence. Komodo op_return has a 10000 byte limit, enough to write signed crytographic object states.

Custom Module & Loadable Library

Antara offers developers two methods to customize their consensus rules if not using the modules that ship with Komodo. The first is to modify the source of existing modules and include with Komodo. The other is to load custom modules as a library at runtime. All modules can interact with each other once loaded, like any other programming environment. A tutorial on how the Cryptocurrency Heirs consensus is built in the developer documentation along with the Heir API description.

flow of the cryptocurrency inheritance in the heir contract

First Generation Modules Shipped: Blockchain Building Blocks

The first generation of Antara modules included:

  • Faucet: a blockchain enforced single point of coin distribution for new users and applications. This features a proof of work transaction generation to prevent spam.
  • Dice: a now defunct blockchain enforced dice game whose magic showed how two participants, a dealer node and a player node could share a secret to unlock the winning amount of coins.
  • Oracles: an onchain data feed for trusted sources to publish to, with a 8000 byte limit per transaction. The data can be specified as several types including bytes.
  • Gateways: the blockchain enforced method of tokenizing another chain
  • Tokens: a blockchain token with a data portion to represent any asset.
  • Channels: a blockchain preconfigured spending channel in multiple and custom denominations.

These first generation components were developed in 2018 and refined in 2019 to take advantage of the multichain architecture of Komodo.

Filed Under: Bitcoin Integration Tagged With: polkadot, qtum, ripple

Primary Sidebar

  • GitHub
  • Pinterest
  • Twitter

Atomic Swaps For Dummies

The atomic swap infographic explains how the network negotiates the exchange between two users directly P2P!

atomic swaps for dummies - ikomodo infographic

More to See

electrum server load summary

Electrum Server Load During AtomicDEX Stress Test

December 15, 2020 By iKomodo Mylo

Blockchain Dev Kit v1, Electrumx & DEX in 1 hour

August 6, 2020 By iKomodo Mylo

Portable WASM Smart Contracts

June 10, 2020 By iKomodo Mylo

AtomicDEX Orderbook Tutorial – Part 2

May 1, 2020 By iKomodo Mylo

Verus Crypto Mining & Staking Wallet With Blockchain ID – Part 1

April 14, 2020 By Ahmed Shah

Convert Private Key To Bitcoin Private Key

April 21, 2020 By iKomodo Mylo

AtomicDEX Orderbook Tutorial – Part 1

April 30, 2020 By iKomodo Mylo

About atomicDEX orderbook

April 13, 2020 By iKomodo Mylo

Vote Mylo Notary Node Election 2020

Notary Node Election 2020

April 10, 2020 By iKomodo Mylo

TORUS OAuth dApp Authentication

January 6, 2020 By Ahmed Shah

Easily view your crypto wallet with Opera Touch menu

Kyber Swap Review with Opera Touch Crypto Wallet

December 19, 2019 By iKomodo Mylo

Tags

atomic swap Binance browser cdp CEX collaboration collateralized collectibles community composer demo dex dexp2p docker dpow efficiency ethereum gaming gas fees interview iPad listing marketmaker MetaMask mining nft opera touch polkadot presentation price data Proxy Token redfox smartchain stablecoin streaming support synthetic team member trading trading fees tutorial wallet waves webapp whitelabel

Developer API Examples

Atomic Swap API released by Komodo

August 13, 2019 By iKomodo Mylo

Using Insomnia to Get API Data

June 4, 2019 By Ahmed Shah

How To Get Historical Price Data from CoinLayer

June 4, 2019 By Ahmed Shah

How to Get Price Data from Binance

May 27, 2019 By Ahmed Shah

How to use HitBTC public api – example price, pair & volume

May 18, 2019 By Ahmed Shah

How to Get Price Data from BITTREX

May 3, 2019 By Ahmed Shah

How to get Price Index API from Bitcoin Average

April 23, 2019 By Ahmed Shah

Footer

About iKomodo P2P News

A news site for updates in the Komodo Platform P2P ecosystem. This is a Coin Gateways Blockchain Lab blog.

Recent

  • Electrum Server Load During AtomicDEX Stress Test
  • Blockchain Dev Kit v1, Electrumx & DEX in 1 hour
  • Portable WASM Smart Contracts
  • AtomicDEX Orderbook Tutorial – Part 2
  • AtomicDEX Orderbook Tutorial – Part 1

Search

Tags

atomic swap Binance browser cdp CEX collaboration collateralized collectibles community composer demo dex dexp2p docker dpow efficiency ethereum gaming gas fees interview iPad listing marketmaker MetaMask mining nft opera touch polkadot presentation price data Proxy Token redfox smartchain stablecoin streaming support synthetic team member trading trading fees tutorial wallet waves webapp whitelabel

Copyright © 2021 · Magazine Pro on Genesis Framework · WordPress · Log in