Giter Club home page Giter Club logo

crazyfunding's Introduction

Python Algorand JavaScript React

CrazyFunding

Landing Page


This demo was realized for the 3rd italian edition of MasterZ.|Blockchain & Digital Assets. It's an on-chain crowdfunding platform: every new crowdfunding campaign deploys a stateful smart contract - which maintaines the relevant information (like start and end date) and which also deals with local user-information after opt-in - and a stateless smart contract, which acts as an escrow account, where the funds are kept locked until the end of the fundraising campaign.

The smart contracts where developed in Python using PyTEAL, while the frontend is realized using JavaScript and React. The app is currently online here.

Development Setup

This repo was tested with Python 3.10.4. In order to install the requirements for the backend-only demo, we recommend you create a virtual environment, activate it and then simply run

  pip install -U pip
  pip install -r requirements.txt

If you want to run the demo you'd need to install the Algorand Sandbox (requires Docker): then, from your Sandbox directory run sh ./sandbox up. This will create a private Algorand network, generating and funding a 3 different accounts that you can use for testing purposes. If however you need more accounts, you can use the new_account_gen.sh shell script, which will create a new account and move funds to it.

Finally, you can run the backend-only demo through

  python -m src.contracts.demo

Client-side

We have a React.js project bootstrapped with create-react-app. Once you clone the repositorym to run a local version of this app simply move into the relative folder and run

  npm i
  npm start

The app should open in http://localhost:3000 and be visible in your browser. Note that to interact with the Algorand blockchain you need the AlgoSigner extension for Chrome.

crazyfunding's People

Contributors

mwritescode 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.