|
il y a 1 an | |
---|---|---|
.. | ||
migrations | il y a 1 an | |
programs | il y a 1 an | |
programs_py | il y a 2 ans | |
tests | il y a 1 an | |
.gitignore | il y a 2 ans | |
.prettierignore | il y a 2 ans | |
Anchor.toml | il y a 1 an | |
Cargo.toml | il y a 1 an | |
README.md | il y a 2 ans | |
package.json | il y a 1 an | |
tsconfig.json | il y a 1 an |
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.