官方文档:http://truffleframework.com/tutorials/pet-shop
中文翻译:https://learnblockchain.cn/2018/01/12/first-dapp/
运行后效果:
注意如果无法显示图片,将src/index.html里面的jquery.min.js路径修改为国内的路径,如:https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js
Github代码地址:https://github.com/anda0109/pet-shop