Skip to content

Use solidity, web3 and vue.js to create blockchain games.

Notifications You must be signed in to change notification settings

amesy-team/vue-game-dapp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-game-dapp

使用 Solidity、Web3 和 Vue.js 创建区块链游戏

开始

进入文件 hardhat.config.js ,增加一个钱包私钥和网络 Token。

安装依赖:

npm install

然后测试合约

npx hardhat test

发布部署合约,下面的指令为部署到 ETH 测试网络 goerli

npx hardhat run scripts/deploy.js --network goerli

进入前端目录:

cd game

安装依赖

yarn install

启动前端

yarn serve

即可正常启动。

体验

GAME UI

体验地址:https://web3-game.crayon.dev/

About

Use solidity, web3 and vue.js to create blockchain games.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 43.9%
  • JavaScript 28.3%
  • Solidity 20.0%
  • CSS 6.1%
  • HTML 1.7%