You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could i pass signer seeds to initialize api to let my contract to create pool with tokens hold by contract itself.
It seems we only can intialzlize token by eoa address.
benhaben
changed the title
Could i
Could i pass signer seeds to initialize api to let my contract to create pool with tokens hold by contract itself.
Jul 31, 2024
Yes.
I thank you can specify your program's authority as the creator, and ensure that your program authority has enough sols to pay the rent, and the program authority is not allocated any space.
Because when the solana system program creates an account to transfer rent, the lamports from account is not allowed to have any data.
refer:https://github.com/solana-labs/solana/blob/master/programs/system/src/system_processor.rs#L192
The text was updated successfully, but these errors were encountered: