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
- 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.
- 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.
- Web Application: A user-friendly app that allows users to activate their secret codes, receive CSH tokens, and perform transactions with ease.
- IPFS Integration: Decentralized storage for Merkle tree leaves and other relevant data, providing resilience and reliability.
- 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.
The application consists of the following pages:
-
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. -
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. -
Balances (
/
): On this page, users can view their token balances on the CryptoCash token (CSH).
- Clone the repository:
git clone https://github.com/ignromanov/crypto-cash-webapp.git
- Navigate to the project directory:
cd your-repo
- Install the required dependencies:
npm install
4.Start the development server:
npm run dev
The application should now be running on http://localhost:3000.
This project is licensed under the MIT License.