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

Mint transaction template #50

Closed
JakeHartnell opened this issue Nov 21, 2021 · 4 comments
Closed

Mint transaction template #50

JakeHartnell opened this issue Nov 21, 2021 · 4 comments
Assignees

Comments

@JakeHartnell
Copy link
Member

SImilar to the spend template, it would be nice to have a template for a mint transaction.

DAOs now instantiate their own governance token and have complete control over the supply, so this proposal is basically a vote to print money.

Similar to spend, it takes an amount and a recipient.

@gavindoughtie gavindoughtie self-assigned this Nov 21, 2021
@JakeHartnell JakeHartnell added this to the Real Artists Ship milestone Nov 21, 2021
@JakeHartnell
Copy link
Member Author

Added it the milestone. : )

@gavindoughtie
Copy link
Contributor

gavindoughtie commented Nov 22, 2021

Like this?

[ { "bank": { "send": { "to_address": "wasm1mudcxmlg5gxqkwuywuedql79wgy3m02rhw0kf2", "amount": [ { "denom": "ustake", "amount": "33" } ] } } } ]

In this case the user enters the recipient, but shouldn't the recipient be the DAO contract for all the minting?

@JakeHartnell
Copy link
Member Author

Like this?

[ { "bank": { "send": { "to_address": "wasm1mudcxmlg5gxqkwuywuedql79wgy3m02rhw0kf2", "amount": [ { "denom": "ustake", "amount": "33" } ] } } } ]

In this case the user enters the recipient, but shouldn't the recipient be the DAO contract for all the minting?

No, it will be a custom wasm call on the cw20 contract.

@JakeHartnell
Copy link
Member Author

Done.

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

No branches or pull requests

2 participants