Voltar
+20 XP
14/16
Deploy Your Program to Devnet
This is it — you're about to deploy your counter program to the Solana blockchain.
The Deployment Process
Deploying a Solana program involves 4 steps:
- Compile: Your Rust code →
.sobinary (already done by the build server) - Create Buffer: A temporary on-chain account to hold the binary during upload
- Upload Chunks: The binary is uploaded in ~1000-byte chunks (200+ transactions for a typical program)
- Finalize: Link the buffer to a new program account, making it executable
This follows the BPF Loader Upgradeable protocol — the standard way all Anchor programs are deployed.
What You'll See
- 1 wallet popup to create the buffer account
- Batch signing every ~30 chunks (to avoid blockhash expiry)
- A real-time transaction log showing each chunk being confirmed
- Your Program ID when deployment completes
Instructions
- Click Build to compile your counter program
- When the build succeeds, click Deploy to Devnet
- Approve the transactions in your wallet
- Watch the deployment progress in real time!
If deployment fails: Don't worry! The system saves your progress. Click Resume to pick up where you left off — you won't re-upload chunks that already succeeded.
Casos de Teste
Complete counter program compiles successfully
Entrada:
Esperado: true