Can I do Native from inside Anchor?

Title: Can I do Native from inside Anchor?

Summary

I understand there’s thing one cannot do in Anchor but could do in a native rust program. I guess an example could be creating more than one account in the same Instruction invocation?

Assuming my example were correct (you can do it with native, but not the Anchor way). Can I use the same kind of code I would use in a native program (something like invoke_signed(&system_instruction::create_account(... ) although the rest of the project is Anchor?

Thanks in advance. Sorry if this question makes little sense, I’m new to Solana :sweat_smile:

1 Like