The capstone built upon the knowledge I gained in the course in order to build a decentralized housing product.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Node.js runtime environment is required.
Install all required dependencies
$ npm install
Install truffle
$ npm install -g truffle
-
Open a Terminal window, and make sure you are inside your project directory
-
Run the command
truffle develop
(to run a local ethereum network) -
Use the command
compile
(to compile your solidity contract files) -
Use the command
migrate --reset --network development
(to deploy your contract to the locally running ethereum network) -
Use the command
test
(to unit tests the contract)
Zokrates is invoked in docker with the following command. Steps below have already been done, they are here just for documentation purpose.
Replace the <absolute path>
with your path to the project.
../../../../zokrates compile -i square.code
../../../../zokrates setup
../../../../zokrates compute-witness -a 12 144
../../../../zokrates generate-proof
../../../../zokrates export-verifier
Verifier contract address
0x2157e095474d2e0DA2B0E69308b08404AEE10e73
SolnSquareVerifier contract address
0x2B6F57921932C6Ecdea08f72998DfC05cDe3a0B0
https://testnets.opensea.io/collection/decentralizedrealestate