Giter VIP home page Giter VIP logo

block-foundation / solidity-neighbourhood-participation Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 70 KB

Solidity Smart Contract: Neighbourhood Participation

Home Page: https://www.blockfoundation.io

License: Creative Commons Attribution Share Alike 4.0 International

Solidity 39.64% TypeScript 50.58% Dockerfile 0.49% JavaScript 9.29%
architecture block-foundation blockchain blockfoundation city eth ethereum governance hardhat participation

solidity-neighbourhood-participation's Introduction

GitHub License devContainer


Block Foundation Logo

Neighbourhood Participation

Block Foundation Smart Contract Series [Solidity]


Block Foundation Brand

Contents



Report a Bug Request a Feature Ask a Question Make a Suggestion Start a Discussion

Introduction

The Neighborhood Participation smart contract, written in Solidity for the Ethereum blockchain, is designed to facilitate decision-making and participation within a neighbourhood community. It provides a decentralized platform for community members to propose initiatives, vote on them, and check their status.

In this smart contract, each community or neighborhood has a manager, typically the person who deploys the contract. This manager can invite new participants to join the community. Once an individual is invited, they can accept the invitation to join the neighborhood.

Any participant can propose a new initiative. These initiatives then can be voted upon by the community members. The voting mechanism is a simple binary vote, meaning each participant can vote either in favor (yes) or against (no) an initiative.

The contract has a quorum mechanism in place to automatically approve or reject initiatives. If the number of 'yes' votes exceeds the predefined quorum, the initiative gets approved. Similarly, if 'no' votes exceed the quorum, the initiative gets rejected.

Each initiative in the contract holds its description, the address of the initiator, the count of yes and no votes, and its current state (proposed, approved, or rejected).

Remember, while this contract provides core functionalities for community decision-making, it's only a starting point. Depending on the specific requirements, further features can be added and improvements can be made. Also, it's crucial to thoroughly test and audit any smart contract before deploying it to a live network to ensure its security and functionality.

Quick Start

Install

npm i

Compile

npm run compile

Contract


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.

solidity-neighbourhood-participation's People

Contributors

vanvianen avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

starling-cloud

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.