rain-create-market
Rain — Create Market
Create prediction markets on Arbitrum One using @buidlrrr/rain-sdk.
npm install @buidlrrr/rain-sdk # peer dep: viem ^2.0.0
How It Works
buildCreateMarketTx returns an array of unsigned transactions. The first may be a token approval, the second is the market creation. Execute them sequentially — the caller signs and sends.
import { Rain } from '@buidlrrr/rain-sdk';
const rain = new Rain({ environment: 'production' });
More from rain1-labs/rain-sdk
rain-data
Query data from the Rain prediction-markets protocol (Arbitrum One) using @buidlrrr/rain-sdk. Use when: fetching market listings, prices, volume, liquidity, positions, portfolio values, transaction history, price charts (OHLCV), P&L analytics, leaderboards, protocol stats, or subscribing to live WebSocket price/event feeds from Rain.
9rain-trade
Trade on Rain prediction markets (Arbitrum One) using @buidlrrr/rain-sdk. Use when: buying or selling option shares, placing limit orders, canceling orders, adding liquidity, claiming winnings, building trading bots, or any on-chain trading interaction with the Rain protocol.
7