solidity-real-estate-crowdfunding

Solidity Smart Contract: Real-Estate Crowdfunding

https://github.com/block-foundation/solidity-real-estate-crowdfunding

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.7%) to scientific vocabulary

Keywords

architecture block-foundation blockchain blockfoundation crowdfunding eth ethereum hardhat real-estate smart-contracts sol solidity
Last synced: 7 months ago · JSON representation ·

Repository

Solidity Smart Contract: Real-Estate Crowdfunding

Basic Info
  • Host: GitHub
  • Owner: block-foundation
  • License: cc-by-sa-4.0
  • Language: TypeScript
  • Default Branch: main
  • Homepage: https://www.blockfoundation.io
  • Size: 79.1 KB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 5
  • Releases: 0
Topics
architecture block-foundation blockchain blockfoundation crowdfunding eth ethereum hardhat real-estate smart-contracts sol solidity
Created over 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog Contributing Funding License Code of conduct Citation Codeowners Security Support Governance Authors

README.md

[![GitHub License](https://img.shields.io/github/license/block-foundation/blocktxt?style=flat-square&logo=readthedocs&logoColor=FFFFFF&label=&labelColor=%23041B26&color=%23041B26&link=LICENSE)](https://github.com/block-foundation/solidity-real-esate-crowdfunding/blob/main/LICENSE) [![devContainer](https://img.shields.io/badge/Container-Remote?style=flat-square&logo=visualstudiocode&logoColor=%23FFFFFF&label=Remote&labelColor=%23041B26&color=%23041B26)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/block-foundation/solidity-real-esate-crowdfunding)

Block Foundation Logo

Real-Estate Crowdfunding

Block Foundation Smart Contract Series [Solidity]


Block Foundation Brand

Contents



[![Report a Bug](https://img.shields.io/badge/Report%20a%20Bug-GitHub?style=flat-square&&logoColor=%23FFFFFF&color=%23E1E4E5)](https://github.com/block-foundation/solidity-real-esate-crowdfunding/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&projects=&template=bug_report.yml) [![Request a Feature](https://img.shields.io/badge/Request%20a%20Feature-GitHub?style=flat-square&&logoColor=%23FFFFFF&color=%23E1E4E5)](https://github.com/block-foundation/solidity-real-esate-crowdfunding/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&projects=&template=feature_request.yml) [![Ask a Question](https://img.shields.io/badge/Ask%20a%20Question-GitHub?style=flat-square&&logoColor=%23FFFFFF&color=%23E1E4E5)](https://github.com/block-foundation/solidity-real-esate-crowdfunding/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&projects=&template=question.yml) [![Make a Suggestion](https://img.shields.io/badge/Make%20a%20Suggestion-GitHub?style=flat-square&&logoColor=%23FFFFFF&color=%23E1E4E5)](https://github.com/block-foundation/solidity-real-esate-crowdfunding/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&projects=&template=suggestion.yml) [![Start a Discussion](https://img.shields.io/badge/Start%20a%20Discussion-GitHub?style=flat-square&&logoColor=%23FFFFFF&color=%23E1E4E5)](https://github.com/block-foundation/solidity-real-esate-crowdfunding/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&projects=&template=discussion.yml)

Introduction

This project utilizes Smart Contract technology to facilitate, validate, and enforce negotiation or performance of an agreement. This automated, self-executing contract with the terms of the agreement directly written into code enables the democratization of real estate funding, rendering it more transparent, efficient, and accessible.

The Smart Contract has been designed with several features to enhance functionality and security. First, users can create a new crowdfunding campaign, specifying a goal amount to raise. Then, interested investors can contribute to the campaign while the contract keeps track of each investor's contribution and the total raised amount.

Moreover, the contract also has built-in mechanisms to safeguard the interests of both project creators and investors. For instance, if a crowdfunding campaign does not reach its funding goal by the specified deadline, the contract will automatically facilitate refunds to the investors.

This Blockchain-based Real Estate Crowdfunding solution signifies a step forward in the digital transformation of the real estate industry. It brings us one step closer to a decentralized financial landscape where anyone can participate in investment opportunities that were traditionally limited to institutions or the wealthy.

Quick Start

Install

sh npm i

Compile

sh npm run compile

Contract

This is a simple Ethereum smart contract for crowdfunding real estate projects. This contract allows users to create new crowdfunding campaigns and contribute to existing ones.

This contract includes:

  • A Campaign struct, which is used to hold data about each crowdfunding campaign.
  • A campaigns array, which is used to hold all Campaign instances.
  • The createCampaign function, which allows a user to start a new campaign with a specific goal amount.
  • The createCampaign function accepts a duration parameter in seconds, which is added to the current timestamp to set the deadline for the campaign.
  • The contribute function, which allows a user to contribute to a specific campaign.
  • The checkContribution function, which allows a user to check how much they have contributed to a specific campaign.
  • The withdrawFunds function, which allows the campaign owner to withdraw the funds after the campaign goal has been reached.
  • The withdrawFunds function checks whether the deadline has been reached before allowing the beneficiary to withdraw the funds.
  • A deadline variable in the Campaign struct, which is used to set a deadline for the crowdfunding campaign.
  • The contribute function now checks whether the campaign has ended before accepting any funds.
  • A refund function, which allows donors to get their donations back if the fundraising goal wasn't met by the deadline. This function will check if the campaign has ended and whether the goal was met. It then verifies that the sender has contributed to the campaign, sets their contribution to zero, and then sends them back their original contribution.

Please note, you need to make sure you have a reliable and secure way of validating and fulfilling the contracts in real life. Smart contracts are best used when complemented with a solid legal framework. Also, this is a simplified example and lacks many important features such as refunding donors if the goal isn't met, security features, dispute resolution mechanisms, etc.

Development Resources

Other Repositories

Block Foundation Smart Contract Series

| | Solidity | Teal | | --------------------------------- | ----------- | ----------- | | Template | >>> | >>> | | Architectural Design | >>> | >>> | | Architecture Competition | >>> | >>> | | Housing Cooporative | >>> | >>> | | Land Registry | >>> | >>> | | Real-Estate Crowdfunding | >>> | >>> | | Rent-to-Own | >>> | >>> | | Self-Owning Building | >>> | >>> | | Smart Home | >>> | >>> |


Colophon

Authors

This is an open-source project by the Block Foundation.

The Block Foundation mission is enabling architects to take back initiative and contribute in solving the mismatch in housing through blockchain technology. Therefore the Block Foundation seeks to unschackle the traditional constraints and construct middle ground between rent and the rigidity of traditional mortgages.

website: www.blockfoundation.io

Development Resources

Contributing

We'd love for you to contribute and to make this project even better than it is today! Please refer to the contribution guidelines for information.

Legal Information

Copyright

Copyright © 2023 Stichting Block Foundation. All Rights Reserved.

License

Except as otherwise noted, the content in this repository is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) License, and code samples are licensed under the Apache 2.0 License.

Also see LICENSE and LICENSE-CODE.

Disclaimer

THIS SOFTWARE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.

Owner

  • Name: Block Foundation
  • Login: block-foundation
  • Kind: organization
  • Email: info@blockfoundation.io
  • Location: Netherlands

The Block Foundation mission is enabling architects to take back initiative and contribute in solving the mismatch in housing through blockchain technology.

Citation (CITATION.cff)

cff-version: 1.2.0
title: solidity-real-estate-crowdfunding
version: 0.0.1
date-released: 2023-07-01
url: "https://github.com/block-foundation/solidity-real-estate-crowdfunding"
message: >-
  If you use this software, please cite it using
  the metadata from this file.
type: software
authors:
  - given-names: Lars Bastiaan
    family-names: van Vianen
    email: lars@blockfoundation.io
    affiliation: Block Foundation
    orcid: "https://orcid.org/0000-0002-8790-8630"

GitHub Events

Total
  • Delete event: 5
  • Issue comment event: 8
  • Pull request event: 9
  • Create event: 5
Last Year
  • Delete event: 5
  • Issue comment event: 8
  • Pull request event: 9
  • Create event: 5