This repository contains a simple Vite React app which demonstrates how to build Bitcoin DApps using Earth Wallet Connect.
Earth Wallet Connect is a self-custody wallet designed for seamless integration with decentralized applications (DApps) on the Bitcoin blockchain. It provides a secure and user-friendly way to connect your Bitcoin assets with various DApps.
- Node.js (>= 14.x)
- npm (>= 7.x)
- Vite (>= 2.x)
- Earth Wallet Mobile App
- Clone the repository:
git clone https://github.com/earthstaking/bitcoin-dapp-template.git
- Install dependencies:
cd bitcoin-dapp-template
npm install
- Run the development server:
npm run dev
- Open your browser and navigate to http://localhost:3000
This sample project contains the following key files:
- src/App.jsx: This is the main React component that demonstrates how to use Earth Wallet Connect.
We welcome contributions to this sample application. Please feel free to submit pull requests, create issues or suggest improvements.
This project is licensed under the MIT License - see the LICENSE file for details.
For more details on how to use Earth Wallet Connect, check out the official documentation.
If you need help or have any questions, join our community on Twitter or Telegram.
This is a sample application and should be used as a reference for creating DApps using Earth Wallet Connect. Always review and test your code thoroughly before using it in production.