|
4 mesi fa | |
---|---|---|
.. | ||
anchor | 4 mesi fa | |
native | 1 anno fa | |
steel | 9 mesi fa | |
README.md | 2 anni fa |
This examples demonstrates how to use a PDA to pay the rent for the creation of a new account.
The key here is accounts on Solana are automatically created under ownership of the System Program when you transfer lamports to them. So, you can just transfer lamports from your PDA to the new account's public key!