SelliFi : The New Sustainable Prosperity Framework

SelliFi is a dependable, open-source solution built to trace, formalize and secure financial journeys within informal supply chains in agriculture and forest-rich landscapes.

Star Fork
🎉 SelliFi DPMS is out for release! 🚀 Get ready to experience innovation like never before! 🌟
Explore More ⇩

Secure & scalable

Secure connectivity for a massive number of customers

Backend by Blockchain

Offers validity of transactions for multiple organiazation

Ready for integration

RESTful management APIs supported for popular languages

Green Score

Generates a valid score that opens financial possibilities

Overview

SelliFi Project Overview

SelliFi leverages blockchain technology and cutting-edge tools to solve the challenge of limited financial access for farmers, a pressing issue in the agriculture sector. Farmers often struggle to secure loans and financial aid due to the lack of a reliable credit rating system that reflects their economic potential and productivity. SelliFi addresses this by creating a verifiable "GreenScore" for each farmer, calculated based on the volume and quality of commodities they sell. This score acts as a quantifiable, secure measure of their productivity, which can be shared with banks, financial institutions, and agricultural firms to boost their credibility.

By utilizing blockchain, SelliFi ensures that every transaction and score calculation is immutable, transparent, and secure, fostering trust among financial institutions. This decentralized approach not only protects farmers' data but also prevents any tampering or fraud, making GreenScore a reliable financial indicator. Additionally, SelliFi integrates with the latest technologies, including AI-driven data analysis and federated notification systems, to provide a seamless, real-time experience for farmers and lenders alike. By bridging the gap between farmers and financial support, SelliFi empowers rural communities, fostering sustainable growth and greater financial inclusion in the agricultural sector.


SelliFi Tech Stack Installation Guide


1. sellifi-api-1 Installation

sellifi-api-1 is a Go Fiber application serving as the server for the web client.

1.1 Prerequisites

1.2 Installation Steps

  1. Clone the Repository:

    git clone https://github.com/Forest-Economy-Alliance/sellifi-central.git
    cd sellifi-api-1
    
  2. Set Up Environment Variables:

    • Copy .env.example to .env and fill in the required values:
      PORT=8080
      DATABASE_URL=your_postgresql_database_url
      REDIS_URL=your_redis_url
      
  3. Install Dependencies:

    go mod tidy
    
  4. Run Database Migrations (if applicable):

    go run migrate.go
    
  5. Start the Application:

    go run main.go
    
  6. Verify API is Running:

    • Go to http://localhost:8080 to check.

2. sellifi-api-2 Installation

sellifi-api-2 is a Go Fiber application handling green score services.

2.1 Prerequisites

2.2 Installation Steps

  1. Clone the Repository:

    git clone https://github.com/Forest-Economy-Alliance/sellifi-central.git
    cd sellifi-api-2
    
  2. Set Up Environment Variables:

    • Copy .env.example to .env and configure values.
  3. Install Dependencies:

    go mod tidy
    
  4. Start the Application:

    go run main.go
    
  5. Verify API is Running:

    • Check http://localhost:8080.

3. sellifi-mobile-app Installation

sellifi-mobile-app is a React Native application used for forest commodity services.

3.1 Prerequisites

3.2 Installation Steps

  1. Clone the Repository:

    git clone https://github.com/Forest-Economy-Alliance/sellifi-central.git
    cd sellifi-mobile-app
    
  2. Install Dependencies:

    npm install
    # OR
    yarn install
    
  3. Set Up Environment Variables:

    • Copy .env.example to .env and set values.
  4. Start the App on Android/iOS:

    • For Android:
      npx react-native run-android
      
    • For iOS (macOS only):
      npx react-native run-ios
      

4. sellifi-mobile-app-food Installation

sellifi-mobile-app-food is a React Native application designed to streamline requirements from schools to Farmer Producer Companies (FPCs).

4.1 Prerequisites

4.2 Installation Steps

  1. Clone the Repository:

    git clone https://github.com/Forest-Economy-Alliance/sellifi-central.git
    cd sellifi-mobile-app-food
    
  2. Install Dependencies:

    npm install
    # OR
    yarn install
    
  3. Set Up Environment Variables:

    • Copy .env.example to .env and set values.
  4. Start the App on Android/iOS:

    • For Android:
      npx react-native run-android
      
    • For iOS (macOS only):
      npx react-native run-ios
      

5. sellifi-alertfuze Installation

sellifi-alertfuze is a Serverless Application Model (SAM) project.

5.1 Prerequisites

5.2 Installation Steps

  1. Clone the Repository:

    git clone https://github.com/Forest-Economy-Alliance/sellifi-central.git
    cd sellifi-alertfuze
    
  2. Install Dependencies:

    sam build
    
  3. Deploy the Application:

    • Use the following command to deploy:
      sam deploy --guided
      
    • Follow the guided prompts, providing AWS configurations.
  4. Verify Deployment:

    • Verify endpoints in the AWS Console.

6. sellifi-hyperledger-fabric-net Installation

sellifi-hyperledger-fabric-net is a Hyperledger Fabric project managed with Fablo.

6.1 Prerequisites

6.2 Installation Steps

  1. Clone the Repository:

    git clone https://github.com/Forest-Economy-Alliance/sellifi-central.git
    cd sellifi-hyperledger-fabric-net
    
  2. Start the Fabric Network:

    fablo up
    
  3. Install Chaincode (Smart Contracts):

    • Follow Fablo commands to install and approve chaincode on the network.
  4. Interact with the Network:

    • Use Fablo CLI or API endpoints to interact with the chaincode.
  5. Shut Down the Network:

    fablo down