/Decentralized_Star_Notary

Project 5 of UDACITY Blockchain Nanodegree Part I

Primary LanguageHTML

Decentralized Star Notary (UDACITY)

Project overview

The goal of the project was to buld a Decentralized Star Notary (dApp) with Truffle.

Project specification

https://review.udacity.com/#!/rubrics/2297/view


My contract and the transaction

My contract

  0x85Cc9347376A15C1D52bdaCdED2D31ec9fA0828B

Transaction Hash

  0x4ca5016c040bd8e27926c151391eba808e6427f232c4324f7ec9774bddc37d06

contract address

  0x4EC364327f14AEB8F36d1C47BAb93D9C7Ad6AA7c

account

  0x0be3dCDC09881e9e0773ce9287061Ff803A38d3d

Getting started

Open a command prompt or shell terminal after install node.js and execute:

  npm install
  npm install -g truffle

Testing local

  1. Download Ganache from here: https://truffleframework.com/ganache
  2. Run Ganache
  3. Open Command line and got to your project directory
  4. git clone [This_Repository]
  5. Change the API of infurs + the mnemonic in the truffle-config.js to yours
  6. Enter following commands when in smart_contracts folder:
  truffle develop
  compile
  migrate

Deployment on rinkeby and test locally with contract on test net

  truffle migrate --reset --network rinkeby
  enter your hash of your contract into the index.html
  npm live-server
  live-server

App Info

Author

Rick Warling

Version

1.0.0

Sources which helped me:

Credits to:

  • Udacity Project5 Concepts section
  • Udacity slack of nanodegree