-
git clone https://github.com/TTXS123OK/NFTtrading-Platform.git
-
cd NFTtrading-Platform
-
truffle compile
-
将
build\contracts\NFTtrading.json
替换platform\src\api\NFTtrading.json
-
打开
ganache
,选择quickstart
,进入设置add project
导入truffle-config.js
点击save and restart
-
truffle migrate
-
打开
chrome
浏览器,在metamask
添加ganache
中的虚拟账户 -
cd platform
-
npm install bulma
-
npm install --save web3
-
npm run serve
-
浏览器中打开
localhost:8080