|
před 1 rokem | |
---|---|---|
.. | ||
migrations | před 1 rokem | |
programs | před 1 rokem | |
programs_py | před 2 roky | |
tests | před 1 rokem | |
.gitignore | před 2 roky | |
.prettierignore | před 2 roky | |
Anchor.toml | před 1 rokem | |
Cargo.toml | před 1 rokem | |
README.md | před 2 roky | |
package.json | před 1 rokem | |
tsconfig.json | před 1 rokem |
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.