Getting Started
Step-by-Step Guide
Follow these steps to start competing in 5xFaction.
Step 1: Connect Your Wallet
Navigate to 5xFaction App
Click "Connect Wallet" in the navigation bar
Select your preferred wallet (MetaMask, Coinbase, etc.)
Approve the connection request
Ensure you're on Arbitrum Sepolia network
sequenceDiagram
participant User
participant App
participant Wallet
participant Privy
User->>App: Click Connect Wallet
App->>Privy: Initialize Auth
Privy->>Wallet: Request Connection
Wallet->>User: Approve Prompt
User->>Wallet: Approve
Wallet->>Privy: Connected
Privy->>App: User Authenticated
App->>User: Show DashboardStep 2: Get Test USDC
Since this is testnet, you'll need mock USDC:
Go to the Arena page
Find the "Mint USDC" button
Enter amount (e.g., 1000)
Click Mint and confirm transaction
Wait for confirmation
Note: This mints test tokens only. No real value.
Step 3: Approve USDC
Before staking, you must approve the contract to spend your USDC:
Enter the amount you want to stake
Click "Approve" button
Confirm the approval transaction
Wait for confirmation
Step 4: Choose Your Faction
Study the five factions and their relationships:
SHADOW

Spirit, Wind
Blade, Pillar
BLADE

Shadow, Pillar
Spirit, Wind
SPIRIT

Blade, Wind
Shadow, Pillar
PILLAR

Shadow, Spirit
Blade, Wind
WIND

Blade, Pillar
Shadow, Spirit
Consider:
Current TVL distribution
Which faction has the best score potential
Time remaining in deposit phase (2 days max)
Step 5: Stake Your USDC
Select your chosen faction (click the faction card)
Enter stake amount
Click "Stake" button
Confirm the transaction
Wait for confirmation
Step 6: Monitor the Game
During the 7-day epoch:
Deposit Phase (Days 1-2)
Watch TVL changes across all factions
Track your faction's score in real-time
Add more stake if needed
Strategize based on other players' moves
Lock Phase (Days 3-7)
Strategy is locked
Yield is being generated
Monitor final standings
Prepare for next epoch
Step 7: Claim Yield (If You Win)
If your faction wins the epoch:
Wait for epoch to end (Day 7)
clearCanvas()is called (by anyone)Your yield is automatically available
Claim via the Portfolio page
Step 8: Withdraw Anytime
Your principal is always safe:
Go to Arena or Portfolio
Click "Withdraw"
Enter amount (or max)
Confirm transaction
USDC returned to your wallet
Epoch Timeline
Common Issues
Transaction fails
Check gas, network, and balance
Can't stake
Ensure you've approved USDC first
Can't stake
Ensure you're in deposit phase (Days 1-2)
Wrong network
Switch to Arbitrum Sepolia
No USDC
Use the Mint function
Last updated
