|
vor 1 Jahr | |
---|---|---|
.. | ||
migrations | vor 2 Jahren | |
programs | vor 1 Jahr | |
programs_py | vor 2 Jahren | |
tests | vor 2 Jahren | |
.gitignore | vor 2 Jahren | |
.prettierignore | vor 2 Jahren | |
Anchor.toml | vor 2 Jahren | |
Cargo.toml | vor 1 Jahr | |
README.md | vor 2 Jahren | |
package.json | vor 2 Jahren | |
tsconfig.json | vor 2 Jahren |
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.