|
пре 1 година | |
---|---|---|
.. | ||
migrations | пре 1 година | |
programs | пре 1 година | |
programs_py | пре 2 година | |
tests | пре 1 година | |
.gitignore | пре 2 година | |
.prettierignore | пре 2 година | |
Anchor.toml | пре 2 година | |
Cargo.toml | пре 1 година | |
README.md | пре 2 година | |
package.json | пре 1 година | |
tsconfig.json | пре 1 година |
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.