Quick Start Guide
Introduction
Get started with PrimapePrediction in just a few simple steps.
1. Connect Your Wallet
To interact with PrimapePrediction, you'll need to connect a compatible Ethereum wallet. We support MetaMask, WalletConnect, and other popular Ethereum wallets.
2. Explore Available Markets
Browse through the list of open prediction markets. You can filter by category, end time, or total pool size.
3. Buy Shares
Once you've found a market you're interested in, buy shares in the outcome you predict will occur. Remember, you can buy shares in multiple outcomes if you wish.
4. Wait for Market Resolution
After the event occurs, the market will be resolved by the platform owner or designated resolvers.
5. Claim Your Winnings
If your predicted outcome is correct, you can claim your winnings. Make sure to claim before the claim deadline!
Example: Participating in a Market
// Assuming you've already connected your wallet
// Get market info
const marketInfo = await contract.getMarketInfo(marketId);
console.log(marketInfo);
// Buy shares
const optionIndex = 1; // The index of your chosen outcome
const amountToBet = ethers.utils.parseEther("0.1"); // Betting 0.1 ETH
await contract.buyShares(marketId, optionIndex, { value: amountToBet });
// After market resolution, if you've won:
await contract.claimWinnings(marketId);
Next Steps
Dive deeper into our documentation to learn about advanced features, market creation (for authorized creators), and more.