Creating Your First Market

const fortuna = new Fortuna({ chain: 'base' });

const market = await fortuna.createMarket({
  question: "Will ETH ETF be approved by July 2025?",
  outcomes: ["Yes", "No"],
  endTime: new Date("2025-07-31"),
  collateral: "USDC",
  fee: 0.02 // 2%
});

Last updated