# Contributing to RAIN Risk Markets

Thanks for your interest! This project is MIT-licensed — fork freely.

## How to collaborate

**If this code is hosted on GitHub:**
1. Fork the repo.
2. Create a feature branch (`git checkout -b feat/my-idea`).
3. Make changes; for protocol code run `forge test` and keep the
   value-conservation invariant tests green.
4. Open a Pull Request with a clear description.
5. For bugs, ideas, or design feedback — open an Issue instead. Small
   questions welcome; no contribution is too minor.

**If you downloaded this from the site (/code/):**
- Grab the zip, hack away, and send feedback / diffs to the site owner
  through whatever channel you got this link from. Patches as unified
  diffs (`git diff`) are easiest to review.

## Trying it live

- DEMO mode at https://rainsandbox.xyz/app/ needs no wallet extension —
  a burner wallet is auto-created in your browser.
- A demo faucet redeem code (free play-money RUSD + gas) is available
  **from the site owner on request** — it's intentionally not printed here.

## Ground rules

- Protocol changes must preserve value conservation: worst-case payouts are
  fully reserved at placement; the vault can never owe more than it holds.
- New markets must respect the EV spread floor (≤ 98.75%).
- Keep the dApp build-free (plain HTML/JS/ethers v6).
