一个去中心化的投票DApp

Contract

Frontend of DApp

  • React
  • RainbowKit
  • ethers.js
  • MetaMask

Screenshot

如果你没有权限

no_right_to_vote1

no_right_to_vote2

 

主持人可以添加候选 & 授予投票权

host

host_no

 

如果你投了票

hasVoted1

hasVoted2

 

如果你想委托他人投票

delegateVote

delegateVote1

受托人收到你的委托

delegateVote_received

 

受托人投了票

delegateVote_voted

 

委托人投票状态更新

delegateVote_voted1

 

所以,谁是金庸笔下最受欢迎的男主角?

vote_who

posted @ 2025-11-27 16:36  songlee  阅读(33)  评论(0)    收藏  举报