Skip to content

A decentralized real estate marketplace, based on ERC-721 standard with zk-SNARKs

Notifications You must be signed in to change notification settings

dorucioclea/zhai-token

 
 

Repository files navigation

Zhai Token

The mission of Zhai(宅) Token project is to build a decentrlised, autonomous and transparent real estate marketplace.

Build Status

Running project

To run the project please use the following:

cp secrets.sample.json secrets.json # you need to update mnemonic and provider in secrets.json if you like to deploy to Rinkeby network
npm install       # to install dependencies
truffle compile   # to compile smart contracts
truffle test      # to run smart contract unit tests

Contract ABI located in build/contracts after you compile the smart contracts

Deploying project to Rinkeby network

truffle migrate --skipDryRun       # deploy to local dev
truffle migrate --network rinkeby --skipDryRun   # deploy to rinkeby testnet

rinkeby deployment result and contract addresses: result

Mint 10 Zhai Tokens

Use MyEtherWallet to interact with the contract. This is a tutorial in YouTube

Link Zhai Token to OpenSea marketplace

Create a store front using the ERC 721 smart contract we just deoployed, ZhaiToken@OpenSea. Each token in our store represents a property. For testing, purchased 5 Zhai Tokens using a different address.

Project Resources

About

A decentralized real estate marketplace, based on ERC-721 standard with zk-SNARKs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 88.2%
  • JavaScript 11.4%
  • Shell 0.4%