Mewtoo 136b6f2682 add basics/transfer-sol/poseidon (#243) 9 månader sedan
..
anchor 97505283f8 feat: Anchor bankrun (#113) 1 år sedan
native 6d134a7a97 fix: Skip ignoring spl2.0 dependency issue (#2) (#109) 1 år sedan
poseidon 136b6f2682 add basics/transfer-sol/poseidon (#243) 9 månader sedan
seahorse b237b18c1e chore: upgrade to 1.18.17 (#97) 1 år sedan
steel adee195135 add basics/transfer-sol/steel (#201) 9 månader sedan
README.md a2831045ac reorg to match readme 3 år sedan

README.md

Transfer SOL

A simple example of transferring SOL between two system accounts. You can transfer SOL between many types of accounts, not just system accounts (owned by the System Program).

One thing to note here is that we are generating a brand new keypair in the test - both for native and anchor. The act of transferring SOL to the new keypair's account will initialize it as a default system account (hence the /// CHECK above it in the anchor example).