We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The idea is to wrap an stx-transfer inside a fungible token (sip10) contract.
(define-public (mint-with (token <ft-trait>))
Payment methods can be set per resource (or via a default);
(pricing (unwrap! (map-get? payment-info (contract-of token)) ERR_UNKNOWN_TENDER))
and paid with generalised token;
(try! (contract-call? token transfer artistAmount contract-caller artistAddress none))
This way payment token can be specified by the resource as opposed to set in advance.
See this thread for generalised payments.
Also see this implementation of the idea
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The idea is to wrap an stx-transfer inside a fungible token (sip10) contract.
Payment methods can be set per resource (or via a default);
and paid with generalised token;
This way payment token can be specified by the resource as opposed to set in advance.
See this thread for generalised payments.
Also see this implementation of the idea
The text was updated successfully, but these errors were encountered: