create-web3craft-app
v1.0.1
Published
A CLI tool to create Web3 applications with React, TypeScript, and popular Web3 libraries
Maintainers
Readme
Web3Craft
A powerful CLI tool to create Web3 applications with React, TypeScript, and popular Web3 libraries.
Features
- 🚀 Quick project setup
- ⚛️ React + TypeScript
- 🔗 Multiple blockchain support
- 🎨 Modern UI with Tailwind CSS
- 🔌 Pre-configured Web3 connections
- 🛠️ Built-in components for common Web3 features
Installation
npm install -g create-web3craft-appOr use npx:
npx create-web3craft-app my-web3-appUsage
- Create a new project:
npx create-web3craft-app my-web3-appFollow the prompts to:
- Select features
- Choose primary blockchain
- Add additional blockchains
Navigate to your project:
cd my-web3-app- Install dependencies:
npm install- Start the development server:
npm startUpdating
Updating the CLI Tool
If you installed the CLI tool globally:
npm update -g create-web3craft-appUpdating Generated Projects
For projects created with Web3Craft:
- Update dependencies in package.json:
npm update- Update specific Web3 packages:
npm update @rainbow-me/rainbowkit wagmi ethers- Check the CHANGELOG.md for breaking changes
Available Features
- Dark Mode
- Token Balance Display
- Transaction History
- NFT Gallery
- Token Swap
- Staking
- Governance
Supported Blockchains
- Ethereum Mainnet
- Polygon
- Optimism
- Arbitrum
- Base
- zkSync Era
- Linea
Project Structure
my-web3-app/
├── src/
│ ├── components/ # Reusable UI components
│ ├── config/ # Blockchain configurations
│ ├── pages/ # Application pages
│ └── styles/ # CSS and styling
├── public/ # Static assets
└── package.json # Project dependenciesContributing
We welcome contributions to Web3Craft! Here's how you can help:
- Fork the repository
- Create a new branch for your feature:
git checkout -b feature/your-feature-name - Make your changes
- Commit your changes:
git commit -m "Add your feature" - Push to your fork:
git push origin feature/your-feature-name - Create a Pull Request
Development Setup
Clone the repository:
git clone https://github.com/Madhav1716/web3craft.git cd web3craftInstall dependencies:
npm installBuild the project:
npm run buildTest your changes:
npm start
License
MIT
Support
If you find this tool helpful, please consider giving it a ⭐️ on GitHub!
Contact
For questions or suggestions, please open an issue on GitHub.
