John 905b445dc8 anchor basics working 1 yıl önce
..
anchor 905b445dc8 anchor basics working 1 yıl önce
native 17afe2e7a4 add rust workspace and update crates version (#41) 2 yıl önce
solang f116e3891a update to @coral-xyz/spl-token 0.30.0 1 yıl önce
README.md 3bd26a073a PDA rent-payer example 2 yıl önce

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!