Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added p2_conditions_options_layer #130

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

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.

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