Staking Contract Test Harness
DEV ONLYTest approve → stake → unstake → claimRewards against a live network before mainnet deployment.
Setup Checklist
useStakingContract hook — network-aware (mainnet / Sepolia)
StakingContractPanel wired into /staking page
POST /api/staking records txHash in DB
Staking contract deployed: 0x715EAaD84eDa0d52ffE873Bc9C3a47C69F4e8b2b
Mock TKO token deployed: 0xff42bbe4f9f6310c8f62e6f2b25199d363f7c344
NETWORK_CONFIGS.sepolia ready: true — testnet fully active
eth_requestAccounts — wallet connect prompt on first action
Mint test TKO to your wallet via token.mint() on Sepolia Etherscan
Add Sepolia to Coinbase Wallet + get test ETH from faucet.coinbase.com
0. Connect Wallet
Click below to connect Coinbase Wallet, MetaMask, or any injected Web3 wallet.
1. Select Network
2. Pre-flight Check
Connect your wallet and click "Run Check" to verify the network, token balance, and current allowance.
3. Contract Interactions
Approve + Stake2 wallet confirmations
Unstake1 wallet confirmation
Claim Rewards1 wallet confirmation
Calls claimRewards() on the staking contract. The contract must have accrued rewards for this wallet.
Activity Log
This page is not linked from navigation. Access via
/staking-test. Add noindex is already set — it won't appear in search results.