-
Notifications
You must be signed in to change notification settings - Fork 1
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
Implement Tokens to mint
init parameter
#27
Comments
i'm working on this at feature/mint-tokens-on-init , possible to have a quick look (if you have some free time) on why it fails to mint at i have a test you can run |
Hello @iamIcarus I looked at your code. My guess the issue is in multiple sends with Recently read Tact docs and find out about |
thank you for taking a look and for the pointers , much appreciated! I’ll look into |
Looks complicated. But i can't imagine how to simplify it. |
i was thinking about it as well, my thoughts are that It does look overcomplicated, wanted to check with you if you have any suggestions or improvements 😃 The general idea of this implementation is:
|
Ok, I agree with the idea of Also i think we should send this message after jetton transfering and put remaining toncoins to it, not to mint message. Because if user hasn't set |
good catch , i'll rework that part |
Some other jetton implementations have initial "Tokens to mint" parameter. It allows mint tokens on jetton deploy phase.
I think we should implement that parameter and add it to JettonInit and if it's present, specified amount of tokens will be minted and transfered to owner account
The text was updated successfully, but these errors were encountered: