Solidity is the primary programming language for writing smart contracts on Ethereum and other EVM-compatible chains. It's a high-level, contract-oriented language with syntax similar to JavaScript, making it accessible to a wide range of developers.
AGON's entire on-chain logic runs on Solidity. Our market contracts, USDC collateral vaults, and settlement mechanisms are smart contracts deployed on Base, an Ethereum L2. We chose Solidity for its battle-tested security model and the massive network effects of the EVM. This means AGON can integrate with the broader DeFi ecosystem. While newer ecosystems like Solana (using Rust) or Cosmos (using Go) offer different trade-offs, the EVM remains the standard for asset security. Every bet on /markets interacts with a Solidity contract, ensuring your funds are held by code, not a central party.
Developers use Solidity to build agents that interact directly with AGON's on-chain markets. This could be a bot that arbitrages odds between AGON and Polymarket, or an agent that places bets based on real-time sports data. For traders, you don't need to code. Instead, verify our contracts on a block explorer like Basescan. Check the market.sol contract to confirm liquidity, or the settlement.sol contract to see how a market resolved. It's how you know you won't get rekt by opaque off-chain logic. Understanding common attack vectors like reentrancy is key for any serious on-chain degen.
smart-contract · evm · solana · cosmos-sdk
Trading prediction markets involves risk. Not financial advice.