/web3_py

Primary LanguageJavaScript

First clone the repo:

Backend:

cd web3_task /
pip install -r requirements.txt
python manage.py runserver

this will start the Django server on http://127.0.0.1:8000/

Authentication using metamask wallet and web3 :

Screenshot 2023-08-28 at 9 41 38 AM

Make sure you have metamask wallent extension in your browser: once logged in you will see like this

demo

API endpoint for swap events using address (while fethcing the transaction and logs events)

http://127.0.0.1:8000/api/v1/decode_swap_token/
Screenshot 2023-08-28 at 9 32 51 AM

Note : Use python >=3.9