Back to leaderboard
Season 1 · DeFi & Open Finance

Opet

Stake your OPN. Earn with confidence. Secure your assets and receive transparent, predictable rewards on OPN Chain.

WithdrawnDeFi & Open Finance

by 0ne888 · submitted Jul 20, 2026

Community votes

0

Voting opens when this submission reaches the Top 10 stage.

Overall score

0.0/ 100

Weighted average across the 5 judging criteria.

Description

01/03

What the builder said.

Written by the team, rendered as the markdown they typed in the submission wizard.

What We Built

Opet is a native OPN staking dApp on the OPN Chain (Testnet, Chain ID 984). Users connect their wallets, stake OPN directly into a smart contract pool, and earn growing OPN rewards based on their share in the pool. The app includes real-time pool statistics (total staked, live APY, pending rewards), a complete transaction history read from on-chain events, and a wallet dropdown menu with balances, copy addresses, and explorer links.

Why

Most staking demos stop at "connect wallet, click staking." We wanted something closer to what real DeFi products need: proper reward accounting, protection against common exploits, and an interface that is honest about risks. Along the way, writing an automated test suite caught two real accounting bugs in our own contract before they reached users—a good reminder that "works on Remix" is not the same as "safe."

How It Works

  • Users stake native OPN via stake(); rewards accumulate per second, proportional to each user's share of the pool (accumulator-based reward math, not a simple per-block split)
  • unstake() and claimReward() are always available—even if the contract is paused—so staked funds are never locked
  • The reward pool is tracked separately from the staked principal (rewardPoolBalance), so reward shortfalls never reduce other users' deposits
  • ReentrancyGuard on every fund transfer function, plus an emergencyWithdraw() exit as a last resort
  • 22 Foundry tests covering staking, unstaking, proportional reward splits, pausing behavior, access control, and simulated reentrancy attacks
  • Frontend: Vite + React + wagmi/viem, with live on-chain reading (no mock data) and toast/error handling for failed or rejected transactions

Roadmap

02/03

What ships next.

The builder's own next-quarter plan. Use it to gauge follow-through and ambition.

Q3 2026 - Testnet Launch

In Q3, we will launch Opet on the OPN Chain Testnet with native OPN staking features, a real-time dashboard, transparent reward distribution, on-chain transaction history, and thorough testing to ensure the protocol's security and stability before launching on the mainnet.

Q4 2026 - Mainnet Preparation (Coming Soon)

In Q4, we will focus on refining Opet based on community feedback, improving the performance and security of smart contracts, and preparing for launch on the OPN Mainnet once the mainnet is available. This phase also includes the development of additional features to enhance the user experience and expand the Opet ecosystem.

On-chain proof

03/03

1 contract on OPN Chain.

The chain itself confirmed every deployment is valid, signed by the builder's wallet, and inside the season's window.

  • 01StakingPoolPrimary

    0x372fbB90439885Da7f913A069BDC489Faa1f5B7F

    tx 0x7b6d8b3d9dca3bbbb62f5de9baf2ad15b26d2ff1f8f2696dd3a080dd3ac4f292

    deployed Jul 20, 2026 · block 20847829