Emurgo Academy Final Project
The idea of the project is to fractionalize real estate property. The minimum amount is a square decimeter. The manager creates a bid with the address, size, and price of the property. The bid is a Cardano smart contract, and every contract is unique because the validator uses UTXO-ref as an input. While creating the Plutus Script, the manager mints tokens in an amount equal to the size of the property and locks the tokens on the script address.
Investors then start to lock ADA on the script. If the amount of ADA is equal to or more than the price of the property, the bid is funded, and the manager can distribute tokens between investors and unlock the ADA from the script. If the bid is not funded, investors can request a refund. Every investor can always refund (unlock) their own ADA.
To build the compiled version code, use the following command:
aiken build --trace-level verbose
Start the frontend project:
deno task start
This command will monitor the project directory and restart as needed.
The project will be automatically deployed to the Deno Deploy platform using a GitHub workflow.
-
Connect the Nami Wallet by clicking the "Setup Lucid" button
-
Click the Mint button
Visual guide:
platform_nft.webm
-
Connect the Nami Wallet by clicking the "Setup Lucid" button
-
Fill in address, price and size fields
-
Click "Make a Bid."
-
Click "Pay to Address."
scrnli_6_28_2024_1-06-27.AM.webm
-
Select the property that you would like to invest in.
-
Click "Invest now."
-
Connect the Nami Wallet by clicking the "Setup Lucid" button
-
Click "Invest now."