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

Remove sponsored option from doStxTransfer #168

Open
friedger opened this issue Sep 21, 2021 · 4 comments
Open

Remove sponsored option from doStxTransfer #168

friedger opened this issue Sep 21, 2021 · 4 comments
Labels

Comments

@friedger
Copy link
Contributor

I can't create a sponsored stx transfer transaction using doStxTransfer from connect-react. I can do a sponsored contract call.

I am not sure whether it is a problem with connect-react or with the stacks-wallet-web.

The UI shows tx fees and I guess that the tx would be broadcasted.

@markmhendrickson
Copy link
Contributor

@agraebe did you happen to update connect-react when adding sponsored transaction functionality in addition to connect?

@agraebe
Copy link
Contributor

agraebe commented Sep 21, 2021

oh, I didn't cover connect-react

@friedger
Copy link
Contributor Author

Apparently, stx transfer txs can't be sponsored according to spec.

Then the options for doStxTransfer should not contain sponsored

@markmhendrickson markmhendrickson changed the title doStxTransfer does not recognize sponsored flag Remove sponsored option from doStxTransfer Sep 22, 2021
@agraebe
Copy link
Contributor

agraebe commented Sep 22, 2021

This is also something we should call out in our docs @pgray-hiro.

From SIP005:

Note that if a transaction contains a token-transfer payload, it MUST have only a standard authorization field. It cannot be sponsored.

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

5 participants