Skip to content
Merged
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
2 changes: 1 addition & 1 deletion fern/api-reference/solana/hello-world-application.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export default function Home() {
npm run dev
```

# 🎉 Success
## 🎉 Success

You now have a working Solana program deployed on Solana devnet!

Expand Down
14 changes: 7 additions & 7 deletions fern/api-reference/solana/hello-world.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ solana-program = "1.18.0"

***

# Step 3: Write the Hello World program
## Step 3: Write the Hello World program

Put this into `src/lib.rs`:

Expand Down Expand Up @@ -113,7 +113,7 @@ fn process_instruction(

***

# Step 4: Build the program
## Step 4: Build the program

```bash
cargo build-sbf
Expand All @@ -128,7 +128,7 @@ hello_world-keypair.json

***

# Step 5: Create a Solana keypair
## Step 5: Create a Solana keypair

```bash
solana-keygen new
Expand All @@ -147,7 +147,7 @@ This wallet will pay for your deployments!

***

# Step 6: Set your network to devnet
## Step 6: Set your network to devnet

Use Alchemy:

Expand All @@ -159,7 +159,7 @@ Your terminal will output a confirmation message. ✅

***

# Step 7: Airdrop SOL
## Step 7: Airdrop SOL

```bash
solana airdrop 0.2
Expand All @@ -169,7 +169,7 @@ solana airdrop 0.2

***

# Step 8: Deploy your program
## Step 8: Deploy your program

```bash
solana program deploy target/deploy/hello_world.so
Expand All @@ -185,7 +185,7 @@ Signature: yhJxt2ovd3SzGRZbhTkWajkA3uvhX8iqLzuWSrPYyW6AAqZjD2Vq1ApxSAUS5ywQyUnwD

***

# Step 9: Invoke program via Alchemy RPC
## Step 9: Invoke program via Alchemy RPC

```ts
import {
Expand Down
Loading