* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Monday, June 30, 2025
Earth-News
  • Home
  • Business
  • Entertainment
    A Secret Society, Ritualistic Killings, and a Century-Old Curse Netflix and YRF Entertainment’s ‘Mandala Murders’ Premieres July 25 – About Netflix

    A Secret Society, Ritualistic Killings, and a Century-Old Curse: Dive into the Chilling World of ‘Mandala Murders’ Premiering July 25

    Susquehanna Raises Penn Entertainment Inc. (PENN) Price Target. – Yahoo Finance

    Susquehanna Raises Price Target for Penn Entertainment Inc. (PENN)

    George Lopez is coming to Spokane – KXLY.com

    George Lopez is coming to Spokane – KXLY.com

    Netflix unveils Dallas immersive venue for fans of hit shows like ‘Squid Game,’ ‘Stranger Things’ – Houston Chronicle

    Step Inside Netflix’s New Dallas Immersive Experience Featuring Hits Like ‘Squid Game’ and ‘Stranger Things

    ‘Puttin’ on the Ritz’: Civic Players bring ‘Young Frankenstein’ to life – Yahoo

    Civic Players Deliver a Hilarious and Unforgettable Performance of ‘Young Frankenstein

    ‘Wheel of Fortune’: Amputee Wins $60,000 After Breaking Incredible ‘Curse’ – Hastings Tribune

    Wheel of Fortune’ Amputee Breaks Incredible ‘Curse’ to Win $60,000!

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    New center coming to Mizzou will focus on energy research and technology – Columbia Missourian

    Mizzou Launches Innovative New Center Dedicated to Energy Research and Technology

    Mirrors in space and underwater curtains: can technology buy us enough time to save the Arctic ice caps? – The Guardian

    Can Technology Like Space Mirrors and Underwater Curtains Buy Us Time to Save the Arctic Ice Caps?

    Naples restaurant owner prepares for hurricane season with new flood technology – Fox4Now.com

    Naples restaurant owner prepares for hurricane season with new flood technology – Fox4Now.com

    Emerging Memory and Storage Technology Market Analysis Report 2025-2034 | AI and HPC Boom Fuels Surging Demand for Fast, Low-Power Memory Devices – Yahoo Finance

    How AI and HPC Are Driving Explosive Growth in Fast, Low-Power Memory Technologies Through 2034

    Ostin Technology (OST): Volatility’s Warning or Contrarian Opportunity? – AInvest

    Ostin Technology (OST): Navigating Market Volatility – Red Flag or Hidden Opportunity?

    St. Francis Medical Center brings advanced robotic surgery technology to Northeast Louisiana – KNOE

    St. Francis Medical Center brings advanced robotic surgery technology to Northeast Louisiana – KNOE

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment
    A Secret Society, Ritualistic Killings, and a Century-Old Curse Netflix and YRF Entertainment’s ‘Mandala Murders’ Premieres July 25 – About Netflix

    A Secret Society, Ritualistic Killings, and a Century-Old Curse: Dive into the Chilling World of ‘Mandala Murders’ Premiering July 25

    Susquehanna Raises Penn Entertainment Inc. (PENN) Price Target. – Yahoo Finance

    Susquehanna Raises Price Target for Penn Entertainment Inc. (PENN)

    George Lopez is coming to Spokane – KXLY.com

    George Lopez is coming to Spokane – KXLY.com

    Netflix unveils Dallas immersive venue for fans of hit shows like ‘Squid Game,’ ‘Stranger Things’ – Houston Chronicle

    Step Inside Netflix’s New Dallas Immersive Experience Featuring Hits Like ‘Squid Game’ and ‘Stranger Things

    ‘Puttin’ on the Ritz’: Civic Players bring ‘Young Frankenstein’ to life – Yahoo

    Civic Players Deliver a Hilarious and Unforgettable Performance of ‘Young Frankenstein

    ‘Wheel of Fortune’: Amputee Wins $60,000 After Breaking Incredible ‘Curse’ – Hastings Tribune

    Wheel of Fortune’ Amputee Breaks Incredible ‘Curse’ to Win $60,000!

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    New center coming to Mizzou will focus on energy research and technology – Columbia Missourian

    Mizzou Launches Innovative New Center Dedicated to Energy Research and Technology

    Mirrors in space and underwater curtains: can technology buy us enough time to save the Arctic ice caps? – The Guardian

    Can Technology Like Space Mirrors and Underwater Curtains Buy Us Time to Save the Arctic Ice Caps?

    Naples restaurant owner prepares for hurricane season with new flood technology – Fox4Now.com

    Naples restaurant owner prepares for hurricane season with new flood technology – Fox4Now.com

    Emerging Memory and Storage Technology Market Analysis Report 2025-2034 | AI and HPC Boom Fuels Surging Demand for Fast, Low-Power Memory Devices – Yahoo Finance

    How AI and HPC Are Driving Explosive Growth in Fast, Low-Power Memory Technologies Through 2034

    Ostin Technology (OST): Volatility’s Warning or Contrarian Opportunity? – AInvest

    Ostin Technology (OST): Navigating Market Volatility – Red Flag or Hidden Opportunity?

    St. Francis Medical Center brings advanced robotic surgery technology to Northeast Louisiana – KNOE

    St. Francis Medical Center brings advanced robotic surgery technology to Northeast Louisiana – KNOE

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
Earth-News
No Result
View All Result
Home Business

On-chain option contracts using covenants

December 19, 2023
in Business
On-chain option contracts using covenants
Share on FacebookShare on Twitter

This post was first published on Medium.

We are excited to announce the implementation of option contracts on chain, utilizing the power of Bitcoin covenants. This allows the execution of sophisticated financial contracts such as call and put options directly on a blockchain, as long as the chain supports Bitcoin-style covenants such as on Bitcoin SV and MVC. Unlike traditional financial platforms that often require multiple intermediaries, on-chain option contracts can reduce settlement times and operational cost, making them more secure, efficient and transparent.

For illustrative purposes, we have implemented both a call and a put option contract that grants the holder the right to buy or sell a certain amount of BSV-20 Ordinals tokens at a set price.

Option contracts

Definition of Options ContractSource: Investopedia

Option contracts offer traders the right, but not the obligation, to buy (call option) or sell (put option) an asset at a predetermined price within a specific time frame. The buyer pays a premium to the seller for this right. Option contracts are commonly used in financial markets for hedging, speculation, and risk management.

A call option example

Let’s consider the following example:

Suppose you believe that the stock of a company, let’s call it XYZ Corp, will increase in value over the next three months. Currently, the stock is trading at $50 per share. You decide to purchase a call option on XYZ Corp with a strike price of $55 and an expiration date three months from now.

In this scenario:

Underlying Asset: XYZ Corp stockCurrent Stock Price: $50 per shareStrike Price of the Call Option: $55 per shareExpiration Date: Three months from today

You pay a premium for the call option, let’s say $3 per share (the premium is the cost of buying the option). By purchasing this call option:

If, three months from now, XYZ Corp’s stock price is above $55 per share, you can exercise your option and buy the stock at the lower strike price of $55. This could allow you to make a profit by immediately selling the stock at its higher market price.If the stock price is below $55 per share after three months, you are not obligated to exercise the option. You can let the option expire, and your loss is limited to the premium you paid.

Implementation

Similar to limit orders on chain, we implement options using covenants. In the context of option contracts, a grantor can lock assets in a covenant contract, which can then be claimed by the grantee if the conditions of the option are met within the stipulated time frame.

Call option

For instance, in a call option, a grantor might lock 100 BSV-20 tokens in a smart contract, allowing a grantee to purchase these tokens at a set price, say, 5000 satoshis per token, before the expiry date.

If the market price exceeds the strike price, the holder can exercise the option, buying BSV-20 tokens at the agreed-upon price, benefiting from the price difference. If the option is not exercised before the expiry date, the contract allows the grantor to reclaim the locked BSV-20 tokens.

Diagram of the exercise of an optionTransaction diagram depicting the exercise of an option

The smart contract has the following public methods:

exercise: this method allows the grantee to exercise the option. It requires the grantee’s signature and performs checks to ensure the validity of the transaction, including the exchange of tokens and payment between the grantee and the grantor.transfer: allows the current holder of the option to transfer it to a new grantee.expire: used by the grantor to handle the contract upon its expiration. It requires the grantor’s signature and checks if the option has expired.

full code of call option

Put option

The structure of a put option contract is quite similar to that of a call option. The primary distinction lies in the fact that the grantor locks the payment in satoshis into the smart contract, rather than the BSV-20 tokens. The grantee can then exercise the option by transferring the tokens to the seller at the predetermined strike price.

However, since the smart contract itself cannot directly verify the validity of the UTXO holding the tokens, which the grantee presents upon exercising the option, we utilize an oracle. This oracle is responsible for verifying and validating the UTXO’s legitimacy through a signature.

full code of put option

Trustlessly trading options

The smart contracts above have only a simple transfer method which allows the current holder to assign a new holder to the option, effectively trading the option in a secondary market.

But since the transfer of an option usually involves the payment of a premium, we can add a sale mechanism directly into the smart contracts above.

We add two public methods:

listForSale: allows the current grantee to list the option for sale with a specified premium. This method requires the grantee’s signature and updates the contract’s sale status and premium amount.buy: enables a new grantee to buy the option if it is for sale. It updates the grantee of the contract and handles the payment of the premium to the previous grantee.

full code of trading options

The full code of both the call option and put option smart contract is available on GitHub.

Watch: Smart contracts are neither ‘smart’ nor ‘contracts’

YouTube video

New to blockchain? Check out CoinGeek’s Blockchain for Beginners section, the ultimate resource guide to learn more about blockchain technology.

>>> Read full article>>>
Copyright for syndicated content belongs to the linked Source : CoinGeek – https://coingeek.com/on-chain-option-contracts-using-covenants/

Tags: businessOn-Chainoption
Previous Post

Bottas attendait plus d’une équipe Sauber qui manque de ressources

Next Post

Brazil targets $4B in taxes from digital assets stored overseas

Aceso Life Science Group Enhances Governance with New Nomination Committee Appointment – TipRanks

Aceso Life Science Group Boosts Leadership with Exciting New Nomination Committee Appointment

June 30, 2025
Aceso Life Science Group Updates Board Composition and Roles – TipRanks

Aceso Life Science Group Updates Board Composition and Roles – TipRanks

June 30, 2025
59 Years Ago Today… – Corvette: Sales, News & Lifestyle – CorvetteBlogger

59 Years Ago Today… – Corvette: Sales, News & Lifestyle – CorvetteBlogger

June 30, 2025
Botafogo sack manager Paiva after Club World Cup exit – Reuters

Botafogo sack manager Paiva after Club World Cup exit – Reuters

June 30, 2025
Deep inside U.S. economy, more sticker prices start going up due to tariffs, and inventory is headed down – CNBC

Soaring Tariffs Drive U.S. Prices Up Amid Shrinking Inventory Levels

June 30, 2025
A Secret Society, Ritualistic Killings, and a Century-Old Curse Netflix and YRF Entertainment’s ‘Mandala Murders’ Premieres July 25 – About Netflix

A Secret Society, Ritualistic Killings, and a Century-Old Curse: Dive into the Chilling World of ‘Mandala Murders’ Premiering July 25

June 30, 2025
Immune Health Supplements Market Size to Reach USD 56.23 – GlobeNewswire

Immune Health Supplements Market Size to Reach USD 56.23 – GlobeNewswire

June 30, 2025
‘I don’t believe in losing’: GOP lawmaker responds to concerns about passing bill | CNN Politics – CNN

‘I don’t believe in losing’: GOP lawmaker responds to concerns about passing bill | CNN Politics – CNN

June 30, 2025
New center coming to Mizzou will focus on energy research and technology – Columbia Missourian

Mizzou Launches Innovative New Center Dedicated to Energy Research and Technology

June 30, 2025
Atlanta Dream Dealt Concerning Loss During Liberty Game – Yahoo Sports

Atlanta Dream Faces Crushing Defeat in Thrilling Liberty Clash

June 30, 2025

Categories

Archives

June 2025
MTWTFSS
 1
2345678
9101112131415
16171819202122
23242526272829
30 
« May    
Earth-News.info

The Earth News is an independent English-language daily published Website from all around the World News

Browse by Category

  • Business (20,132)
  • Ecology (700)
  • Economy (725)
  • Entertainment (21,614)
  • General (15,638)
  • Health (9,764)
  • Lifestyle (730)
  • News (22,149)
  • People (725)
  • Politics (731)
  • Science (15,942)
  • Sports (21,221)
  • Technology (15,709)
  • World (705)

Recent News

Aceso Life Science Group Enhances Governance with New Nomination Committee Appointment – TipRanks

Aceso Life Science Group Boosts Leadership with Exciting New Nomination Committee Appointment

June 30, 2025
Aceso Life Science Group Updates Board Composition and Roles – TipRanks

Aceso Life Science Group Updates Board Composition and Roles – TipRanks

June 30, 2025
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

Go to mobile version