Coder Social home page Coder Social logo

caseywoolley / fairground Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 61.97 MB

Fairground - an open-source blockchain land protocol and auction platform for building citizen owned cities

Home Page: https://fairground.vercel.app/

JavaScript 0.08% Solidity 6.92% TypeScript 93.01%

fairground's Introduction

Fairground

An open-source blockchain land protocol and auction platform featuring demand-based ground rent for building better, more sustainable, and more inclusive cities, designed from the bottom-up by the community.

Protocol Features and Objectives:

  • Demand-based ground rent collection and citizens dividend distribution
  • On-chain land registry and title transfer governed by auction smart contracts
  • Decentralized and market-driven zoning, planning, and infrastructure
  • Protocol level changes by unanimous stakeholder consent through agreement, buyout, or amicable division

Protocol Inspiration and Reference:

"Cities have the capability of providing something for everybody, only because, and only when, they are created by everybody" โ€” Jane Jacobs

Getting Started

It is recommended to use Yarn to avoid dependency collisions: Yarn

git clone https://github.com/caseywoolley/fairground.git
cd fairground

yarn install

# Start up the Hardhat Network
yarn chain

Here we just install the npm project's dependencies, and by running yarn chain we spin up an instance of Hardhat Network that you can connect to using MetaMask. In a different terminal in the same directory, run:

yarn localhost

This will deploy the contract to Hardhat Network. After this completes run:

cd frontend
yarn install

This will install the frontend packages. We also need to set up the local configuration file.

cp .env.local.example .env.local

This will create a file called .env.local. Open up that file and fill in the NEXT_PUBLIC_ALCHEMY_{NETWORK}_API_KEY= environment variables.

yarn dev

This will start up the Next.js development server. Your site will be available at http://localhost:3005/

To interact with the local contract, be sure to switch your MetaMask Network to Localhost 8545

Thanks to Hunter Chang and BuidlGuidl for an excellent hardhat/Nextjs application template!

fairground's People

Contributors

changoman avatar ironsoul0 avatar

Watchers

Casey Woolley avatar

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.