Skip to content

Files

Latest commit

b237b18 · Jul 11, 2024

History

History

seahorse

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 4, 2024
Apr 26, 2024
May 31, 2023
Jun 4, 2024
May 25, 2023
May 25, 2023
Jul 11, 2024
Apr 26, 2024
May 31, 2023
Jun 4, 2024
Jun 4, 2024

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.