// dutch_auction
A descending-price auction on Solana. The seller sets a start price that linearly decreases to an end price over a time window. Buyers can purchase at the current price at any moment — first come, first served.
> price = start_price - (elapsed / duration) * price_range
// price drops every second until someone buys
# how_to_test
- 1
Get devnet SOL
Grab free tokens from the faucet for gas fees. faucet.solana.com
- 2
Create SPL tokens
Use "spl-token create-token" and "spl-token mint" to create test tokens on devnet.
- 3
Connect your wallet
Use Phantom, Solflare, or any Solana wallet set to Devnet.
- 4
Create an auction (Sell tab)
Enter mint addresses, amount, price range, and duration. Tokens are escrowed on-chain.
- 5
Watch the price drop (Buy tab)
The price decreases linearly every second. Buy at any moment for the current price.
- 6
Buy or cancel
Buyers purchase at the live price. Sellers can cancel before the auction starts.