Skip to content

Commit 368a80b

Browse files
authored
Update README.md
1 parent d66ae58 commit 368a80b

File tree

1 file changed

+61
-1
lines changed

1 file changed

+61
-1
lines changed

README.md

+61-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,61 @@
1-
# Base-Wallet-Watcher
1+
# Base Wallet Balance
2+
3+
A simple web service to view a wallet balance on the Base blockchain using Python and Flask.
4+
5+
## Features
6+
7+
- View the current balance of a wallet on Base.
8+
- Validate the entered wallet address.
9+
- Simple and intuitive web page.
10+
11+
## Technologies
12+
13+
- Python
14+
- Flask
15+
- Web3.py
16+
- HTML/CSS
17+
18+
## Installation
19+
20+
1. **Clone the repository:**
21+
22+
```bash
23+
git clone https://github.com/yourusername/base-wallet-balance.git
24+
cd base-wallet-balance
25+
```
26+
27+
2. **Create and activate a virtual environment:**
28+
29+
```bash
30+
python3 -m venv venv
31+
source venv/bin/activate # For Windows: venv\Scripts\activate
32+
```
33+
34+
3. **Install dependencies:**
35+
36+
```bash
37+
pip install -r requirements.txt
38+
```
39+
40+
4. **Set up environment variables:**
41+
42+
Create a `.env` file in the root of the project and add:
43+
44+
```env
45+
SECRET_KEY=your_secret_key_here
46+
BASE_RPC_URL=https://base-mainnet.infura.io/v3/YOUR_INFURA_PROJECT_ID
47+
```
48+
49+
5. **Run the application:**
50+
51+
```bash
52+
python run.py
53+
```
54+
55+
6. **Open your browser:**
56+
57+
Go to [http://127.0.0.1:5000](http://127.0.0.1:5000)
58+
59+
## License
60+
61+
This project is licensed under the MIT License.

0 commit comments

Comments
 (0)