John a7bf77e04b delete solang há 1 ano atrás
..
anchor 905b445dc8 anchor basics working há 1 ano atrás
native 17afe2e7a4 add rust workspace and update crates version (#41) há 2 anos atrás
README.md 3bd26a073a PDA rent-payer example há 2 anos atrás

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!