The capstone project is to build a decentralized real estate marketplace.
To install, download or clone the repo, then:
npm install
cd eth-contracts/
truffle compile
To run truffle tests:
truffle test
See rinkeby_deployment.txt for Contract address and other information
0x6038c699e6bc985605d36819E10B722981a2D5cc
- House No- Asset ID 1
- House No- Asset ID 2
- House No- Asset ID 3
- House No- Asset ID 4
- House No- Asset ID 5
- House No- Asset ID 6
- House No- Asset ID 7
- House No- Asset ID 8
- House No- Asset ID 9
- House No- Asset ID 10
- House No- Asset ID 111
Sold House - Asset ID 111, 1, 6,7,8
- Create a .env file (in eth-contracts) with
MNEMONIC
& InfuraENDPOINT_KEY
truffle compile
truffle migrate --network rinkeby
truffle test
Using network 'development'.
Compiling your contracts...
===========================
> Everything is up to date, there is nothing to compile.
Contract: TestERC721Mintable
match erc721 spec
✓ should return total supply
✓ should get token balance (91ms)
✓ should return token uri
✓ should transfer token from one owner to another (285ms)
have ownership properties
✓ should return contract owner
✓ should fail minting when address is not contract owner
have pausable properties
✓ can pause and unpause (151ms)
✓ should return pause status (40ms)
✓ should fail minting when contract is paused (96ms)
Contract: Test SolnSquareVerifier
test token minting by providing solution
✓ should mint token for correct proof (741ms)
✓ should not allow solution reuse (722ms)
✓ should not mint token for incorrect proof (1295ms)
Contract: Test SquareVerifier
test verification
✓ should return true for correct proof (658ms)
✓ should return false for incorrect proof (628ms)
14 passing (13s)