# RChain-Crowdfunding
**Repository Path**: class-project/RChain-Crowdfunding
## Basic Information
- **Project Name**: RChain-Crowdfunding
- **Description**: RChain-Crowdfunding:基于RChain的可信慈善众筹平台
- **Primary Language**: Python
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2022-09-09
- **Last Updated**: 2023-12-12
## Categories & Tags
**Categories**: Uncategorized
**Tags**: Qt, Python, Blockchain
## README
# RChain-Crowdfunding:RChain可信慈善众筹平台
## 一,项目文件夹
```
├─apis # 所有的api
│ ├─BlockChainApis # 和rchain交互的api
│ └─SeniorApis # 高级api。其中SeniorFunctionalApis
├─contract # 智能合约
├─gui # 桌面端UI界面
├─informations # project和user的数据类
├─log # log日志
├─scripts # 脚本
├─test # 测试文件
├─utils # 公用工具
└─web # 网页端
```
## 二,运行
- 链上部署智能合约(server)
```shell
cd ./scripts
bash install_rnode_gitee.sh 或 bash install_rnode_github.sh
bash start_rnode.sh
# 新terminal
bash deploy_contract.sh
```
- 前端:桌面端和web端二者运行其一即可(client)
```shell
# web端
python main.py --mode web
# 进入网址使用:http://127.0.0.1:8889/admin/
# qt桌面端
python main.py --mode qt
```