Skip to content

Latest commit

 

History

History
executable file
·
35 lines (21 loc) · 790 Bytes

README.md

File metadata and controls

executable file
·
35 lines (21 loc) · 790 Bytes

基于React/EOS/IPFS的内容分享DAPP

运行环境

安装启动React项目

$ git clone https://github.com/songguo6/eos-react-dapp.git
$ cd eos-react-dapp
$ npm install
$ npm start

部署EOS智能合约

$ cleos create account eosio fenxiangbaio <public_key>

$ cd eos-react-dapp/src/bc/contracts/fenxiangbaio
$ eosio-cpp -o fenxiangbaio.wasm fenxiangbaio.cpp --abigen

$ cd ..
$ cleos set contract fenxiangbaio fenxiangbaio -p fenxiangbaio@active

启动IPFS本地节点

$ jsipfs daemon