solidity-community-garden

Solidity Smart Contract: Community Garden

https://github.com/block-foundation/solidity-community-garden

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
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.7%) to scientific vocabulary

Keywords

block-foundation blockchain blockfoundation community community-garden community-gardens eth ethereum garden smart-contracts sol solidity
Last synced: 7 months ago · JSON representation ·

Repository

Solidity Smart Contract: Community Garden

Basic Info
  • Host: GitHub
  • Owner: block-foundation
  • License: cc-by-sa-4.0
  • Language: Solidity
  • Default Branch: main
  • Homepage: https://www.blockfoundation.io
  • Size: 99.6 KB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • Open Issues: 5
  • Releases: 0
Topics
block-foundation blockchain blockfoundation community community-garden community-gardens eth ethereum garden 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-community-garden/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-community-garden)

Block Foundation Logo

Community Garden

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-community-garden/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-community-garden/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-community-garden/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-community-garden/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-community-garden/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&projects=&template=discussion.yml)

Welcome to the Community Garden Blockchain Project! In our technologically-driven world, there's often a disconnect from the nurturing embrace of nature and the warmth of local communities. This project uniquely combines cutting-edge blockchain technology with the timeless appeal of community gardening. Our goal? A sustainable, transparent, and truly engaged community ecosystem.

Introduction

In our digital world, we often lose touch with nature and the vibrancy of our local communities. This is an ironic paradox, where the allure of the digital realm can often result in a sense of disconnection from the tangible, natural world around us and the living, breathing communities we inhabit. Addressing this disconnection, our project embarks on a novel quest to marry the technological advances of our era with the wisdom and charm of traditional practices such as community gardening. By doing so, we aim to spawn a symbiotic relationship between nature and technology, facilitating the creation of a more sustainable, transparent, and engaged community ecosystem.

In this mart-contract, blockchain technology facilitates a democratic, community-led garden. This allows us to orchestrate a system where the community garden, traditionally a physical, local entity, transcends geographical and temporal constraints, and evolves into a global, shared resource that can be accessed and participated in by anyone, anywhere.

This contract acts as a digital steward of the community garden, facilitating an array of activities including the claiming of plots, transferring ownership, and managing individual engagements with the garden. The rules encoded in the contract ensure that plot allocation and transfers are performed in a manner that is not only fair and transparent but also resistant to the pitfalls of centralization, fostering a true sense of community ownership and engagement.

What's particularly enticing about our endeavor is the immutable and public record of transactions provided by the Ethereum blockchain. Every claim, every transfer, every modification in plot ownership is permanently etched into the blockchain. This not only creates a transparent history of plot ownership and transfers, enhancing trust and camaraderie among community members but also negates the need for a centralized authority or mediator.

In essence, this Community Garden contract embodies an innovative blend of modern technology and age-old communal traditions, fostering a symbiotic relationship between the digital and the natural world. Through this initiative, we aspire to demonstrate the untapped potential of blockchain technology in fostering community engagement, promoting ecological sustainability, and driving social innovation. The goal isn't merely to manage a community garden but to cultivate a broader ethos of shared resources, community participation, and sustainable living.

Features

Through this project, we're striving to encourage a sense of community, promote sustainability, and bring the advantages of blockchain technology to everyday life. Whether you're a gardening enthusiast looking to secure your own little corner of green space, or a tech enthusiast interested in practical uses of blockchain technology, we hope you find value in the Community Garden Blockchain Project.

The Community Garden Blockchain Project features include:

  1. Claim Garden Plots: Users can claim unclaimed garden plots.
  2. Transparent Transfer: Easily transfer plots to other community members.
  3. Manager Oversight: Special functions available for the community garden manager.
  4. Decentralized Validation: Transactions are validated on the Ethereum network, ensuring full transparency.

This not only promises a transparent system but also ensures that the age-old ethos of community sharing and gardening thrives in the modern era.

Setup & Installation

  1. Prerequisites: Ensure you have Node.js, Truffle, and MetaMask installed.
  2. Clone this repository:

bash git clone https://github.com/your_username_here/CommunityGardenSmartContract.git

  1. Navigate to the project directory:

bash cd CommunityGardenSmartContract

  1. Install dependencies:

bash npm install

  1. Compile and migrate the smart contracts:

bash truffle compile truffle migrate

Usage

  1. Open your browser with MetaMask installed and select the Ropsten Test Network.
  2. Visit the deployed DApp URL here.
  3. Interact with the contract through the web interface, claim plots, transfer them, or view the current owners.

Quick Start

Install

sh npm i

Compile

sh npm run compile

Contract

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: Community Garden Smart Contract
abstract: This software provides a decentralized application built on the Ethereum blockchain for managing community gardens. It uses a smart contract to allocate and manage garden plots in a fair, transparent, and decentralized manner.
version: 0.0.1
date-released: 2023-07-01
url: "https://github.com/block-foundation/solidity-community-garden"
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: 4
  • Issue comment event: 7
  • Pull request event: 7
  • Create event: 4
Last Year
  • Delete event: 4
  • Issue comment event: 7
  • Pull request event: 7
  • Create event: 4

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 90
  • Total Committers: 1
  • Avg Commits per committer: 90.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 90
  • Committers: 1
  • Avg Commits per committer: 90.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Lars van Vianen l****s@v****m 90
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 2 years ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • dependabot[bot] (18)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.devcontainer/Dockerfile docker
  • blockfoundation/ethereum-solidity-devcontainer latest build
.devcontainer/docker-compose.yml docker
package.json npm
  • @nomicfoundation/hardhat-chai-matchers ^2.0.1 development
  • @nomicfoundation/hardhat-toolbox ^3.0.0 development
  • @openzeppelin/hardhat-upgrades ^2.0.1 development
  • @typechain/ethers-v6 ^0.4.3 development
  • @types/chai ^4.3.5 development
  • @types/mocha ^10.0.1 development
  • @types/node ^20.4.4 development
  • chai ^4.3.7 development
  • dotenv ^16.3.1 development
  • eslint ^8.41.0 development
  • ethers ^6.6.5 development
  • hardhat ^2.17.0 development
  • prettier ^2.8.8 development
  • solhint ^3.4.1 development
  • solidity-coverage ^0.8.4 development
  • ts-node ^10.9.1 development
  • typechain ^8.3.1 development
  • typescript ^5.1.6 development
  • web3 ^4.0.3 development
  • webpack ^5.88.2 development
  • @openzeppelin/contracts ^4.9.2
  • @openzeppelin/contracts-upgradeable ^4.9.2
  • hardhat-abi-exporter ^2.10.1
  • keccak256 ^1.0.6
  • merkletreejs ^0.3.10
  • web3-utils ^4.0.3