In the decentralized futures market of monad.
- Pre-market Trading: Trade tokens of upcoming projects before they go live.
- Conduct mainstream Token futures trading: Conduct transactions of mainstream tokens such as WETH and WBTC.
- Order Placement: Buyers and sellers place orders with specified price and amount in USDC.
- Collateral Handling: Sellers pledge token collateral; buyers lock USDC collateral against orders.
- Execution & Settlement: Orders match off-chain; collateral and tokens settle on-chain at market close.
- Pledge & Refund: Unmatched orders can be canceled before settlement time, subject to cancellation fees.
- Node.js v16+ and npm or Yarn
- Hardhat (v2.22+)
# Clone the repository
git clone [email protected]:Ligengxin96/monad-premarket.git
cd monad-premarket
# Install dependencies
npm install # or yarnCreate a .env file with the following variables:
Monad_Testnet_RPC=<Your MONAD RPC URL>
PRIVATE_KEY1=<Your deployer account private key>
# Deploy contracts via Ignition
npx hardhat run scripts/deploy.js --network monadThis project is licensed under the AGPL-3.0 License. See the LICENSE file for details.