Skip to content
This repository was archived by the owner on Apr 30, 2024. It is now read-only.
/ backo Public archive

Decentralized crowdfunding membership platform

Notifications You must be signed in to change notification settings

faizwong/backo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backo - Decentralized Crowdfunding Membership Platform

Backo is a decentralized crowdfunding membership platform that rewards contributors with custom ERC20 tokens.

Learn more about Backo here.

Watch a video demonstration here.

Application demo here.

Setup

Build and run project locally

Backo smart contracts are developed using Truffle. The frontend client is using React. The following steps assume you have Node, npm/yarn, truffle and ganache-cli installed.

Install all the dependencies of the project

yarn install

Run a local blockchain

ganache-cli --blockTime 15

Specifying the blockTime is important as Backo smart contracts contain time-dependent logic

Compile smart contracts

truffle compile

Run migrations

truffle migrate --reset --network development

Start local frontend client server

yarn start

Testing

Tests can be run with the command

truffle test

It is recommended to adjust the minBlocksPerRound constant in the Backo.sol contract to a lower number (e.g: 50). Advancing too many blocks may cause the tests to be slow.

Project Directory

backo
├── docs
├── migrations
├── public
├── src
│   ├── build
│   └── contracts
├── test
├── package.json
└── truffle-config.js
  • docs: Documentations
  • migrations: Migration scripts
  • public: React public folder
  • src: React code
  • build: Smart contract build artifacts
  • contracts: Smart contract code
  • test: Smart contract tests
  • package.json: Project metadata
  • truffle-config.js: Truffle configuration

About

Decentralized crowdfunding membership platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published