# 基于区块链的投票系统 **Repository Path**: jiaohuirong/Voting ## Basic Information - **Project Name**: 基于区块链的投票系统 - **Description**: solidity+vue+metamask+ganache 功能1:可以发布一个新的投票 功能2:可以根据合约地址查找投票,对其进行投票 如果对您有帮助可以给我点个star吗? - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 22 - **Forks**: 1 - **Created**: 2022-08-26 - **Last Updated**: 2024-11-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 基于区块链的投票系统 #### 介绍 solidity+vue+metamask+ganache 功能1:可以发布一个新的投票 功能2:可以根据合约地址查找投票,对其进行投票 如果对您有帮助可以给我点个star吗? #### 录制了代码演示视频:https://www.bilibili.com/video/BV1U44y1R7d4/?spm_id_from=333.999.0.0&vd_source=140298c09a850b3c5413933606102807 #### 软件架构 软件架构说明 #### 安装教程 1. 安装ganache,创建一个自己的测试网络 2. 在谷歌浏览器的扩展程序安装metamask,可以连接测试网络的账号 3. 安装vue #### 使用说明 1. solidity合约文件在voting文件夹的voting.sol中。 2. 因为合约文件已经变成二进制在前端里了,所以只需要运行vue就可以了 3. 用的ethers.js,以及elementUI,所以要先npm install ethers和npm install elementUI 4. 这只是一个最简单的投票小玩具,如果对您有帮助可以给我点个star吗? #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)