kickstart-campaign – kickstart活动区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,kickstart-campaign – kickstart活动区块链毕设代写 是一篇很好的国外资料

kickstart-campaign

kickstart-campaign - kickstart活动

Description

I have tried to build the code of KICKSTARTER , this is a website where people post their ideas and get investments around it promising to give the product to the investors. This can be secured more by use of blockchain ethereum , to track whether the money is being sent to vendors or being used in personal expenses. This code focuses on providing a basic approach of how we can track , approve expenses for the desired campaign.

1. Clone the project

$ git clone https://github.com/tkAcharya/kickstart-campaign.git $ cd kickstart-campaign

2. Install the modules required for the project

$ npm install $ npm install --save solc ganache-cli web3 mocha

3. Run the test file

$ node ./ethereum/compile.js $ npm test

NOTE : This should give you a sample of addresses , and should run the tests to verify the campaign build and end to end testing

The below step is not required for local setup

4. Deploy the Contract to Rinkeby Test Network

  • Download and setup the metamask extension of chrome (Store the passphrase with you)
  • You need to create a free account on infura.io
  • Create a project in the infura and store the endpoint for rinkeby network
  • Install the following packages(if not present)
$ npm install –-save truffle-hdwallet-provider@0.0.3 $ npm install -- save dotenv
  • Write the passphrase of metamask in the mnemonic field in .env file present in ethereum folder
  • Write the rinkeby test network link in the link field in .env file present in ethereum folder
  • Run node deploy.js

5. Verify the deployed Contract to Rinkeby Test Network

After running the deploy file , you would have got a message like “Contract Deployed to “

Copy the xyz and paste it in rinkebyNetwork

You will be able to view your contract info in the dashboard.

Features

  • Offline support
  • Cross-platform
  • Awesome sounds
  • No singup/login required
  • Auto launch
  • Auto updates

Ethereum Code Beautifiers for different editors

  • Atom
  • Sublime
  • VSCode
  • Webstorm
  • VIM

Learnt from Udemy Course Link


If facing some issues :

  1. Always remove node_modules folder and then do <node install updates> to get all the dependencies

  2. If facing ganache or web3 related issues (web3 is in constant modification so , use the versioning instead .26) After that run <npm install –save mocha ganache-cli web3@1.0.0-beta.26>

  3. Put the console.log and verify if any variable from the compile is coming as undefined. Now run to verify if the whole code is working

Basic Terminologies in the Solidity Code :

  • Contracts : this contains .sol file mentioning our contract

  • test : this contains the test.js file (using some mocha code)

  • package.json : we keep this inside our root directory (have some script inside it , and it also captures different dependency being used)

  • compile.js : compiles our soldity files (node compile.js)

  • deploy.js : script file to take the compiled code and deploy it.

  • Running the tests : npm run test


启动活动

我曾尝试建立KICKSTARTER的代码,这是一个人们发布想法并获得投资的网站,承诺将产品提供给投资者。这可以通过使用区块链blockchain以太坊eth(ethereum)得到更多的保障,以跟踪资金是被发送给供应商还是被用于个人开支。这段代码的重点是提供一种基本的方法来跟踪、批准所需活动的费用。

说明

注意:这将为您提供一个地址示例,并应运行测试以验证活动生成和端到端测试运行部署文件后,本地安装不需要执行以下步骤,您将收到一条消息,如“Contract Deployed to”

1。克隆项目

$ git clone https://github.com/tkAcharya/kickstart-campaign.git $ cd kickstart-campaign

2。安装项目所需的模块。运行测试文件

$ npm install $ npm install --save solc ganache-cli web3 mocha

4。将合同部署到Rinkeby测试网络

$ node ./ethereum/compile.js $ npm test

复制xyz并将其粘贴到rinkebyNetwork中

您将能够在仪表板中查看您的合同信息。

5。验证部署到Rinkeby Test Network的契约

  • 下载并设置chrome的元掩码扩展(存储密码)
  • 您需要在上创建一个免费帐户输入io
  • 创建在infura中投影并存储rinkeby network的端点
  • 安装以下软件包(如果不存在)
$ npm install –-save truffle-hdwallet-provider@0.0.3 $ npm install -- save dotenv
  • 以太坊eth文件夹中.env文件的助记符字段中写入metamask的密码
  • 以太坊eth文件夹中.env文件的链接字段中写入rinkeby test network链接
  • 运行节点部署.js

功能

从Udemy Course Link学习

始终删除nodeu modules文件夹,然后执行&lt;node install updates&gt;以获取所有依赖项

如果遇到与ganache或web3相关的问题(web3处于不断修改中,因此,请改用版本控制。26)然后运行&lt;npm安装—保存mocha ganache cliweb3@1.0.0-beta.26&gt;

针对不同编辑器的以太坊eth代码美化器

  • 离线支持
  • 跨平台
  • 声音棒极了
  • 无需单选/登录
  • 自动启动
  • 自动更新;node install updates&gt;获取所有依赖项

如果遇到一些问题:

  • 如果遇到与ganache或web3相关的问题(web3处于不断修改中,请改用版本控制。26)在运行&lt;npm install–save mocha ganache cli之后web3@1.0.0-beta.26&gt;
  • 把控制台.log并验证编译中是否有任何变量未定义。现在运行以验证整个代码是否正常工作
  • Contracts:这包含提到我们的contract的.sol文件
  • test:这包含测试.js文件(使用一些摩卡代码)
  • 包.json:我们将其保存在根目录中(其中包含一些脚本,它还捕获正在使用的不同依赖项)

将控制台.log并验证编译中是否有未定义的变量。现在运行以验证整个代码是否正常运行


If facing some issues :

  1. 编译.js:编译我们的soldity文件(节点编译.js)
  2. 部署js.js:脚本文件以获取编译的代码并部署它。运行测试:npm run test
  3. test:此包含测试.js文件(使用一些摩卡代码)

包.json:我们将其保存在根目录中(其中包含一些脚本,并且捕获正在使用的不同依赖项)

  • 编译.js:编译我们的soldity文件(节点编译.js)

  • 部署.js:脚本文件以获取编译的代码并部署它。

  • 运行测试:npm运行测试

  • compile.js : compiles our soldity files (node compile.js)

  • deploy.js : script file to take the compiled code and deploy it.

  • Running the tests : npm run test

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

www.interchains.cc

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

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

提供最优质的资源集合

立即查看 了解详情