John b4618e8ede Merge branch 'main' into anchor-update 1 年之前
..
anchor b4618e8ede Merge branch 'main' into anchor-update 1 年之前
native a70c93ba45 test: Adding test jobs github actions for anchor and solana native 💚 (#76) 1 年之前
seahorse f2d93baee1 add resolver = "2" to fix compile warning 1 年之前
README.md a2831045ac reorg to match readme 3 年之前

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).