create account

I Dunno... but I made a GitHub Repo by paulmoon410

View this thread on: hive.blogpeakd.comecency.com
· @paulmoon410 ·
$1.03
I Dunno... but I made a GitHub Repo
<center>![](https://images.ecency.com/DQmUTLjT8z1TgWYEo5oFCvp9UgjjKQrXz7oAzeqrPUgqAgR/image.png)</center>



A few days ago, I shared a post about building a trading bot for PeakeCoin. It was raw, real, and to the point: I was trying to automate SWAP.BNB trades using the `beem` Python library, and running into key verification issues, I just couldn’t solve.

🔗 [Original blog: I Asked for Help. I Got Silence. So I Started Building Anyway.](https://ecency.com/hive-167922/@paulmoon410/i-asked-for-help-i)

And something cool happened.

@millhouze told me to create a  GitHub to work on it together.  Maybe get some help debugging it, or even contribute directly. And that made sense. It’s one thing to talk about a problem—another to *show it.*

So I did just that:  
🔗 [GitHub Repo: peakecoin_bnb_bot](https://github.com/PaulMoon410/peakecoin_bnb_bot)

---

## Do I Know What I’m Doing with GitHub? Not Yet.

I’ll be honest—I don’t really know how to use GitHub. Not fully. I understand the basics: uploading files, committing changes, and sharing code.

But there’s a lot I *don’t* know:

- How to write a proper `README.md`  
- How to create or respond to Issues  
- How others contribute to my code or suggest changes  
- How to keep everything synced when I'm editing locally vs online  

Still, I created the repo. I’m figuring it out as I go.

---

## Why I’m Sharing This

Because someone else out there is probably in the same spot.

You’re building something cool. It’s half-working, half-broken. You’re not a Git wizard. But you want help, or maybe just someone to say, “Hey, good work so far.”

That’s what I’m doing now. I’ve put the bot on GitHub, even if it’s messy. I’m opening myself up to feedback, to learning, and hopefully to building something that works, not just for me, but for others who believe in projects like PeakeCoin too.

---

## If You Know GitHub—and Want to Help

I’m all ears.

Feel free to:

- Suggest improvements  
- Open an issue if you spot something  
- Teach me how to make the repo more useful  
- Or just let me know you're watching it grow  

Because that’s what this space is really about—**building in public**, and not being afraid to do it while learning.

---

**Let’s figure it out together.**  
And thanks to anyone who takes a minute to help a builder like me keep going.

Appreciate all the upvotes from @neoxian @enginewitty, and others I can't think of. 
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 68 others
👎  
properties (23)
authorpaulmoon410
permlinki-dunno-but-i-made
categoryhive-167922
json_metadata"{"app":"ecency/4.0.3-vision","tags":["hive-167922","pimp","neoxian","waivio","proofofbrain","palnet","ctp","lassecash","bee","leofinance","ecency"],"format":"markdown+html","image":["https://images.ecency.com/DQmUTLjT8z1TgWYEo5oFCvp9UgjjKQrXz7oAzeqrPUgqAgR/image.png"],"thumbnails":["https://images.ecency.com/DQmUTLjT8z1TgWYEo5oFCvp9UgjjKQrXz7oAzeqrPUgqAgR/image.png"],"description":"A few days ago, I shared a post about building a trading bot for PeakeCoin. It was raw, real, and to the point: I was trying to automate SWAP.BNB trades using the beem Python library, and running into","image_ratios":["1.7751"]}"
created2025-04-12 03:25:03
last_update2025-04-12 03:25:03
depth0
children14
last_payout2025-04-19 03:25:03
cashout_time1969-12-31 23:59:59
total_payout_value0.520 HBD
curator_payout_value0.505 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,416
author_reputation40,336,889,311,514
root_title"I Dunno... but I made a GitHub Repo"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,050,528
net_rshares3,147,781,808,570
author_curate_reward""
vote details (133)
@aqsagu ·
Great move! What exactly was the issue with beem key verification? Were you getting any specific error?
properties (22)
authoraqsagu
permlinksulbc3
categoryhive-167922
json_metadata{"app":"hiveblog/0.1"}
created2025-04-12 05:31:21
last_update2025-04-12 05:31:21
depth1
children3
last_payout2025-04-19 05:31:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length103
author_reputation-414,906,422,593
root_title"I Dunno... but I made a GitHub Repo"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,051,711
net_rshares0
@paulmoon410 ·
        cpuminer@raspberrypi:~/peakecoin/swapbnb/bot $ python3 peakecoin_bnb_bot.py
      🟢 Market Price: 2610.56082367 | Buy: 2571.402411 | Sell: 2649.719236
     ⚡ Placing BUY order: 0.01 SWAP.BNB at 2571.402411
     📝 Final Order Payload: {'contractName': 'market', 'contractAction': 'buy', 'contractPayload': {'symbol': 
      'SWAP.BNB', 'quantity': '0.01', 'price': '2571.402411'}}
      ❌ Error broadcasting order:
      Traceback (most recent call last):
       File "/home/cpuminer/peakecoin/swapbnb/bot/place_order.py", line 75, in place_order
          tx.sign()
       File "/home/cpuminer/.local/lib/python3.9/site-packages/beem/transactionbuilder.py", line 441, in sign
         raise MissingKeyError
      beem.exceptions.MissingKeyError
      ✅ Buy Order Response: False
      ⚡ Placing SELL order: 0.01 SWAP.BNB at 2649.719236
      ❗ Cannot place order — SWAP.BNB balance is 0.
      ✅ Sell Order Response: False
     Uploaded bnb_trade_log.txt to bnb_trade_log.txt.
     ^CTraceback (most recent call last):
       File "/home/cpuminer/peakecoin/swapbnb/bot/peakecoin_bnb_bot.py", line 55, in <module>
         trading_bot()
       File "/home/cpuminer/peakecoin/swapbnb/bot/peakecoin_bnb_bot.py", line 51, in trading_bot
         time.sleep(SLEEP_TIME)
      KeyboardInterrupt
👍  ,
👎  ,
properties (23)
authorpaulmoon410
permlinkre-aqsagu-2025412t115132272z
categoryhive-167922
json_metadata{"tags":["ecency"],"app":"ecency/4.0.3-vision","format":"markdown+html"}
created2025-04-12 15:51:33
last_update2025-04-12 15:51:33
depth2
children2
last_payout2025-04-19 15:51:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,296
author_reputation40,336,889,311,514
root_title"I Dunno... but I made a GitHub Repo"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,059,007
net_rshares-2,213,648,530
author_curate_reward""
vote details (4)
@thecrazygm ·
$1.19
The key error is likely that it's wanting to use the active key for the actual transaction but you only have the posting wif loaded. I haven't looked at the code, but if you have it loaded from the wallet, add both keys to the wallet, if you care calling it this way: `Hive(keys=[posting_key])` you should do it `Hive(keys=[posting_key, active_key])`

---

Also, the beem library is dated, which is why I have taken upon myself to update it and get it caught up with the times under a rebrand. If you would like to use my current iteration, it's listed as hive-nectar and is mostly 1:1 compatible with beem, just `from nectar.hive import Hive` etc instead of beem. Feel free to reach out if you would like.
👍  , , , , , , ,
properties (23)
authorthecrazygm
permlinkre-paulmoon410-sunoa7
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2025.4.4"}
created2025-04-13 12:06:09
last_update2025-04-13 12:06:09
depth3
children1
last_payout2025-04-20 12:06:09
cashout_time1969-12-31 23:59:59
total_payout_value0.597 HBD
curator_payout_value0.597 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length706
author_reputation78,392,032,419,824
root_title"I Dunno... but I made a GitHub Repo"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,072,169
net_rshares3,478,509,899,783
author_curate_reward""
vote details (8)
@enginewitty ·
Reblogged for visibility with hopes you get some more help as I would love this!
👍  ,
properties (23)
authorenginewitty
permlinkre-paulmoon410-sumtvq
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2025.4.4","image":[],"users":[]}
created2025-04-13 01:09:30
last_update2025-04-13 01:09:30
depth1
children1
last_payout2025-04-20 01:09:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length80
author_reputation693,018,973,943,668
root_title"I Dunno... but I made a GitHub Repo"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,066,222
net_rshares32,374,330,032
author_curate_reward""
vote details (2)
@paulmoon410 ·
It would be nice if more of us had this information. I appreciate that.
👍  
👎  
properties (23)
authorpaulmoon410
permlinkre-enginewitty-2025413t35554335z
categoryhive-167922
json_metadata{"type":"comment","tags":["hive-167922"],"app":"ecency/3.3.0-mobile","format":"markdown+html"}
created2025-04-13 07:55:54
last_update2025-04-13 07:55:54
depth2
children0
last_payout2025-04-20 07:55:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length71
author_reputation40,336,889,311,514
root_title"I Dunno... but I made a GitHub Repo"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,069,696
net_rshares31,241,295,788
author_curate_reward""
vote details (2)
@lasseehlers ·
Uploaded for the sport

Posted using [LasseCash](https://www.lassecash.com/@lasseehlers/re-paulmoon410-m9e4mgm2)
properties (22)
authorlasseehlers
permlinkre-paulmoon410-m9e4mgm2
categoryhive-167922
json_metadata{"tags":["lassecash"],"format":"markdown","canonical_url":"https://www.lassecash.com/@lasseehlers/re-paulmoon410-m9e4mgm2","app":"lassecash/1.2.0"}
created2025-04-12 11:22:27
last_update2025-04-12 11:22:27
depth1
children2
last_payout2025-04-19 11:22:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length112
author_reputation-19,425,958,782,942
root_title"I Dunno... but I made a GitHub Repo"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,054,951
net_rshares0
@paulmoon410 ·
Uploaded what?
👍  ,
👎  
properties (23)
authorpaulmoon410
permlinkre-lasseehlers-2025412t13364960z
categoryhive-167922
json_metadata{"type":"comment","tags":["lassecash"],"app":"ecency/3.3.0-mobile","format":"markdown+html"}
created2025-04-12 17:36:06
last_update2025-04-12 17:36:06
depth2
children1
last_payout2025-04-19 17:36:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length14
author_reputation40,336,889,311,514
root_title"I Dunno... but I made a GitHub Repo"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,060,639
net_rshares26,492,424,627
author_curate_reward""
vote details (3)
@lasseehlers ·
oh sorry meant upvoted on LasseCash

Posted using [LasseCash](https://www.lassecash.com/@lasseehlers/re-paulmoon410-m9ej5lbp)
properties (22)
authorlasseehlers
permlinkre-paulmoon410-m9ej5lbp
categoryhive-167922
json_metadata{"tags":["lassecash"],"format":"markdown","canonical_url":"https://www.lassecash.com/@lasseehlers/re-paulmoon410-m9ej5lbp","app":"lassecash/1.2.0"}
created2025-04-12 18:09:33
last_update2025-04-12 18:09:33
depth3
children0
last_payout2025-04-19 18:09:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length125
author_reputation-19,425,958,782,942
root_title"I Dunno... but I made a GitHub Repo"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,061,179
net_rshares0
@millhouze ·
Nice! Thanks for getting this thing started; I've done some tinkering with a market trading bot before but not near as cool as what this would be. I'm looking forward to hashing it out x] 
properties (22)
authormillhouze
permlinkre-paulmoon410-sul6fx
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2025.4.4","image":[],"users":[]}
created2025-04-12 03:45:36
last_update2025-04-12 03:45:36
depth1
children1
last_payout2025-04-19 03:45:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length188
author_reputation671,684,166,524
root_title"I Dunno... but I made a GitHub Repo"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,050,761
net_rshares0
@paulmoon410 ·
I'm kinda old to be learning to code. So I'm schooling myself and using all the resources I can to do this expeditiously. Beem is kind of where I'm stuck. I can't get the key verification, plus my servers crashed. Which set me back from what I had saved. It's a heartbreaker. I'm working on an auto FTP code to constantly save it from here on out.
👍  
👎  
properties (23)
authorpaulmoon410
permlinkre-millhouze-2025411t23492482z
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"ecency/4.0.3-vision","format":"markdown+html"}
created2025-04-12 03:49:27
last_update2025-04-12 03:49:27
depth2
children0
last_payout2025-04-19 03:49:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length348
author_reputation40,336,889,311,514
root_title"I Dunno... but I made a GitHub Repo"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,050,798
net_rshares25,531,713,449
author_curate_reward""
vote details (2)
@techcoderx ·
> How to write a proper README.md

Markdown syntax is largely the same as posts on Hive. Usually this will describe what it does, how to compile/run and configure it.

> How to create or respond to Issues

Looks like you just created one. You may want to include [crash logs](/hive-167922/@paulmoon410/re-aqsagu-2025412t115132272z) in your issue. Close them when the issue has been resolved.

> How others contribute to my code or suggest changes

They will make a fork of your repo, make their changes in a branch and submit a pull request for you to review and merge.

> How to keep everything synced when I'm editing locally vs online

`git pull` to fetch remote changes or `git push` to push any changes made locally. I personally use [Github desktop](https://github.com/apps/desktop) to manage my repos.
👍  
properties (23)
authortechcoderx
permlinkre-paulmoon410-sumvem
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2025.4.4","image":[],"users":[]}
created2025-04-13 01:42:24
last_update2025-04-13 01:42:24
depth1
children1
last_payout2025-04-20 01:42:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length808
author_reputation47,713,359,139,491
root_title"I Dunno... but I made a GitHub Repo"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,066,459
net_rshares0
author_curate_reward""
vote details (1)
@paulmoon410 ·
Thank you. 
👍  
👎  
properties (23)
authorpaulmoon410
permlinkre-techcoderx-2025413t35420469z
categoryhive-167922
json_metadata{"type":"comment","tags":["hive-167922"],"app":"ecency/3.3.0-mobile","format":"markdown+html"}
created2025-04-13 07:54:21
last_update2025-04-13 07:54:21
depth2
children0
last_payout2025-04-20 07:54:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length11
author_reputation40,336,889,311,514
root_title"I Dunno... but I made a GitHub Repo"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,069,678
net_rshares26,926,521,242
author_curate_reward""
vote details (2)
@txracer ·
Thank you for sharing! I look forward to seeing how you build this project.
properties (22)
authortxracer
permlinkre-paulmoon410-sut6za
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2025.4.5","image":[],"users":[]}
created2025-04-16 11:38:00
last_update2025-04-16 11:38:00
depth1
children0
last_payout2025-04-23 11:38:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length75
author_reputation2,257,721,550,576
root_title"I Dunno... but I made a GitHub Repo"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,129,915
net_rshares0