Skip to content

A DAO-based platform for local government funding programs with procedural steps for various administration groups.

Notifications You must be signed in to change notification settings

a2nfinance/grantme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

GrantMe is a DAO-based platform for local government funding programs with procedural steps for various administration groups.

Demo information

For more detailed information on product features, you can refer to our project description on TaiKai.

Key ideas

The core concept of GrantMe is to empower organizations to establish DAOs without the need for coding skills, offering a flexible step-by-step process. This mechanism is designed to adapt seamlessly to various types of workflows.

Architecture

  • We utilize Ink! for smart contract development, ensuring each smart contract undergoes thorough unit testing and end-to-end testing. These smart contracts are then deployed on the AlephZero Testnet.
  • For frontend development, our tech stack includes useInk hooks, useInk core, NextJS, Redux & Toolkit, and Ant Design.
  • To facilitate the conversion from USD to TZERO token, we integrate the DIA oracle.

Frontend source code explanation:

  • Core components contain crucial code blocks for interacting with smart contracts.
  • State manager includes Redux reducers for managing actions and app states.
  • UI components consist of React components for all pages.

Smart contracts

GrantMe includes two main contracts:

Installation

To build & test smart contract:

  • Go to smart contract folder, e.g. cd contracts/dao
  • To build: cargo +nightly contract build
  • To test:
    • Unit tests only: cargo +nightly test
    • Unit tests & E2E tests: cargo +nightly test --features e2e-tests

To interact or deploy smart contracts, you can use contracts-ui.

To run GrantMe frontend application:

  • cd frontend
  • npm i
  • cp .env.example .env
  • npm run dev for the dev mode
  • npm run build & npm run start for the production mode.

About

A DAO-based platform for local government funding programs with procedural steps for various administration groups.

Topics

Resources

Stars

Watchers

Forks