React.js JavaScript HTML5 CSS3 JSX Solidity Truffle Ganache Ethereum Web3.js
CryptoPay is a blockchain-based application for cryptocurrency transactions. This project includes a smart contract deployed on the blockchain and a frontend application to interact with the contract.
.gitignore
: Specifies files and directories to be ignored by Git.README.md
: Provides a detailed description of the project, including setup instructions.package-lock.json
: Describes the exact dependency tree generated at the time ofnpm install
.package.json
: Contains metadata about the project and its dependencies.yarn.lock
: Ensures that the same dependency versions are installed with Yarn.
favicon.ico
: The icon for the web application.index.html
: The main HTML file for the application.logo192.png
,logo512.png
: Logo images for the web application.manifest.json
: Configures how the web application will behave when installed on a device.robots.txt
: Provides guidelines for search engine crawlers.
truffle-config.js
: Configuration file for Truffle, a development environment for Ethereum.build/contracts/
: Contains JSON files generated by Truffle after compiling the smart contracts.contracts/
: Contains the Solidity smart contract files.Migrations.sol
Transactions.sol
migrations/
: Contains migration scripts for deploying the smart contracts.1_initial_migration.js
2_deploy.js
test/
: Directory for writing tests for the smart contracts.
App.css
,App.js
,App.jsx
: Main application files.index.css
,index.js
: Entry point of the React application.main.jsx
: Main file for the application.assets/
: Contains images and other static assets.components/
: Contains React components.AdsBanner.jsx
Navbar.jsx
activity/ActivityCard.jsx
transaction/TransactionForm.jsx
context/
: Contains context files for state management.TransactionContext.jsx
context.js
styles/
: Contains CSS modules for styling.Activity.module.css
AdsBanner.module.css
App.module.css
Navbar.module.css
Transaction.module.css
global.css
utils/
: Contains utility files.Transactions.json
constants.js
shortenAddress.js
- Frontend Development: React.js, JavaScript (ES6+), HTML5, CSS3, JSX, CSS Modules.
- Smart Contract Development: Solidity, Truffle, Ganache.
- Blockchain Technology: Ethereum, Web3.js.
- State Management: React Context API.
- Backend Integration: RESTful APIs.
- Build Tools: Node.js, npm, Yarn.
- Version Control: Git, GitHub.
- Development and Deployment Tools: VS Code, MetaMask.
- Miscellaneous: JSON, Manifest Files.
- Node.js
- Truffle
- Ganache
- MetaMask
-
Clone the repository:
git clone https://github.com/yourusername/your-repository.git cd your-repository
-
Install dependencies:
npm install
-
Compile the smart contracts:
truffle compile
-
Migrate the smart contracts to the blockchain:
truffle migrate
-
Start the React application:
npm start
Provide instructions on how to use the application here.
Provide instructions on how to contribute to the project here.
Include your preferred license here.