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

[Feature]: Sponsor Transaction in Return for sBTC Clarity Contract Templates #324

Open
4 tasks
AshtonStephens opened this issue Jul 12, 2024 · 0 comments
Open
4 tasks
Assignees

Comments

@AshtonStephens
Copy link
Collaborator

Feature - Sponsor Transaction in Return for sBTC Clarity Contract Templates

1. Description

This ticket is to create and design the Clarity contract templates that enable a contract to be sponsored by an address with STX in return for sBTC.

1.1 Context & Purpose

This template is required to make it easier for app develpers to write clarity contracts that they can sponsor in return some small fee in sBTC so that their system is self sustaining. The idea is that the sBTC project can provide some default templates for developers to use so they aren't re-inventing the wheel.

This is an issue that first suggests this idea:

2. Technical Details:

This ticket is to create the Clarity contract templates and document how to use it in the developer documentation.

  • Template to have the transaction sponsored in return for sBTC
  • Template to have the transaction sponsored in return for NO sBTC

Note that the second one may just be documentation for how to get a contract sponsored in general and involve not template.

2.1 Acceptance Criteria:

  • Write a demo contract that meets the criteria for sponsorship in return for sBTC
  • Test the contract
  • Get the contract internally-audited
  • Document the contract and how to use it in developer documents

3. Related Issues and Pull Requests (optional):

@AshtonStephens AshtonStephens self-assigned this Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs Triage
Development

No branches or pull requests

1 participant