John b4618e8ede Merge branch 'main' into anchor-update пре 1 година
..
anchor b4618e8ede Merge branch 'main' into anchor-update пре 1 година
native a70c93ba45 test: Adding test jobs github actions for anchor and solana native 💚 (#76) пре 1 година
README.md 3bd26a073a PDA rent-payer example пре 2 година

README.md

PDA Rent-Payer

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!