基于区块链的毕业设计Udacity CryptoStar Dapp on Ethereum – 以太坊上的Udacity CryptoStar Dapp

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计Udacity CryptoStar Dapp on Ethereum – 以太坊上的Udacity CryptoStar Dapp 是一篇很好的国外资料

Udacity CryptoStar Dapp on Ethereum

PROJECT: Decentralized Star Notary Service Project – For this project, you will create a DApp by adding functionality with your smart contract and deploy it on the public testnet.

Udacity Blockchain Developer project to develop a digital app and deploy to Ethereum network.

With this project I have learnt how to interact with the Ethereum Blockchain, create and deploy a smart contract and develop a Web App

Requirements

  • Truffle
  • OpenZeppelin
  • Node
  • Infura Account
  • MetaMask Browser Add-on
Asset Details
Truffle Version 5.3.8
OpenZeppelin 2.3.1
ERC-721 Token Name Bilgin StarToken
ERC-721 Token Symbol BST
Token Address @ Rinkeby 0x2eb697bb0b6c6002a54a1dad0091f1262048f083

Installation

  1. Download App
    git clone https://github.com/stevenhankin/udacity-cryptoStar-dapp-on-ethereum.git cd udacity-cryptoStar-dapp-on-ethereum 
  2. Put your Metamask Wallet Seed into “.secret” file
    echo "Metamask Wallet Seed" > .secret 
  3. Install required packages
    npm install && cd app && npm install 
  4. In truffle-config.js, set infuraKey to be your Infura Project ID
  5. From Crypto-Star-Dapp root, deploy StarNotary contract to network
    truffle compile truffle migrate --network rinkeby 
  6. Start App Server
    cd app npm run dev 
  7. Application should now be available on http://localhost:8080

Testing

Start truffle develop then run the following:

migrate --reset test   ### Dependencies For this project, you will need to have: 1. **Node and NPM** installed - NPM is distributed with [Node.js](https://www.npmjs.com/get-npm) ```bash # Check Node version node -v # Check NPM version npm -v 
  1. Truffle v5.X.X – A development framework for Ethereum.
# Unsinstall any previous version npm uninstall -g truffle # Install npm install -g truffle # Specify a particular version npm install -g [email protected] # Verify the version truffle version
  1. Metamask: 5.3.1 – If you need to update Metamask just delete your Metamask extension and install it again.

  2. Ganache – Make sure that your Ganache and Truffle configuration file have the same port.

  3. Other mandatory packages:

cd app # install packages npm install --save  [email protected] npm install --save  [email protected] npm install webpack-dev-server -g npm install web3

Run the application

  1. Clean the frontend
cd app # Remove the node_modules   # remove packages rm -rf node_modules # clean cache npm cache clean rm package-lock.json # initialize npm (you can accept defaults) npm init # install all modules listed as dependencies in package.json npm install
  1. Start Truffle by running
# For starting the development console truffle develop # truffle console  # For compiling the contract, inside the development console, run: compile  # For migrating the contract to the locally running Ethereum network, inside the development console migrate --reset  # For running unit tests the contract, inside the development console, run: test
  1. Frontend – Once you are ready to start your frontend, run the following from the app folder:
cd app npm run dev

Important

When you will add a new Rinkeyby Test Network in your Metamask client, you will have to provide:

Network Name New RPC URL Chain ID
Private Network 1 http://127.0.0.1:9545/ 1337

The chain ID above can be fetched by:

cd app node index.js

Licensing, Authors, Acknowledgements

I would like to thank Udacity for creating a platform to learn and upscale my blockchain skills.

https://www.bilginkocak.com/

Update README.md


Udacity CryptoStar Dapp on Ethereum

PROJECT: Decentralized Star Notary Service Project – For this project, you will create a DApp by adding functionality with your smart contract and deploy it on the public testnet.

Udacity Blockchain Developer project to develop a digital app and deploy to Ethereum network.

With this project I have learnt how to interact with the Ethereum Blockchain, create and deploy a smart contract and develop a Web App

Requirements

  • Truffle
  • OpenZeppelin
  • Node
  • Infura Account
  • MetaMask Browser Add-on
Asset Details
Truffle Version 5.3.8
OpenZeppelin 2.3.1
ERC-721 Token Name Bilgin StarToken
ERC-721 Token Symbol BST
Token Address @ Rinkeby 0x2eb697bb0b6c6002a54a1dad0091f1262048f083

Installation

  1. Download App
    git clone https://github.com/stevenhankin/udacity-cryptoStar-dapp-on-ethereum.git cd udacity-cryptoStar-dapp-on-ethereum 
  2. Put your Metamask Wallet Seed into “.secret” file
    echo "Metamask Wallet Seed" > .secret 
  3. Install required packages
    npm install && cd app && npm install 
  4. In truffle-config.js, set infuraKey to be your Infura Project ID
  5. From Crypto-Star-Dapp root, deploy StarNotary contract to network
    truffle compile truffle migrate --network rinkeby 
  6. Start App Server
    cd app npm run dev 
  7. Application should now be available on http://localhost:8080

Testing

Start truffle develop then run the following:

migrate --reset test   ### Dependencies For this project, you will need to have: 1. **Node and NPM** installed - NPM is distributed with [Node.js](https://www.npmjs.com/get-npm) ```bash # Check Node version node -v # Check NPM version npm -v 
  1. Truffle v5.X.X – A development framework for Ethereum.
# Unsinstall any previous version npm uninstall -g truffle # Install npm install -g truffle # Specify a particular version npm install -g [email protected] # Verify the version truffle version
  1. Metamask: 5.3.1 – If you need to update Metamask just delete your Metamask extension and install it again.

  2. Ganache – Make sure that your Ganache and Truffle configuration file have the same port.

  3. Other mandatory packages:

cd app # install packages npm install --save  [email protected] npm install --save  [email protected] npm install webpack-dev-server -g npm install web3

Run the application

  1. Clean the frontend
cd app # Remove the node_modules   # remove packages rm -rf node_modules # clean cache npm cache clean rm package-lock.json # initialize npm (you can accept defaults) npm init # install all modules listed as dependencies in package.json npm install
  1. Start Truffle by running
# For starting the development console truffle develop # truffle console  # For compiling the contract, inside the development console, run: compile  # For migrating the contract to the locally running Ethereum network, inside the development console migrate --reset  # For running unit tests the contract, inside the development console, run: test
  1. Frontend – Once you are ready to start your frontend, run the following from the app folder:
cd app npm run dev

Important

When you will add a new Rinkeyby Test Network in your Metamask client, you will have to provide:

Network Name New RPC URL Chain ID
Private Network 1 http://127.0.0.1:9545/ 1337

The chain ID above can be fetched by:

cd app node index.js

Licensing, Authors, Acknowledgements

I would like to thank Udacity for creating a platform to learn and upscale my blockchain skills.

https://www.bilginkocak.com/

Update README.md

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

www.interchains.cc

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

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

提供最优质的资源集合

立即查看 了解详情