Archive post
Happy #HPUD / Things are probably going to break... nectar v0.2.0 candidate
As you can see from the screenshot, my contribution this month is a tiny one
Hey everyone,
Happy **#HPUD**!
As you can see from the screenshot, my contribution this month is a tiny one... only **7.005 HIVE**. But if you look closely at the output, you'll notice it looks much, much different than normal.

You can see it grabbing the nodelist from the **PeakD beacon**. You can see the raw HTTP responses (that’s temporary debug output while I verify everything is working). And most importantly, you can see that the transaction went through successfully.
### Why This Matters
This transaction was built using a branch of `hive-nectar` that has been **100% refactored**.
I don't mean a quick cleanup. I mean **every file, every method, every class, every variable, and every line** in the codebase has been rewritten, audited, type checked and optimized where I could find it possible. 90+ commits ahead of main at the time of writing...
Here is a taste of what has changed in `v0.2.0`:
- **Total Refactor:** The entire structure has been audited.
- **No more legacy api:** Using the openapi specifications, every rpc call goes where it's supposed to go, no more `is_appbase` or `use_condenser` type checking / switching.
- **Async Support:** I completely removed the `requests` library in favor of `httpx` to support asynchronous operations. (mostly still in progress)
- **No More Hivesigner:** The functionality of Hivesigner has been removed entirely.
- **Modern Standards:** The entire codebase is now type-hinted and checked with `ruff` for linting and formatting and `ty` for type checking (and let me tell you that thing is PICKY).
- **Better Reliability:** Added a `NodePool` for smarter node management and custom exceptions for better error handling.
### I Need Testers!
I’ve put this code through the wringer as much as I can, but I can't test every edge case alone. **Everything in this update is a breaking change**.
If you use `hive-nectar` for anything mission-critical, I need you to break it for me now, before I merge it into the main branch. Special shout out to @brianoflondon, @themarkymark, @josephsavage (i'll help you test sometime soon) and anyone that relies on `hive-nectar`.
You can install and play with the refactored version directly from the `v0.2.0` branch on GitHub:
```bash
pip install -U git+https://github.com/thecrazygm/hive-nectar.git@v0.2.0
# or
uv add "hive-nectar @ git+https://github.com/thecrazygm/hive-nectar.git@v0.2.0"
```
I'll continue tweaking it in this branch, but eventually, it will be merged. I’d much rather fix the issues now than have them surprise you later.
As always,
Michael Garcia a.k.a. TheCrazyGM