Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ invoked in the onchain program.

### Instructions

In previous lessons, we used the `SystemProgram.transfer()` function from
`@solana/web3.js`, which creates an instruction for the System program to
In previous lessons, we used the `SystemProgram.transfer()` function from
`@solana/web3.js`, which creates an instruction for the System program to
transfer SOL.

When working with other programs, however, you'll need to create instructions
Expand Down
2 changes: 1 addition & 1 deletion content/courses/solana-pay/solana-pay.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ async function post(req: PublicKey, res: PublicKey) {
fromPubkey: new PublicKey(account),
toPubkey: Keypair.generate().publicKey,
lamports: 0.001 * LAMPORTS_PER_SOL,
});
});

transaction.add(instruction);

Expand Down
Loading