John b4618e8ede Merge branch 'main' into anchor-update 1 năm trước cách đây
..
anchor b4618e8ede Merge branch 'main' into anchor-update 1 năm trước cách đây
native a70c93ba45 test: Adding test jobs github actions for anchor and solana native 💚 (#76) 1 năm trước cách đây
README.md 3bd26a073a PDA rent-payer example 2 năm trước cách đây

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!