A trustless savings vault on OPN Chain. Deposit, earn 5% APR calculated per-second, and withdraw anytime β no middlemen, no lockups.
Three simple steps to start earning on OPN Chain
Send OPN to the vault. Your balance is tracked on-chain with per-second precision. No minimum, no lockup period.
5% APR compounds every second. Yield is calculated from your last interaction β the longer you hold, the more you earn.
Full flexibility. Withdraw principal anytime, claim yield separately, or cash out everything in one transaction.
Smart contract on OPN Chain β immutable, no admin keys, no upgrade proxies. Your funds, your rules.
Built on OPN Chain's 10,000+ TPS with sub-second finality. Interactions confirm before you blink.
Works with MetaMask, WalletConnect, and any EVM wallet. Standard Solidity β auditable and composable.
Zero dependencies. Pure Solidity on OPN Chain.
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
contract SavingsVault {
uint256 public constant ANNUAL_RATE_BPS = 500; // 5%
struct DepositInfo {
uint256 amount;
uint256 lastUpdated;
uint256 accruedYield;
}
mapping(address => DepositInfo) public deposits;
function deposit() external payable;
function withdraw(uint256 amount) external;
function claimYield() external;
function pendingYield(address) view returns (uint256);
}
Connect your wallet to deposit, withdraw, and claim yield