Hey everyone, Today's post is a bit of a story, and it comes with another big shoutout to **@herman-german**! He recently reached out for some help getting the `auto-market` tool (the one for auto-selling/buying HIVE/HBD and Hive-Engine tokens) set up and running on Windows. Now, I'll be the first to admit, I haven't regularly used Windows for going on three decades, so I knew this might be an adventure. I did what I could to assist remotely. ## The Usual Suspect: `scrypt` and OpenSSL It turned out the main hurdle was a familiar one for many Python developers trying to install certain cryptographic libraries on Windows: the `scrypt` package was failing to build. This is almost always due to missing OpenSSL development libraries – on Linux, it's usually a quick `apt install libssl-dev` or similar. On Windows, it's often a bit more involved to get the right headers and libraries in place for C extensions to compile. I pointed him to some common places one might get OpenSSL for Windows. We tried a few things, and... no dice. More errors.  ## The Solution? Blast from the Past! Long story short, after a good bit of troubleshooting, the _only_ way we could get the `scrypt` dependency to build successfully on his Windows setup was by installing an **antique version of OpenSSL**. I'm talking so old, we had to dig up an installer via the Internet Archive because it wasn't readily available on current OpenSSL distribution sites! But, persistence paid off! We eventually got `auto-market` up and running for him. And as a small bonus, while working through this, I also managed to squash a couple of bugs related to the 'buy' functionality in the `hive-market` script that weren't working quite right. So, win-win! ## Back to the Main Point: Dependency Auditing This whole experience brought a key thought back to the forefront. When I first started forking `beem` to create `hive-nectar`, one of my long-term goals was to audit its dependencies. The idea was to identify older, potentially problematic, or less maintained libraries and see if they could be swapped out for more modern, cross-platform friendly, and actively maintained alternatives. The `scrypt` library, given the hoops we had to jump through on Windows due to its OpenSSL compilation requirements, seems like a prime candidate for this review. If there's a more modern Python-native or easier-to-install cryptographic library that can provide the necessary KDF (Key Derivation Function) functionality without these heavy external C dependencies, it would likely make `hive-nectar` (and by extension, tools that use it like `auto-market`) much more accessible and easier to install for users across all operating systems, especially Windows. It's a reminder that while a library might work perfectly fine in your own development environment (Linux, in my case), ensuring a smooth experience for users on different systems often means taking a hard look at the entire dependency chain. Food for thought for future `hive-nectar` development! As always, Michael Garcia a.k.a. TheCrazyGM
author | thecrazygm | ||||||
---|---|---|---|---|---|---|---|
permlink | the-windows-challenge-getting-auto-market-running-and-pondering-dependencies | ||||||
category | hive-186392 | ||||||
json_metadata | {"app":"peakd/2025.5.6","format":"markdown","tags":["dev","python","nectar","income","tribes","archon","proofofbrain"],"users":["herman-german"],"image":["https://files.peakd.com/file/peakd-hive/thecrazygm/AK3a4CU36DUwqfRpVPK568BYv34ULKCN1SHsjirzfJiiDQ1Yq8wWdD9TwLt9fQ4.png"]} | ||||||
created | 2025-05-14 10:27:21 | ||||||
last_update | 2025-05-14 10:27:21 | ||||||
depth | 0 | ||||||
children | 6 | ||||||
last_payout | 2025-05-21 10:27:21 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 4.964 HBD | ||||||
curator_payout_value | 5.825 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 3,221 | ||||||
author_reputation | 79,762,908,894,102 | ||||||
root_title | "The Windows Challenge: Getting `auto-market` Running and Pondering Dependencies" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 142,720,781 | ||||||
net_rshares | 33,338,666,876,590 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
eforucom | 0 | 20,693,310,059 | 100% | ||
dylanhobalart | 0 | 64,586,611,016 | 11% | ||
moretea | 0 | 4,791,508,399 | 10% | ||
gamer00 | 0 | 19,498,668,814 | 5% | ||
l337m45732 | 0 | 23,646,453,869 | 20% | ||
mes | 0 | 456,047,622,804 | 26% | ||
uruiamme | 0 | 7,210,471,679 | 60% | ||
ecoinstant | 0 | 211,802,685,254 | 100% | ||
cryptoknight12 | 0 | 50,449,374,549 | 100% | ||
joeyarnoldvn | 0 | 452,337,854 | 1.47% | ||
eturnerx | 0 | 26,586,951,792 | 2% | ||
unyimeetuk | 0 | 1,189,681,807 | 50% | ||
pixelfan | 0 | 52,783,677,751 | 5.8% | ||
likedeeler | 0 | 245,491,101,533 | 100% | ||
noloafing | 0 | 3,075,695,237 | 49.76% | ||
artlover | 0 | 1,591,106,189 | 100% | ||
tomiscurious | 0 | 271,620,089,897 | 46.2% | ||
taskmaster4450 | 0 | 1,823,557,288,578 | 100% | ||
fatman | 0 | 9,235,190,142 | 2% | ||
votehero | 0 | 27,024,506,759 | 5.4% | ||
buttcoins | 0 | 2,667,207,561,725 | 74% | ||
new-world-steem | 0 | 60,859,597,428 | 23% | ||
mytechtrail | 0 | 13,337,324,117 | 10% | ||
jozefkrichards | 0 | 5,131,863,255 | 50% | ||
kernelillo | 0 | 916,217,851 | 50% | ||
sneakyninja | 0 | 17,701,479,607 | 24.88% | ||
steembasicincome | 0 | 5,675,598,613,506 | 100% | ||
jim888 | 0 | 932,236,761,736 | 22% | ||
irisworld | 0 | 1,000,775,594 | 7.5% | ||
condeas | 0 | 432,628,014,827 | 20% | ||
anikys3reasure | 0 | 2,507,857,957 | 50% | ||
russellstockley | 0 | 13,217,319,368 | 10% | ||
jglake | 0 | 6,688,629,826 | 20% | ||
abrockman | 0 | 1,744,467,155,760 | 100% | ||
hlezama | 0 | 32,782,090,414 | 100% | ||
sbi2 | 0 | 4,167,100,129,762 | 100% | ||
dera123 | 0 | 38,729,382,475 | 100% | ||
rambutan.art | 0 | 27,573,906,466 | 100% | ||
racibo | 0 | 6,742,197,820 | 5% | ||
awesomegames007 | 0 | 1,288,327,485 | 50% | ||
sbi3 | 0 | 2,019,598,166,706 | 100% | ||
sbi4 | 0 | 1,283,799,413,507 | 100% | ||
fw206 | 0 | 2,555,752,975,091 | 27% | ||
netzisde | 0 | 3,644,365,142 | 100% | ||
bububoomt | 0 | 5,687,947,075 | 100% | ||
sbi5 | 0 | 1,020,439,720,668 | 100% | ||
sbi6 | 0 | 787,282,175,600 | 100% | ||
thedailysneak | 0 | 23,437,345,741 | 24.88% | ||
smartvote | 0 | 131,089,633,037 | 6.2% | ||
sbi7 | 0 | 596,497,288,541 | 100% | ||
tdas0 | 0 | 2,069,396,944 | 50% | ||
voter001 | 0 | 27,467,503,091 | 28.5% | ||
babysavage | 0 | 9,249,591,911 | 49.76% | ||
ravensavage | 0 | 4,890,058,080 | 49.76% | ||
ecoinstats | 0 | 1,294,161,768,206 | 100% | ||
athunderstruck | 0 | 4,018,487,460 | 10% | ||
sbi8 | 0 | 433,646,788,390 | 100% | ||
piestrikesback | 0 | 653,013,568 | 100% | ||
sbi9 | 0 | 312,193,435,746 | 100% | ||
linuxbot | 0 | 6,107,870,362 | 20% | ||
buildingpies | 0 | 51,296,793,259 | 100% | ||
sbi10 | 0 | 237,663,167,927 | 100% | ||
slothlydoesit | 0 | 16,796,559,523 | 10% | ||
thelogicaldude | 0 | 7,285,216,504 | 10% | ||
shauner | 0 | 546,109,172 | 50% | ||
lrekt01 | 0 | 5,058,768,189 | 80% | ||
everythingsmgirl | 0 | 7,959,658,799 | 50% | ||
maddogmike | 0 | 14,882,272,856 | 10% | ||
sbi-tokens | 0 | 42,945,806,171 | 49.76% | ||
successchar | 0 | 2,624,489,099 | 10% | ||
qwertm | 0 | 4,989,751,024 | 50% | ||
neoxvoter | 0 | 2,938,574,318 | 25% | ||
davidlionfish | 0 | 13,011,751,805 | 100% | ||
treasure.hoard | 0 | 141,117,776,244 | 100% | ||
dpend.active | 0 | 3,837,154,428 | 10% | ||
ykretz | 0 | 1,392,086,203 | 15% | ||
thepeakstudio | 0 | 507,768,188 | 10% | ||
holoferncro | 0 | 3,936,772,965 | 10% | ||
sketching | 0 | 7,121,370,212 | 50% | ||
hivelist | 0 | 5,138,088,746 | 5% | ||
kiemis | 0 | 8,970,199,103 | 2.5% | ||
woelfchen | 0 | 118,542,506,888 | 27% | ||
hivehustlers | 0 | 4,949,779,776 | 20% | ||
devpress | 0 | 564,844,363 | 50% | ||
archon-gov | 0 | 88,547,311,615 | 50% | ||
susie-saver | 0 | 532,094,036 | 100% | ||
trostparadox | 0 | 1,119,513,426,237 | 100% | ||
emsenn0 | 0 | 1,980,739,470 | 9.95% | ||
thecryptopimp | 0 | 7,648,318,067 | 20% | ||
tokenpimp | 0 | 270,564,382,951 | 20% | ||
pimptoken | 0 | 3,634,238,831 | 20% | ||
xyba | 0 | 47,892,762,082 | 100% | ||
pimp.token | 0 | 2,206,189,296 | 20% | ||
iviaxpow3r | 0 | 7,303,124,187 | 50% | ||
cryptoniusrex | 0 | 23,098,767,760 | 100% | ||
ichheilee | 0 | 3,417,392,975 | 100% | ||
rpren | 0 | 747,238,819 | 50% | ||
dibblers.dabs | 0 | 45,451,655,115 | 10% | ||
geom | 0 | 8,323,956,752 | 100% | ||
onewolfe | 0 | 452,510,137 | 50% | ||
adulruna | 0 | 2,995,641,405 | 100% | ||
tub3r0 | 0 | 767,191,698 | 10% | ||
mxm0unite | 0 | 1,624,946,389 | 50% | ||
iproto | 0 | 20,066,275,158 | 50% | ||
dstampede | 0 | 1,384,392,409 | 100% | ||
txracer | 0 | 2,718,098,249 | 100% | ||
tydynrain | 0 | 17,005,592,566 | 10% | ||
dkidfit | 0 | 3,913,812,921 | 100% | ||
herman-german | 0 | 7,487,573,845 | 50% | ||
thorlock | 0 | 58,593,365,573 | 50% | ||
pimpdistrict | 0 | 1,001,031,360 | 20% | ||
thepimpdistrict | 0 | 1,817,626,423 | 20% | ||
ryosai | 0 | 5,467,993,557 | 24% | ||
ydaiznfts | 0 | 5,847,442,687 | 20% | ||
mighty-thor | 0 | 3,784,291,183 | 50% | ||
magic.bee | 0 | 126,756,271 | 100% | ||
kam5iz | 0 | 1,252,017,654 | 10% | ||
taimen | 0 | 96,793,893 | 100% | ||
monsterrerentals | 0 | 31,814,643,122 | 100% | ||
splinterwhale | 0 | 2,361,631,252 | 50% | ||
deggial | 0 | 29,724,085,912 | 100% | ||
slothburn | 0 | 1,310,087,934 | 10% | ||
briefmarken | 0 | 44,695,647,916 | 100% | ||
hivedrip | 0 | 31,784,650,255 | 50% | ||
blessskateshop | 0 | 57,834,047,764 | 12% | ||
lolz.byte | 0 | 0 | 100% | ||
bbarelyseal | 0 | 0 | 100% | ||
pakx | 0 | 970,920,382,379 | 50% | ||
michael561 | 0 | 2,685,774,297 | 9.95% | ||
thecrazygm.bank | 0 | 3,457,222,599 | 100% | ||
magic.byte | 0 | 0 | 100% | ||
sports.power.bot | 0 | 0 | 0.01% |
Love it when the code comes with a story! !PAKX !PIMP !PIZZA
author | ecoinstant |
---|---|
permlink | re-thecrazygm-swa3t2 |
category | hive-186392 |
json_metadata | {"tags":["hive-186392"],"app":"peakd/2025.5.6","image":[],"users":[]} |
created | 2025-05-15 01:22:18 |
last_update | 2025-05-15 01:22:18 |
depth | 1 |
children | 1 |
last_payout | 2025-05-22 01:22:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.012 HBD |
curator_payout_value | 0.012 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 61 |
author_reputation | 833,875,026,175,374 |
root_title | "The Windows Challenge: Getting `auto-market` Running and Pondering Dependencies" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 142,736,022 |
net_rshares | 74,966,901,935 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
thecrazygm | 0 | 40,524,444,777 | 100% | ||
dustbunny | 0 | 34,442,457,158 | 10.5% |
<center><table><tr></tr><tr><td><center><img src='https://files.peakd.com/file/peakd-hive/pakx/PakX-logo-transparent.png'><p><sup><a href='https://hive-engine.com/?p=market&t=PAKX'>View or trade </a> <code>PAKX</code> tokens.</sup></p></center></td><td><center>@ecoinstant, PAKX has voted the post by @thecrazygm. (1/1 calls)</p><br><br><p>Use !PAKX command if you hold enough balance to call for a @pakx vote on worthy posts! More details available on <a href='/@pakx'>PAKX Blog</a>.</p></center></td></tr></table></center>
author | pakx |
---|---|
permlink | re-ecoinstant-1747272188 |
category | hive-186392 |
json_metadata | "{"tags": ["pakx", "hivepakistan"], "app": "HiveDiscoMod"}" |
created | 2025-05-15 01:23:09 |
last_update | 2025-05-15 01:23:09 |
depth | 2 |
children | 0 |
last_payout | 2025-05-22 01:23:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 524 |
author_reputation | 32,486,708,418 |
root_title | "The Windows Challenge: Getting `auto-market` Running and Pondering Dependencies" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 142,736,030 |
net_rshares | 0 |
<center>PIZZA! $PIZZA slices delivered: @ecoinstant<sub>(1/20)</sub> tipped @thecrazygm <sub>Come get [MOON](https://moon.hive.pizza)ed!</sub></center>
author | pizzabot |
---|---|
permlink | re-the-windows-challenge-getting-auto-market-running-and-pondering-dependencies-20250515t012241z |
category | hive-186392 |
json_metadata | "{"app": "pizzabot"}" |
created | 2025-05-15 01:22:39 |
last_update | 2025-05-15 01:22:39 |
depth | 1 |
children | 0 |
last_payout | 2025-05-22 01:22:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 156 |
author_reputation | 7,456,447,973,030 |
root_title | "The Windows Challenge: Getting `auto-market` Running and Pondering Dependencies" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 142,736,027 |
net_rshares | 0 |
You can use newer versions of OpenSSL, you just have to re-enable legacy_sect as it dropped support for the algorithm Hive requires. ## openssl.conf ``` openssl_conf = openssl_init [openssl_init] providers = provider_sect [provider_sect] [legacy_sect] default = default_sect legacy = legacy_sect [default_sect] activate = 1 activate = 1 ``` Then force pip install cryptography again. You can find where your config is with `openssl version -d`
author | themarkymark |
---|---|
permlink | re-thecrazygm-sw99ys |
category | hive-186392 |
json_metadata | {"tags":["hive-186392"],"app":"peakd/2025.5.6","image":[],"users":[]} |
created | 2025-05-14 14:37:39 |
last_update | 2025-05-14 14:37:39 |
depth | 1 |
children | 1 |
last_payout | 2025-05-21 14:37:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.062 HBD |
curator_payout_value | 0.061 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 452 |
author_reputation | 1,772,919,764,038,280 |
root_title | "The Windows Challenge: Getting `auto-market` Running and Pondering Dependencies" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 142,724,862 |
net_rshares | 363,481,379,594 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
thecrazygm | 0 | 39,715,777,570 | 100% | ||
ecoinstant | 0 | 186,669,460,470 | 100% | ||
fatman | 0 | 9,238,746,021 | 2% | ||
votehero | 0 | 26,852,712,071 | 5.4% | ||
msp-makeaminnow | 0 | 26,934,407,948 | 29.2% | ||
msp-foundation | 0 | 146,208,341 | 100% | ||
mmmmkkkk311 | 0 | -4,206,002,219 | -10% | ||
mariuszkarowski | 0 | -413,808,629 | -10% | ||
thefoundation | 0 | 52,857,970,598 | 100% | ||
we-are-lucky | 0 | 26,673,286,473 | 60% | ||
voter002 | 0 | 26,656,605,184 | 62.9% | ||
bluesniper | 0 | -1,306,361,537 | -10% | ||
primeradue | 0 | -68,017,963 | -10% | ||
ctime | 0 | -2,882,829,983 | -10% | ||
we-are-palcoin | 0 | 377,518,622 | 100% | ||
mk-photo-token | 0 | 0 | -10% | ||
csport | 0 | -89,524,982 | -10% | ||
gaskets | 0 | -25,603,356 | -10% | ||
tenpik | 0 | -49,933,978 | -10% | ||
zeltra | 0 | -49,217,172 | -10% | ||
dreamtales | 0 | -22,918,864,814 | -100% | ||
sonntags | 0 | -528,137,391 | -10% | ||
ovlagik | 0 | 0 | -10% | ||
labutamol | 0 | 0 | -10% | ||
dorianblack | 0 | -103,011,680 | -100% |
I remember having to do that to allow it to do ripemd160, but the compilation error we were getting was that `libcrypto_static.lib` was missing, and only appeared to be in the older versions. My guess is they moved away from static libraries. Holger maintains the python scrypt as well, and it probably hasn't been updated since either. Didn't really look into it too much other than helping get it going. I do plan on digging into the deps anyway, e.g. there is at least 3 difference ecdsa libraries it tries to import as well.
author | thecrazygm |
---|---|
permlink | re-themarkymark-swaz62 |
category | hive-186392 |
json_metadata | {"tags":["hive-186392"],"app":"peakd/2025.5.6"} |
created | 2025-05-15 12:39:39 |
last_update | 2025-05-15 12:39:39 |
depth | 2 |
children | 0 |
last_payout | 2025-05-22 12:39:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.244 HBD |
curator_payout_value | 0.245 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 528 |
author_reputation | 79,762,908,894,102 |
root_title | "The Windows Challenge: Getting `auto-market` Running and Pondering Dependencies" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 142,744,110 |
net_rshares | 1,396,959,234,492 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
abrockman | 0 | 1,396,959,234,492 | 100% |
I also haven't used Windows in many years, also, though so do have me beat, and I remember some of the ridiculous issues that I'd encounter on it often. Installing in Linux is like night and day compared to doing it in Windows, and so much better! Congratulations on your success in resolving the compilation problem, and for squashing a few more bugs! 😁 🙏 💚 ✨ 🤙
author | tydynrain |
---|---|
permlink | re-thecrazygm-2025514t21170309z |
category | hive-186392 |
json_metadata | {"tags":["dev","python","nectar","income","tribes","archon","proofofbrain"],"app":"ecency/3.2.0-vision","format":"markdown+html"} |
created | 2025-05-15 07:17:03 |
last_update | 2025-05-15 07:17:03 |
depth | 1 |
children | 0 |
last_payout | 2025-05-22 07:17:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 364 |
author_reputation | 199,646,301,178,272 |
root_title | "The Windows Challenge: Getting `auto-market` Running and Pondering Dependencies" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 142,739,659 |
net_rshares | 41,349,039,542 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
thecrazygm | 0 | 41,349,039,542 | 100% |