基于区块链的毕业设计vue-eth-crowdfund – vue eth众筹

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计vue-eth-crowdfund – vue eth众筹 是一篇很好的国外资料

vue-eth-crowdfund

Project setup

yarn install 

Compiles and hot-reloads for development

yarn serve 

Compiles and minifies for production

yarn build 

Run your unit tests

yarn test:unit 

Lints and fixes files

yarn lint 

Customize configuration

See Configuration Reference.

Ethereum setup

Download Truffle

Truffle provides a development environment, testing framework and asset pipeline for blockchains using the Ethereum Virtual Machine (EVM).
To get started install truffle:

npm install -g truffle 

Download Ganache

Ganache is a personal blockchain for Ethereum development you can use to deploy contracts, develop applications, and run tests. It is available as both a desktop application as well as a command-line tool. Click here to download the desktop app.

Connect to Ganache

  • Open Ganache and select New Workspace
  • Under Truffle Projects select Add Project and enter the file path of truffle-config.js for this repo.
  • Click the Server tab and make sure Port Number is 8545
  • Click Save Workspace and you should see a list of accounts with 100 ether each.

Migrate the Contracts

This will compile and deploy the smart contracts to your local Ganache blockchain.

truffle migrate 

Run the contract tests

truffle test 

vue eth众筹

项目设置

yarn install 

编译和热重加载以用于开发

yarn serve 

编译并缩小生产

yarn build 

运行单元测试

yarn test:unit 

定制配置

yarn lint 

以太坊eth设置

请参阅配置参考。

下载Truffle

下载Ganache

Truffle为使用以太坊eth虚拟机(EVM)的区块链blockchain提供开发环境、测试框架和资产管道。
要开始安装Truffle:

npm install -g truffle 

连接到Ganache

Ganache是以太坊eth开发的个人区块链blockchain,可用于部署合同、开发应用程序和运行测试。它既可以作为桌面应用程序,也可以作为命令行工具使用。单击此处下载桌面应用程序。部署本地区块链blockchain来编译本地区块链blockchain

迁移合同

  • 打开Ganache并选择New Workspace
  • 在Truffle Projects下选择Add Project并输入Truffle的文件路径-配置文件本次回购。
  • 单击“服务器”选项卡,确保端口号为8545
  • 单击“保存工作区”,您将看到一个帐户列表,每个帐户有100以太。在

运行合同测试

This will compile and deploy the smart contracts to your local Ganache blockchain.

truffle migrate 

Run the contract tests

truffle test 

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/17291.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 !
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计vue-eth-crowdfund – vue eth众筹

提供最优质的资源集合

立即查看 了解详情