|
|
1 year ago | |
|---|---|---|
| .. | ||
| migrations | 1 year ago | |
| programs | 1 year ago | |
| programs_py | 2 years ago | |
| tests | 1 year ago | |
| .gitignore | 2 years ago | |
| .prettierignore | 2 years ago | |
| Anchor.toml | 1 year ago | |
| Cargo.toml | 1 year ago | |
| README.md | 2 years ago | |
| package.json | 1 year ago | |
| tsconfig.json | 1 year ago | |
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.