|
hai 1 ano | |
---|---|---|
.. | ||
migrations | hai 1 ano | |
programs | hai 1 ano | |
programs_py | %!s(int64=2) %!d(string=hai) anos | |
tests | hai 1 ano | |
.gitignore | %!s(int64=2) %!d(string=hai) anos | |
.prettierignore | %!s(int64=2) %!d(string=hai) anos | |
Anchor.toml | %!s(int64=2) %!d(string=hai) anos | |
Cargo.toml | hai 1 ano | |
README.md | %!s(int64=2) %!d(string=hai) anos | |
package.json | hai 1 ano | |
tsconfig.json | hai 1 ano |
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.