Skip to content

added p2_conditions_options_layer#130

Closed
cameroncooper wants to merge 3 commits intoxch-dev:mainfrom
cameroncooper:options
Closed

added p2_conditions_options_layer#130
cameroncooper wants to merge 3 commits intoxch-dev:mainfrom
cameroncooper:options

Conversation

@cameroncooper
Copy link

Working on adding options contracts. WIP.

Copy link
Collaborator

@Rigidity Rigidity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm soon™️

@cameroncooper
Copy link
Author

The general idea with options is you have some coin that is locked up and can be spent 2 ways:

Before timestamp X it can be traded for Y as long as the contract NFT is sent to the burn address. This is executing the contract.

After timestamp X it can be spent to a puzzle hash predetermined by the maker. This is taking back funds from an expired contract.

@Rigidity
Copy link
Collaborator

Closing for now, in favor of the new implementation - CHIP is here Chia-Network/chips#152

@Rigidity Rigidity closed this Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants