Skip to content

DeFi protocols

Eight studios for launching your own DeFi protocols — distinct from the wallet's built-in swap/bridge screens.

IDStudioPrimary palletsPurpose
P07Staking & GovernanceEmpStaking, CommunityGovernanceValidator staking, on-chain votes
P08Yield VaultsYieldVaultERC-4626 style vaults
P09Liquidity & AMMDex, Oracle, MevProtectionCustom pools and swaps
P10Lending & BorrowingLending, Oracle, InsuranceCollateralized markets
P11Cross-Chain BridgeDracmaBridge, DracmaSync, MultisigCross-chain asset bridges
P12PaymasterPaymaster, AccountAbstractionGas sponsorship (ERC-4337)
P40Derivative StudioDerivatives, OraclePerps and structured products
P42Prediction MarketsPredictionMarket, OracleOutcome markets

P09 · Liquidity & AMM (example)

Typical form fields:

  • Token pair (base / quote)
  • Initial liquidity amounts
  • Fee tier (0.01% – 1%)
  • Oracle provider for price feeds
  • MEV protection toggle

On deploy: Dex.createPool, oracle registration, optional flash-loan guards.

P10 · Lending & Borrowing

  • Collateral asset and LTV ratio
  • Interest rate model (linear / kinked)
  • Liquidation threshold
  • Insurance pool hook (optional)

Connects to Lending + Insurance pallets with oracle-priced collateral.

P11 · Cross-Chain Bridge

  • Source / destination chain
  • Wrapped asset mapping
  • Multisig threshold for bridge operators
  • Daily volume caps

Uses DracmaBridge and DracmaSync for EmpoorioChain ↔ EVM bridges.

Wallet DeFi vs Creator Studio

ActionWhere
Swap your tokensHome → Swap (existing DEX integration)
Bridge DMSHome → Bridge
Stake DMSStaking screen
Launch a new poolCreator Studio → P09
Launch a lending marketCreator Studio → P10

Wallet DeFi guide · How to launch · Architecture