🧠BrewEVM

EVM Compatibility & Developer Layer

BrewEVM is the developer-focused extension layer of the BrewDEX protocol. It ensures full compatibility with Ethereum Virtual Machine (EVM) standards and offers tooling that allows developers to deploy custom applications, staking pools, airdrop tasks, and integrations directly on top of BrewDEX.

This layer empowers builders, integrators, and partner protocols to seamlessly compose and extend BrewDEX functionality across chains.

πŸ”— EVM Compatibility

BrewDEX is deployed across EVM-compatible chains, ensuring full support for:

  • Solidity / Vyper smart contracts

  • Standard interfaces like ERC-20, ERC-721, and ERC-4626

  • Wallet integration with MetaMask, OKX Wallet, and Trust Wallet

  • Ethereum-standard JSON-RPC endpoints

  • Contract event subscription and filtering

The BrewCore smart contracts are optimized for EVM execution and gas efficiency. Developers can interact with BrewDEX using familiar tools such as Hardhat, Foundry, Remix, and web3.js / ethers.js.

🧱 Modular Integration Framework

The BrewEVM stack is modular by design. Developers can plug into specific modules without needing to build the full stack:

Module
Integration Possibilities

StakingVaults

Create custom staking pools with unique lock periods or reward curves

RewardHub

Launch airdrop campaigns tied to NFT ownership or DeFi tasks

BridgeGateway

Route tokens cross-chain via custom destinations

ReferralEngine

Plug in third-party referral mechanics or affiliate systems

🧰 SDK & APIs

To simplify integration, BrewDEX provides the following developer tools:

  • JavaScript/TypeScript SDK (coming soon) – for building Web3 frontends

  • GraphQL API (planned) – for querying user stats, staking history, and referral tree

  • REST endpoints – for light clients or off-chain analytics dashboards

  • Webhook support (future roadmap) – to trigger automation when on-chain events are emitted

All SDKs are open-source and maintained via github.com.

βš™οΈ Plugin & Extension Layer

In the future, BrewEVM will support a permissionless plugin system for:

  • Launching new farming pools

  • NFT-based staking extensions

  • GameFi modules

  • Oracles and price feed integrations

  • DAO tooling and voting plugins

Each plugin will be reviewed by the BrewDEX DAO and, if approved, can be whitelisted for interaction via the main interface.

πŸ“œ Developer Guidelines

If you’re building on top of BrewDEX, we recommend:

  • Reviewing BrewCore ABI docs

  • Using testnet deployment templates (available in /examples/ folder)

  • Submitting your integration to integrate@brewdex.app

  • Joining the developer community in our Discord

πŸ” Smart Contract Best Practices

When deploying contracts interacting with BrewDEX:

  • Use reentrancy guards

  • Avoid upgradable proxies unless fully audited

  • Monitor gas limits and chain-specific quirks (e.g. Arbitrum retryable tx)

  • Follow EIP-191 and EIP-712 for secure off-chain signature verification

πŸ§‘β€πŸ’» Example Use Cases

Use Case
How BrewEVM Supports It

Custom staking pool for DAOs

Use StakingVaults and supply custom params

Airdrop for NFT holders

Query NFT ownership + reward via RewardHub

Auto-claim yield system

Use batchExecute() + withdrawRewards()

Flash-loan based arbitrage bot

Connect via LendingPool flash loan interface

πŸ“¦ Testnet Access

You can interact with BrewDEX test contracts on the following networks:

  • BSC Testnet

  • Goerli (Ethereum)

  • Mumbai (Polygon)

  • Arbitrum Testnet

Contracts are published and verified on each network's block explorer.

Last updated