* docs: add CONTRIBUTING.md (dry-run rule, private security reports, MIT, PR checks, bounties) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: cover dry-run exceptions, UI checks and setup in CONTRIBUTING.md Cash out and the sBTC and USDCx withdrawals broadcast in dry run, so the ground rules now name them. Step 4 adds npm install, the Node 20 requirement and the ui/ build. AGENTS.md and the README link the guide. --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Bought <120880223+boughtbtc@users.noreply.github.com>
2 KiB
2 KiB
Contributing to the Bitflow Market Maker Starter Kit
Thanks for helping improve the kit. Contributions from people and AI agents are both welcome.
Ground rules
- Dry run only. Keep
EXECUTION_MODE=dry_run, or use mocks and tests. Don't broadcast mainnet transactions, fund a wallet or ask anyone for funds to build or test a change. - Dry run doesn't stop everything. Cash out, the sBTC withdrawal and the USDCx withdrawal sign and broadcast even in dry run, because leaving is not trading. Never run them against a wallet that holds funds. Test them with mocks, the preview bots, or
npm run ui:demofor the Bridge page. - Security issues stay private. If you find something that could lose user funds or expose a key, don't open an issue or PR. Report it through GitHub's private vulnerability reporting on this repo (Security tab, "Report a vulnerability"), as SECURITY.md describes.
- License. By opening a PR you agree your contribution is licensed under this repo's MIT license.
Pull requests
- Fork the repo and branch from
main. - Keep each PR to one change, with a short description of what it fixes and how you checked it.
- For a bug fix, add a test that fails before your change and passes after it.
- Before opening the PR, run these from the repo root. You need Node 20 or newer.
These don't cover the page innpm install npm test npm run typecheck npm run buildui/. If your change touchesui/, also run:npm --prefix ui install npm --prefix ui run build - A Bitflow maintainer reviews every PR. Merging is never automatic.
Bounties
Some work on this repo is posted as paid bounties on the AIBTC bounty board (https://aibtc.com/bounties), funded by Bitflow. Each bounty's own description sets its scope, reward and how it's judged. Opening a PR here doesn't by itself enter you for a bounty; submit through the bounty board as its rules say. A PR can be merged with credit even if it doesn't win.