|
há 1 ano atrás | |
---|---|---|
.. | ||
migrations | há 1 ano atrás | |
programs | há 1 ano atrás | |
programs_py | há 2 anos atrás | |
tests | há 1 ano atrás | |
.gitignore | há 2 anos atrás | |
.prettierignore | há 2 anos atrás | |
Anchor.toml | há 2 anos atrás | |
Cargo.toml | há 1 ano atrás | |
README.md | há 2 anos atrás | |
package.json | há 1 ano atrás | |
tsconfig.json | há 1 ano atrás |
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.