real-estate-NFT

An ERC 721 implementation for a zero-knowledge property deeds marketplace

Stars
2

Indeeded

A decentralized real estate marketplace using ZoKrates (zero knowledge proofs) and OpenSea (non-fungible token marketplace).

Rinkeby Deployment

Contracts: SolnSquareVerifier, SquareVerifier

ABI: /abi.json

OpenSea Storefront link

Getting Started Locally

  1. Run npm install in the root directory
  2. Run ganache-cli -m "apple elevator enjoy audit little market slam siren rookie slide alone great" to start a local blockchain server.
  3. Open a new terminal and run truffle migrate to compile and deploy locally.
  4. The contract ABIs can now be seen in eth-contracts/build/contracts.

Testing

To run truffle tests:

cd eth-contracts && truffle test

Deployment

  1. Create a .env file within /eth-contracts and add the following:
MNENOMIC=
INFURA_KEY=
  1. Ensure that eth-contracts/truffle-config.js matches the desired deployment network and network configurations.

  2. Run truffle migrate with the --network flag on the desired network.

Project Resources