Code Monkey home page Code Monkey logo

ja88a / bounty-granter-eth Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 3.78 MB

Decentralized handling of project grants' definition, assets allocation and conditional transfers based on validated achievements via reviewers and oracles.

License: Other

JavaScript 20.90% Solidity 35.44% Shell 3.44% CSS 0.04% HTML 0.65% Dockerfile 0.84% TypeScript 38.31% Handlebars 0.37%
dao ethereum grants-management hardhat oracle react solidity aut subgraph blockchain

bounty-granter-eth's Introduction

NodeJs Typescript Jest Yarn Docker Hardhat

Bounty Granter on ETH

General

Home of the mono repository for the development of the Bounty Granter dApp running on Ethereum/EVM chains.

Purpose

Decentralized contract-based definition and handling of project activities' asset transfers following their deliverables validation via reviewers and oracles.

More details are available in this project Wiki.

Status: Alpha - Work in Progress

Dev Framework

Build tools

Latest stable Node.js LTS version 16.x is used to develop this project. We recommend using the nodejs version manager nvm.

pnpm is used as the main packages manager, along with yarn. You can use yarn only.

If you are not set yet with these tools, use:

$ npm install -g yarn pnpm

Installation

All yarn worspaces get installed using pnpm:

$ pnpm install

You can install the modules individually by using the command:

packages/X$ pnpm install

Building on-chain

Start a local Hardhat chain: yarn chain

Generate a deployer address: yarn generate

View your deployer address: yarn account

Deploy the contracts: yarn deploy

Verify the deployed contracts: yarn verify

Use the CLI parameter --network X, e.g. yarn deploy --network goerli, to override the defaultNetwork set in packages/onchain/hardhat.config.js.

Running the Web UI locally

Dev mode

$ yarn start

OR

packages/webui$ yarn start

Production build

packages/webui$ yarn build
packages/webui$ yarn serve # Run locally

Deployment

Deploy the webui/build on surge.sh:

yarn surge

The generated static web resources can be deployed on IPFS, Surge or AWS S3. Refer to dedicated deployment scripts in packages/webui/package.json.

Modules

General

This mono repo structure and its tooling have been bootstrap by a scaffold-eth boilerplate.

Front-End

Package: webui

A ReactJS responsive Web app based on:

Smart Contracts

Package: onchain

The EVM-compatible smart contracts are reported there, implemented with Solidity 0.8 and the HardHart development framework for building on ETH L1 & L2 blockchains.

Subgraph

Package: subgraph

Home of The Graph subgraphes for the automated integration of deployed smart contracts.

Services

Package: services

Backend services / nodes for local deployments: data servers & chains

Integrated Solutions

Refer to this wiki page for an overview.

License

Distributed under the Affero General Public License 3.0+ license.

Contact

Jabba 01

Github

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.