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

Support Stacks Txs over BTC Requests #286

Open
janniks opened this issue Nov 10, 2022 · 2 comments
Open

Support Stacks Txs over BTC Requests #286

janniks opened this issue Nov 10, 2022 · 2 comments
Labels

Comments

@janniks
Copy link
Collaborator

janniks commented Nov 10, 2022

Related to #283

We have btc wire formats for different stack features. Like stx transfer with memo:
https://github.com/stacks-network/stacks-blockchain/blob/26bfd5fcdc1f25106288f18ced05290b569f6abb/src/chainstate/burn/operations/transfer_stx.rs

openBtcStxTransfer, openBtcStackStx, openBtcDelegateStx,...

@janniks janniks changed the title Support Stacks Txs over BTC Support Stacks Txs over BTC Requests Nov 10, 2022
@friedger
Copy link
Contributor

To me, it makes more sense to have 1 interface for all these tx, not 3+

I am looking for something more like openContractCall. Maybe openBtcStacksOperation with a parameter for the transaction/operation the app wants to perform.

@whoabuddy
Copy link

I think it would make sense to group the items defined in SIP-007 together as @friedger described, but see this as separate from a wallet wanting to initiate a simple BTC transfer.

They're also a bit more complicated, a full walkthrough of the process can be seen in the second half of this issue.

  • SIP-007: PreStxOp, StackStxOp, TransferStxOp
  • SIP-015 also adds a delegate-stx operation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants