-
Notifications
You must be signed in to change notification settings - Fork 224
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
Receive and transfer Solana SPL token into smart contract #607
Comments
This is not possible yet. I am working on this |
Thanks. May I ask the ETA for that feature if you don't mind? |
I'm drawing up some plans now, there is quite a bit of plumbing involved. I think it should be done by the end of January. |
I think three parts are needed:
|
Is this still within your end of January Timeline? Thank you :) |
@DanBokhari98 some other issues came up with the parser. I'm afraid it will take a little longer. Having said that, large parts have been implemented now. We need a method for passing in accounts to a CPI call. With that in place, all the spl-token glue code can be written. Done by the end of Feb, promise :) |
Has it been completed? |
I am afraid not! 😬 All the new syntax is in place, but there is an issue where the array of accounts that needs to be passed into the CPI call is an array of pointers to structs, not just a plain array of structs. This is some difficult rework, which I've been working on here #685 The spl-token is top priority and I'm not working on anything else. |
I'm building a smart contract that can receive and send Solana SPL tokens, but I don't see any document mention about that or any example from doing that.
Have Solang supported that yet? If it is, please help me find it out. Thank you.
The text was updated successfully, but these errors were encountered: