Skip to content

CryptoCash web application - A token-based system for generating and redeeming secret codes to acquire tokens.

License

Notifications You must be signed in to change notification settings

ignromanov/crypto-cash-webapp

Repository files navigation

CryptoCash Logo

TypeScript HTML5 NextJs React CSS3 TailwindCSS NodeJS MongoDB MetaMask Alchemy Ethers IPFS Polygon

CryptoCash Web Application

CryptoCash is a blockchain-based payment solution designed for developing markets, where the majority of transactions are cash-based due to high card transaction fees and low bank card usage. CryptoCash aims to streamline transactions by leveraging mobile phones and existing offline prepayment infrastructure, making payments faster, cheaper, and more convenient for users. The application interacts with the CryptoCash smart contracts deployed on the Polygon Mumbai blockchain. This web application is built using Next.js and serves as the front-end for the CryptoCash project.


CryptoCash Presentation by Ignat Romanov - Watch Video

CryptoCash Presentation by Ignat Romanov - Watch Video


Smart Contracts Repository

Demo Application


Features

  1. CSH Token: The native token that serves as the primary medium of exchange within the CryptoCash ecosystem, with the potential to incorporate country-specific stablecoins.
  2. CodesFactory Contract: A smart contract that generates secret codes corresponding to specific amounts of CSH tokens, which are then converted into QR codes and distributed offline via existing one-time code distribution networks.
  3. Web Application: A user-friendly app that allows users to activate their secret codes, receive CSH tokens, and perform transactions with ease.
  4. IPFS Integration: Decentralized storage for Merkle tree leaves and other relevant data, providing resilience and reliability.
  5. Blockchain Technology: Secure, transparent transactions and improved record-keeping for better accounting and debt management practices.

These features combine to create an innovative payment solution that addresses the unique challenges faced by developing markets, leveraging mobile phones, offline prepayment infrastructure, and blockchain technology to create a more efficient and accessible financial ecosystem.

Pages

The application consists of the following pages:

  1. Generate Codes (/generate-codes): On this page, users can generate a list of secret codes. The secret codes can be saved and later used to redeem tokens.

  2. Redeem Code (/redeem-code): On this page, users can reveal their secret codes and redeem tokens. They must provide a valid code, a nonce, and a valid Merkle proof to successfully redeem the tokens.

  3. Balances (/): On this page, users can view their token balances on the CryptoCash token (CSH).

Installation

  1. Clone the repository:
git clone https://github.com/ignromanov/crypto-cash-webapp.git
  1. Navigate to the project directory:
cd your-repo
  1. Install the required dependencies:
npm install

4.Start the development server:

npm run dev

The application should now be running on http://localhost:3000.

Support Me

Buy Me A Coffee

License

This project is licensed under the MIT License.

About

CryptoCash web application - A token-based system for generating and redeeming secret codes to acquire tokens.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published