Ayush 2f19e2de19 Merge branch 'main' into native2.1 8 months ago
..
anchor 97505283f8 feat: Anchor bankrun (#113) 1 year ago
native f2971c1253 update native programs to use 2.1 9 months ago
poseidon d535d2cd97 add basics/poseidon/pda_rent_payer (#191) 9 months ago
steel 123c289b85 add basics/pda-rent-payer/steel (#293) 9 months ago
README.md 3bd26a073a PDA rent-payer example 2 years ago

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!