This repository contains the source code for a Decentralized Marketplace designed to facilitate real estate token transactions between authenticated users. The marketplace supports various real estate assets, including:
- Residences
- Garages
- Apartments
- Warehouses
- Lands
Each asset type includes the necessary fields to store detailed information about the property.
The marketplace is built on Canton, a scalable and privacy-enabled distributed ledger technology (DLT). Canton is responsible for:
- Handling all business logic securely.
- Maintaining an immutable and tamper-proof history of records and transactions.
- Ensuring data privacy and access control in a decentralized environment.
The Daml smart contract language is used to implement the business logic. These smart contracts execute on Canton, ensuring secure and auditable transactions. Daml provides:
- A safe and expressive way to define real estate ownership and transactions.
- Built-in privacy and fine-grained permissions.
- Automatic consistency and integrity enforcement in transactions.
- Tokenized real estate transactions between authenticated users.
- Immutable and auditable transaction history.
- Smart contract-driven asset management.
- Fine-grained access control and privacy mechanisms.
- Support for multiple real estate asset types with structured metadata.
Ensure you have the following installed:
- Clone the repository:
git clone [email protected]:Badjarda/RealEstateMarketplace.git
- Install the dependencies (for that run the following command in the root directory):
./scripts/get-dependencies.sh
If you are running it on WSL, do these commands
> dos2unix ./scripts/get-dependencies.sh
> sed -i 's/\r$//' ./scripts/get-dependencies.sh
> ./scripts/get-dependencies.sh
This procedure will download the required Daml packages.
- Compile and run the project:
daml build --all
You need to have [Node.js] and [Daml] installed.
[Node.js]: https://nodejs.dev
[Daml]: https://docs.daml.com
First, start the Daml components:
```bash
daml start
This starts a server on http://localhost:3000
.
See [documentation] for details.
For more details, visit the official documentation of Daml and Canton.