Ayush a3b87a4948 update: tokens native, formatter, trigger action on project changes (#81) há 1 ano atrás
..
migrations a3b87a4948 update: tokens native, formatter, trigger action on project changes (#81) há 1 ano atrás
programs 70efc6010f add idl-build to cargo.toml features há 1 ano atrás
programs_py 60e55ad6fd update function name to transfer with cpi há 2 anos atrás
tests a3b87a4948 update: tokens native, formatter, trigger action on project changes (#81) há 1 ano atrás
.gitignore 3f59790e93 add seahorse transfer sol example há 2 anos atrás
.prettierignore 3f59790e93 add seahorse transfer sol example há 2 anos atrás
Anchor.toml 3f59790e93 add seahorse transfer sol example há 2 anos atrás
Cargo.toml f2d93baee1 add resolver = "2" to fix compile warning há 1 ano atrás
README.md e39cdd2f57 add description for seahorse sol transfer há 2 anos atrás
package.json a3b87a4948 update: tokens native, formatter, trigger action on project changes (#81) há 1 ano atrás
tsconfig.json a3b87a4948 update: tokens native, formatter, trigger action on project changes (#81) há 1 ano atrás

README.md

Transfer SOL with Seahorse

Sadly, you can't send SOL(lamports) to another SystemAccount (Public Key) with Seahorse. That's why this Seahorse example looks a little different than the Anchor and Native ones. Here, we initialize a Mock PDA account where we send SOL to using transferLamports, which invokes a CPI with the System Program.