// piggy_bank
A Solana program that lets you lock SOL until a future date. Once the time expires, you can withdraw your funds — not a second before.
# how_to_test
- 1
Get devnet SOL
Grab free tokens from the faucet — you'll need some to lock. faucet.solana.com
- 2
Connect your wallet
Use Phantom, Solflare, or any Solana wallet. Make sure it's set to Devnet.
- 3
Pick amount & duration
Choose how much SOL to lock and for how long (2, 5, or 10 minutes).
- 4
Confirm the transaction
Your wallet will ask you to approve. The SOL is transferred to a lock account on-chain.
- 5
Wait for expiration
The lock card will show "active" until the time is up, then it switches to "expired".
- 6
Unlock your SOL
Hit the unlock button — the program verifies the time and sends your SOL back.