Video demo
Design Pattern Decisions
Avoiding Common Attacks
This project is an Ethereum contract and web interface that represents the ownership of units in a building. The contract allows you to list, unlist and purchase a unit, as well as prove ownership in each of them.
To run this in a local network:
- Start a ganache-cli instance on port 8545 (default)
- Compile and migrate the contract with
truffle compile
andtruffle migrate
- Run
npm install
in thesrc
folder to install all required dependencies - Run a dev server with in the root folder -
npm run dev
- Open
localhost:3000
in your browser. Note: Make sure your MetaMask is connected to Localhost 8545 and you are using the same seed phrase shown inganache-cli
- Use MetaMask to sign transactions