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