This project is a comprehensive guide on building a frontend for decentralized applications (dApps) using React.js and Wagmi, specifically tailored for Cartesi dApps. It demonstrates how to set up a React project with Wagmi for connecting wallets, switching chains, and interacting with the blockchain.
- Wallet Connection: Connect to various wallets using Wagmi's connectors.
- Chain Switching: Seamlessly switch between multiple blockchain networks.
- Account Management: Display connected wallet information and manage connections.
Before you begin, ensure you have the following installed:
- Node.js (v14.x or later)
- npm or yarn
To get started with this project, clone the repository and install the dependencies.
git clone https://github.com/Mugen-Builders/cartesi-frontend-tutorial
cd cartesi-frontend-tutorial
npm install
npm run dev
This project is licensed under the MIT License - see the LICENSE file for details.