Skip to content

ldfandian/udacity-p8-blockchain-capstone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Udacity Blockchain Capstone

In this project you will be minting your own tokens to represent your title to the properties. Before you mint a token, you need to verify you own the property. You will use zk-SNARKs to create a verification system which can prove you have title to the property without revealing that specific information on the property. We covered the basics on zk-SNARKs in Privacy lesson in Course 5

Once the token has been verified you will place it on a blockchain market place (OpenSea) for others to purchase. Let's get started!

Install

This repository contains Smart Contract code in Solidity (using Truffle), tests (also using Truffle), dApp scaffolding (using HTML, CSS and JS) and server app scaffolding.

1. For OS environment, you can find my Docker file at Docker File ; Please take a look to see the basic package dependency.

2. To install, download or clone the repo, then:

root@b6d633a70f28:/mnt/devroot/src# truffle version
Truffle v5.1.43 (core: 5.1.43)
Solidity v0.5.16 (solc-js)
Node v10.15.3
Web3.js v1.2.1

root@b6d633a70f28:/mnt/devroot/src/udacity-p8-blockchain-capstone/eth-contracts# npm install
...

You can see the runlog: truffle compile & truffle migrate

Dependencies

  • NodeJS (The install will also include the npm node package manager)
  • ganache-cli Fast Ethereum RPC client for testing and development
  • truffle Development environment, testing framework and asset pipeline for Ethereum
  • MetaMask extension installed in your browser and few ethers on Rinkeby Test Network.
  • Docker Enterprise Container Platform for High-Velocity Innovation

About Test

  • truffle test: you can run it, all test cases can pass, but test coverage is not good enough. ** the run log of the truffle test is also put at runlog

Project Requirement

Contract addresses on rinkeby test network and ABI

1. Verifier (Contract Address): 0x247B65D3104deAE636A6716C7a30bdf0E6c5cE3B

2. SolnSquareVerifier (Contract Address): 0x2D9665Fd5410B237f2A228a64D07a743dE5f4B90

3. Contract ABI

4. OpenSea MarketPlace Storefront link

5. How to mint tokens

Project Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •