Lucas Steuernagel 3a4941b700 Update examples according to use the annotation syntax 2 years ago
..
anchor 1f38abb062 update anchor basics examples 2 years ago
native 17afe2e7a4 add rust workspace and update crates version (#41) 2 years ago
seahorse e39cdd2f57 add description for seahorse sol transfer 2 years ago
solang 3a4941b700 Update examples according to use the annotation syntax 2 years ago
README.md a2831045ac reorg to match readme 3 years ago

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