Skip to content

Noorislam-XD/Uni_BitPAY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation


Uni_bitPAY

thecryptouni_logo 553fea127028679 6139687c08543

Uni_bitPAY is an innovative blockchain-based platform that allows university students to make payments for various expenses using cryptocurrency. The platform also offers students the opportunity to earn cryptocurrency by interacting with ads from university sponsors and through the use of integrated wallets.

Table of Contents

Features

  • Crypto Payments: Make payments for tuition, books, meals, and other university-related expenses using cryptocurrency.
  • Earn Crypto: Earn cryptocurrency by interacting with ads from university sponsors and completing tasks.
  • Integrated Wallets: Secure and easy-to-use cryptocurrency wallets integrated within the app.
  • Smart Contract Integration: Use of blockchain smart contracts for secure and transparent transactions.
  • Multi-Currency Support: Support for a wide range of cryptocurrencies.
  • Secure Transactions: All transactions are secure, fast, and transparent.
  • User-Friendly Interface: Designed with a clean and intuitive interface.

How It Works

Uni_bitPAY integrates blockchain technology with the university's payment system to enable seamless cryptocurrency transactions. The platform also includes a mechanism for earning cryptocurrency by engaging with university-sponsored content.

Payment Process

  1. Select the service you want to pay for (e.g., tuition, books, meals).
  2. Choose your preferred cryptocurrency.
  3. Confirm the transaction using the integrated wallet.
  4. The transaction is processed through a blockchain smart contract.
  5. Receive a confirmation of payment on the blockchain.

Earning Process

  1. View or interact with ads from university sponsors.
  2. Earn cryptocurrency rewards for each interaction.
  3. Rewards are credited to your Uni_bitPAY wallet automatically.

Getting Started

Follow these instructions to set up Uni_bitPAY on your local machine.

Prerequisites

  • Node.js (version 14 or later)
  • npm or yarn (latest version)
  • Solidity Compiler (version 0.8.17 or later)
  • React Native (for mobile development)
  • A cryptocurrency wallet (optional but recommended for testing)

Installation

  1. Clone the Repository

    git clone https://github.com/yourusername/Uni_bitPAY.git
    cd Uni_bitPAY
  2. Install Dependencies

    npm install

    or

    yarn install
  3. Configure Environment Variables Create a .env file in the root directory and add the following:

    REACT_APP_API_KEY=your_api_key
    REACT_APP_CRYPTO_API_URL=your_crypto_api_url
    
  4. Compile the Smart Contracts Use the Solidity compiler to compile the smart contracts:

    solc --optimize --bin --abi --in=contracts/hello.sol --out=build/
  5. Run the Application

    npm start

    or

    yarn start

    For mobile development:

    npx react-native run-android

    or

    npx react-native run-ios

Usage

  1. Register/Login: Sign up or log in using your university credentials.
  2. Link Wallet: Link your existing cryptocurrency wallet or create a new one within the app.
  3. Make Payments: Go to the payment section, choose the service, select your cryptocurrency, and confirm the transaction.
  4. Earn Crypto: Interact with sponsored ads to earn cryptocurrency rewards.

Smart Contract

Uni_bitPAY includes a simple example of a smart contract written in Solidity:

// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.8.2 <0.9.0;

/**
 * @title Storage
 * @dev Store & retrieve value in a variable
 * @custom:dev-run-script ./scripts/deploy_with_ethers.ts
 */
contract Storage {

    uint256 number;

    /**
     * @dev Store value in variable
     * @param num value to store
     */
    function store(uint256 num) public {
        number = num;
    }

    /**
     * @dev Return value 
     * @return value of 'number'
     */
    function retrieve() public view returns (uint256){
        return number;
    }
}

contract address

0x923c67e1b465c290b9e9e12a007ca34b7670640f

Screenshot 2024-08-27 155515

How to Deploy

  1. Deploy the Contract You can deploy the contract using Remix IDE, Hardhat, or Truffle.

  2. Interact with the Contract After deployment, you can interact with the contract through the blockchain using web3.js or ethers.js libraries.

Earning with Uni_bitPAY

  • View Ads: Watch video ads or engage with banners from university sponsors.
  • Complete Tasks: Participate in surveys, quizzes, or promotional activities.
  • Referral Program: Refer friends to Uni_bitPAY and earn additional rewards.

Supported Cryptocurrencies

Uni_bitPAY supports a variety of cryptocurrencies, including but not limited to:

  • Bitcoin (BTC)
  • Ethereum (ETH)
  • Litecoin (LTC)
  • Ripple (XRP)
  • Binance Coin (BNB)
  • USDT (Tether)
  • And more...

Security

Uni_bitPAY ensures the security of all transactions through:

  • Encryption: All data and transactions are encrypted using advanced cryptographic protocols.
  • Two-Factor Authentication (2FA): Optional but recommended for added security.
  • Regular Audits: Frequent security audits to maintain the platform's integrity.

Contributing

Contributions are welcome! To contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes and commit them (git commit -m 'Add new feature').
  4. Push to the branch (git push origin feature-branch).
  5. Open a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For support or inquiries, please contact us at support@uni_bitpay.com.


This README provides a detailed overview of the Uni_bitPAY project, including how to get started, use the application, and deploy smart contracts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published