This repository contains a script for interacting with the Megafin platform using a bearer token.
Follow the steps below to set up and run the bot:
- Go to https://app.megafin.xyz/.
- Click
Inspect
(F12) to open the developer tools. - Navigate to Network > Fetch/XHR.
- Connect your wallet.
- Click the last
profile
you see in the network tab. - Under
Request Headers
, look forAuthorization:
and copy the text afterBearer
. - Clone the repository:
git clone https://github.com/raymundedgar/megafin-bot
- Navigate to the project directory:
cd megafin-bot
- Edit the bearer.txt file and paste the bearer token you copied in Step 6 into the bearer.txt file.
nano bearer.txt
- Save the file by pressing Ctrl + S then Ctrl + X.
- Change the permission to make the script executable:
chmod +x megafin.sh
- Run the script:
./megafin.sh