Jaybeecode (@Jaybeecode) header
Jaybeecode (@Jaybeecode) profile picture

Web 3 Data Analyst | Defi Researcher | Onchain Forensics | DM for collabs 📧 [email protected] | B.Eng

Web 3
Joined January 2020
Week four is done, and this one was all about data modelling with dbt. Instead of pulling new data, I went back to my own Week 2 Uniswap swap extraction and built a dbt project on top of it in three layers: Staging cleans the raw data, intermediate holds all the logic, and the final table gives one clean row per swap that an analyst can just query. The result still remains same: 205 swaps across ETH/USDC, USDC/USDT and WBTC/USDC, over $3M in volume, and 10 whale trades of over $100K each. Here were some of the key lessons from this week: 1. Raw on-chain data isn't analyst-ready. The amounts have no decimals applied, and the price is hidden inside a number called sqrtPriceX96. The intermediate layer is where I decoded all of that into actual prices, trade direction and dollar volume. 2. Tests passing doesn't mean your numbers are right. All 82 of my dbt tests were green, but I still fed in trades with prices I already knew and checked the output matched exactly. I think this is the habit my onchain forensic work has given me. 3. The provided config was broken. dbt kept rejecting the database port because it was being passed as text. One small fix (as_number) and everything ran. 4. Make it reproducible. I committed a snapshot of the data so anyone can clone the repo and rebuild everything, even if the RPC is down. With week four down, I look forward to week 5. Data Tribe: @AnalyticSages Data Extraction source: @Uniswap V3 pools on Ethereum mainnet Here's a link to the project: github.com/JaybeeMuppet/Anal…
1
2
46
Week three is done, and this one took me to the cloud. I pulled every ERC-20 token transfer across 4,000 Ethereum blocks over RPC, saved them as Parquet files in Google Cloud Storage split by date, and connected them to BigQuery with an external table. That's 495,060 transfers I can query with SQL without copying a single row into BigQuery. Here were some of the key lessons from this week: 1. An external table doesn't hold the data. It just points at the files in GCS. When I extracted more blocks, the same query for 14 Jan went from 81,864 to 302,949 rows without me touching the table. 2. Splitting the data by date saves money. When you filter WHERE dt = '...', BigQuery only opens the files for that day. Try to query without the filter and it refuses to run. 3. Free RPCs once again is not sustainable for data Jobs and it will humble you. They kept rate-limiting me, and the pipeline read every error with the word "limit" in it as "too many blocks", so it kept splitting until it crashed. I switched to my own Infura endpoint and smaller checkpointed chunks, so each re-run picked up where it stopped. I think this was the part where I learnt the most this week. 4. Jupyter Notebook outputs get committed too. I printed my API key in a cell and pushed it to GitHub 😂 Deleted the key immediately, but lesson learnt. With week three down, I look forward to what's next. Data Tribe: @AnalyticSages Data Extraction source: Ethereum mainnet via @infura_io Here's a link to the project: github.com/JaybeeMuppet/Anal…
1
1
2
85
I decided to take my skills up a notch by advancing into Data Engineering, and what better academy than @AnalyticSages could bring this need of mine to reality? So I signed up. It's just week one, and I built a pipeline that pulls the top 100 coins from the CoinGecko API, cleans them with Pandas, and loads them into Postgres, all running in Docker with one command. This is a basic ETL project, and it's something that I have always wanted to build. Here were some of the key lessons while doing this first task: 1. Inside a container, "localhost" is not your laptop. It's the container itself. Containers find each other by service name, so my script reads the database host from an environment variable (DB_HOST) instead of hardcoding it. The same code works on my laptop and inside Docker. 2. Library updates can break working code. A newer SQLAlchemy version changed its default Postgres driver, and my script crashed looking for a module I never installed. Naming the driver explicitly fixed it. I think this is the part I look forward to solidifying my knowledge on as we progress. 3. Two programs can't share one port. DBeaver kept rejecting my password because another Postgres on my machine was already sitting on port 5432. Moving Docker to 5433 solved it. Week one down and I look forward to what's next. Data Tribe: @AnalyticSages Data Extraction source: @coingecko API Here's a link to the project: github.com/JaybeeMuppet/Anal…
6
1
15
459
While the war is ongoing and the debate on X persists with @solana creating a poll for both products, I see at least 5 new sign-ups on fomo every day. Insane growth when you spread tgat across 30, 60 and 90 day period. This debate may have just been the biggest marketing stunt that was needed for @fomo
1
4
239
Replying to @0xngmi
Hey bro I had this github link bookmarked and I just saw it was removed by you. Was using the task there to build a roadmap of tasks to execute all the way up to that point to gather experience. Any chance that detail was posted somewhere else where I could still access it ?
1
139
4/ The 7-day rolling average reveals clear boom-and-bust cycles on both DEXes. It peaks during bull markets (late 2021, early 2024) and dramatic drops during bear periods. Crypto market sentiment drives DEX volume more than any protocol feature.
1
3
37
2/ SushiSwap's daily market share on BNB Chain rarely exceeds 1-2%. And it's getting worse because the trend line shows steady compression since 2023. Users on BNB Chain have consolidated around PancakeSwap almost entirely.
1
1
4
64
Replying to @nikitabier
@nikitabier maybe an option to mass reject all (or reject selected) spamming dms would do a lot of good. Can't be manually doing this. ❤️
98
Messi didnt get enough goals in the game so he instructed his team mates to concede a goal so it gets to extra time.
1
3
91
Looking at the $ANSEM token and how @blknoiz06 is on his way to do the biggest Airdrop of the cycle, I couldn't help but create a quick @Dune visualization of the airdrop recipients behavior. This could help the team behind $ANSEM understand what recipient's are actually doing with these tokens and somehow predict what the outcome could be like at certain airdrop milestones. Link to query: dune.com/queries/7844533
1
2
1
8
2,698
4. Adding Python to my analytics stack DuneSQL handles most of my on-chain analysis, but Python opens the door to automation, custom data pipelines, and building tools (like the Polymarket bot). Currently deepening this through a structured learning path — more on this soon.
1
4
103
2. Polymarket Trading I built a tool that discovers smart traders on Polymarket, and I've identified 50+ consistently profitable Polymarket traders. For some, I've set up parameters to copy-trade some of them and have been pulling in decent returns passively. I made some posts about this and also gave some people access to the tool, and the reviews have been great. I am also working with a team on a similar tool for the on-chain trading side of this, but this time fully automated. Here is a quick sneak peek at one of the dudes my tool discovered, and I am currently copy-trading
1
4
44
🔴 Bug 12: $860M in markets returning zero results. The bot was hitting /markets and missing entire event hierarchies. 44 sub-markets under a single political event were invisible. Switched to /events endpoint. Every child market now gets captured. Sometimes the right data is one endpoint away.
1
4
81
🔴 Bug 15: Bot completely froze for all users during another user's scans. Up to 40 minutes of zero responsiveness. The scan was running synchronously inside the command handler, blocking the entire async event loop. Moved it to a background asyncio task so the Bot stays fully live while scans run.
1
4
62
🔴 Bug 14: Scanned 6,768 wallets across 50 markets. Zero smart traders found. Root cause: a naive datetime being compared to a timezone-aware cutoff. Python threw a silent TypeError, caught by a broad exception handler. Every wallet returned $0 portfolio. Every wallet failed before ROI was even checked. One timezone mismatch. 6,768 false negatives.
1
4
74
🔴 Bug 8: A scan that returned 14 smart traders yesterday returned 0 on an almost immediate second scan. No error. No warning. Traced it to async coroutines sharing a single DB session. Every internal commit was expiring shared objects so valid traders were reading as 0% ROI. Replaced the commit with a flush. All 14 came back and more.
1
4
73
🔴 Bug 3: A $200 position displaying as $200,000. Raw API data was being read incorrectly. I built a proper conversion layer. The data was always there. It just needed to be interpreted correctly.
1
4
87