Transaction Process
This document explains the technical process of transactions on the Bettors platform, from initiation to confirmation.
Transaction Flow
When you place a bet on Bettors, the following process occurs:
Bet Initiation: You select a prediction and position (For/Against) and enter an amount
Transaction Creation: The platform creates a Solana transaction with two instructions:
Transfer 99% of bet amount to the betting pool
Transfer 1% platform fee to the fee wallet
Wallet Prompt: Your connected wallet prompts you to approve the transaction
On-chain Execution: Upon approval, the transaction is sent to the Solana network
Confirmation: The platform waits for network confirmation
UI Update: The betting UI updates to reflect your new bet
Technical Implementation
Transaction Construction
Lamports Conversion
All Solana transactions use lamports (the smallest unit of SOL):
1 SOL = 1,000,000,000 lamports
Example: 1.5 SOL bet = 1,500,000,000 lamports
Transaction Fees
When betting on Bettors:
You pay a 1% platform fee on your bet amount
You also pay standard Solana network transaction fees (typically <0.00001 SOL)
Ensure you have sufficient SOL to cover both your bet and transaction fees
Transaction Status and Notifications
The platform provides real-time feedback on transaction status:
Processing: Shown while the transaction is being processed
Success: Notification appears when the transaction is confirmed
Failure: Error message with reason if the transaction fails
Declined: Notification if you decline the transaction in your wallet
Transaction Finality
Solana transactions typically reach finality within seconds. On Bettors:
Your bet is considered placed once the transaction reaches finality
The UI updates immediately to show your bet's impact on pool dynamics
Your bet is recorded in the platform database for tracking in "My Bets"
Error Handling
Common transaction errors and resolutions:
Insufficient funds
Wallet lacks SOL for bet + fees
Add more SOL to your wallet
User rejected
Transaction declined in wallet
Re-initiate the bet if desired
Timeout
Transaction took too long
Try again with a new transaction
Network error
Connection issue with Solana
Check network status and retry
Transaction History
All your betting transactions can be viewed:
In the "My Bets" section of Bettors
In your Solana wallet's transaction history
On Solana block explorers by searching your wallet address