|
hace 1 año | |
---|---|---|
.. | ||
migrations | hace 1 año | |
programs | hace 1 año | |
programs_py | hace 2 años | |
tests | hace 1 año | |
.gitignore | hace 2 años | |
.prettierignore | hace 2 años | |
Anchor.toml | hace 2 años | |
Cargo.toml | hace 1 año | |
README.md | hace 2 años | |
package.json | hace 1 año | |
tsconfig.json | hace 1 año |
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.