This project is a simple API that allows users to view Ethereum blockchain transaction data and NFT transfer events associated with a specific wallet address.
- Install Go: https://golang.org/doc/install
- Clone this repository:
git clone https://github.com/yourusername/yourrepository.git
- Navigate to the project directory:
cd yourrepository
- Install the dependencies:
go get
- Start the server:
go run main.go
- Open a web browser and navigate to
http://localhost:8080/transactions?address=youraddress&startBlock=yourstartblock
to view transaction data, orhttp://localhost:8080/nft-transfers?address=youraddress&contractAddress=yourcontractaddress&startBlock=yourstartblock
to view NFT transfer events.