mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2025-12-06 13:54:41 +08:00
- Add PostgreSQL + SQLite hybrid database support with automatic switching - Implement frontend AES-GCM + RSA-OAEP encryption for sensitive data - Add comprehensive DatabaseInterface with all required methods - Fix compilation issues with interface consistency - Update all database method signatures to use DatabaseInterface - Add missing UpdateTraderInitialBalance method to PostgreSQL implementation - Integrate RSA public key distribution via /api/config endpoint - Add frontend crypto service with proper error handling - Support graceful degradation between encrypted and plaintext transmission - Add directory creation for RSA keys and PEM parsing fixes - Test both SQLite and PostgreSQL modes successfully 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: tinkle-community <tinklefund@gmail.com>
225 lines
4.6 KiB
Markdown
225 lines
4.6 KiB
Markdown
# 📝 如何在 GitHub 发布集成任务 (Bounty)
|
||
|
||
## 🎯 发布步骤
|
||
|
||
### 方法 1: 直接创建 GitHub Issue(推荐)
|
||
|
||
1. **访问项目 Issues 页面**
|
||
```
|
||
https://github.com/tinkle-community/nofx/issues
|
||
```
|
||
|
||
2. **点击 "New Issue" 按钮**
|
||
|
||
3. **选择 "Feature Request" 模板**(如果可用)
|
||
|
||
4. **填写 Issue 内容**
|
||
|
||
#### Hyperliquid 集成 Issue:
|
||
|
||
```markdown
|
||
标题:[BOUNTY] Integrate Hyperliquid Exchange Support 🚀
|
||
|
||
内容:复制 INTEGRATION_BOUNTY_HYPERLIQUID.md 的全部内容
|
||
```
|
||
|
||
#### Aster 集成 Issue:
|
||
|
||
```markdown
|
||
标题:[BOUNTY] Integrate Aster Exchange Support 🚀
|
||
|
||
内容:复制 INTEGRATION_BOUNTY_ASTER.md 的全部内容
|
||
```
|
||
|
||
5. **添加标签 (Labels)**
|
||
- `enhancement` - 新功能
|
||
- `bounty` - 悬赏任务
|
||
- `help wanted` - 寻求帮助
|
||
- `good first issue` - 适合新手(如果适用)
|
||
|
||
6. **点击 "Submit new issue"**
|
||
|
||
---
|
||
|
||
### 方法 2: 使用 GitHub CLI(适合命令行用户)
|
||
|
||
```bash
|
||
# 安装 GitHub CLI (如果还没安装)
|
||
brew install gh # macOS
|
||
# 或访问 https://cli.github.com/
|
||
|
||
# 登录
|
||
gh auth login
|
||
|
||
# 创建 Hyperliquid 集成 Issue
|
||
gh issue create \
|
||
--title "[BOUNTY] Integrate Hyperliquid Exchange Support 🚀" \
|
||
--body-file INTEGRATION_BOUNTY_HYPERLIQUID.md \
|
||
--label "enhancement,bounty,help wanted"
|
||
|
||
# 创建 Aster 集成 Issue
|
||
gh issue create \
|
||
--title "[BOUNTY] Integrate Aster Exchange Support 🚀" \
|
||
--body-file INTEGRATION_BOUNTY_ASTER.md \
|
||
--label "enhancement,bounty,help wanted"
|
||
```
|
||
|
||
---
|
||
|
||
## 💰 设置悬赏金额
|
||
|
||
### 选项 1: 直接在 GitHub Issue 说明
|
||
在 Issue 开头写明:
|
||
```markdown
|
||
## 💰 Bounty Reward
|
||
- **$500 USD** for complete Hyperliquid integration
|
||
- **Bonus $200** for websocket real-time data support
|
||
- **Bonus $100** for comprehensive tests and docs
|
||
```
|
||
|
||
### 选项 2: 使用悬赏平台
|
||
|
||
**Gitcoin Bounties**
|
||
- 网站:https://gitcoin.co/
|
||
- 支持加密货币支付
|
||
- 步骤:
|
||
1. 创建 Gitcoin 账户
|
||
2. 点击 "Post a Bounty"
|
||
3. 链接到你的 GitHub Issue
|
||
4. 设置奖金金额和条件
|
||
|
||
**Bountysource**
|
||
- 网站:https://www.bountysource.com/
|
||
- 支持法币和加密货币
|
||
- 步骤:
|
||
1. 导入 GitHub Issue
|
||
2. 设置悬赏金额
|
||
3. 托管资金直到完成
|
||
|
||
**IssueHunt**
|
||
- 网站:https://issuehunt.io/
|
||
- 专注于开源项目
|
||
- 步骤:
|
||
1. 连接 GitHub 仓库
|
||
2. 为特定 Issue 设置悬赏
|
||
3. 贡献者完成后自动支付
|
||
|
||
---
|
||
|
||
## 📢 推广你的 Bounty
|
||
|
||
### 1. 社交媒体宣传
|
||
|
||
**Twitter/X:**
|
||
```
|
||
🚀 $500 Bounty! 🚀
|
||
|
||
Looking for devs to integrate Hyperliquid exchange into NOFX AI Trading System
|
||
|
||
✅ Add perpetual contracts support
|
||
✅ Unified API interface
|
||
✅ Full testing & docs
|
||
|
||
Issue: [GitHub链接]
|
||
Details: [详情链接]
|
||
|
||
#Bounty #OpenSource #Crypto #Trading
|
||
```
|
||
|
||
**Telegram:**
|
||
- 在 NOFX 开发者社区发布:https://t.me/nofx_dev_community
|
||
- 在相关的开发者群组分享
|
||
|
||
### 2. 开发者社区
|
||
|
||
**Reddit:**
|
||
- r/CryptoCurrency
|
||
- r/algotrading
|
||
- r/opensource
|
||
- r/forhire
|
||
|
||
**Discord:**
|
||
- 相关的加密货币交易社区
|
||
- 开发者频道
|
||
|
||
### 3. 开发者平台
|
||
|
||
**Dev.to / Hashnode:**
|
||
写一篇博客:
|
||
- 介绍项目
|
||
- 说明集成需求
|
||
- 展示悬赏奖励
|
||
- 链接到 GitHub Issue
|
||
|
||
---
|
||
|
||
## 📋 Issue 管理最佳实践
|
||
|
||
### 1. 及时回复
|
||
- 在24小时内回复所有问题
|
||
- 提供清晰的技术指导
|
||
- 鼓励潜在贡献者
|
||
|
||
### 2. 更新进度
|
||
定期更新 Issue,说明:
|
||
- 当前进展
|
||
- 已有贡献者
|
||
- 剩余工作
|
||
- 截止日期(如果有)
|
||
|
||
### 3. 设置里程碑
|
||
```markdown
|
||
## 📅 Milestones
|
||
|
||
**Phase 1 (Week 1-2):** API Wrapper
|
||
- [ ] Basic API integration
|
||
- [ ] Account & position fetching
|
||
|
||
**Phase 2 (Week 3):** Trading Functions
|
||
- [ ] Order execution
|
||
- [ ] Position management
|
||
|
||
**Phase 3 (Week 4):** Testing & Docs
|
||
- [ ] Comprehensive tests
|
||
- [ ] Documentation updates
|
||
```
|
||
|
||
### 4. 评审 PR
|
||
当有人提交 Pull Request:
|
||
- 快速进行代码审查
|
||
- 提供建设性反馈
|
||
- 测试功能是否正常
|
||
- 合并后及时支付赏金
|
||
|
||
---
|
||
|
||
## ⚠️ 注意事项
|
||
|
||
### 法律 & 合规
|
||
- ✅ 明确说明这是开源贡献,不是雇佣关系
|
||
- ✅ 确保贡献者同意 AGPL-3.0 License
|
||
- ✅ 保留最终合并决定权
|
||
|
||
### 资金管理
|
||
- ✅ 使用托管服务(Gitcoin、Bountysource)
|
||
- ✅ 在 Issue 中明确支付条件
|
||
- ✅ 完成后及时支付
|
||
|
||
### 质量控制
|
||
- ✅ 要求代码审查
|
||
- ✅ 必须有测试覆盖
|
||
- ✅ 必须有文档更新
|
||
- ✅ 不破坏现有功能
|
||
|
||
---
|
||
|
||
## 📞 需要帮助?
|
||
|
||
- **GitHub Issues**: https://github.com/tinkle-community/nofx/issues
|
||
- **Telegram**: https://t.me/nofx_dev_community
|
||
- **Twitter/X**: [@Web3Tinkle](https://x.com/Web3Tinkle)
|
||
|
||
---
|
||
|
||
**祝你成功招募到优秀的开发者!** 🎉
|