Nectar.Hive - Slipping on a new API

Following up now with @ecoinstant and @thecrazygm. Kudos on Nectar by the way, do you have a logo for it?

I have finally downloaded Python 12.3 and installed it on the Pi. Since its a Pi and it uses Debian, it was a bit of a workaround, but I compiled it myself and its running now. Then upgraded the virtual environment and installed nectar....

git clone https://github.com/TheCrazyGM/nectarengine.git
cd nectarengine
pip install .

...and am trying to run in along with beem.

Now, if I were to plug in nectar for all things beem calls for would it be a good idea to do so, or do both and remove one at a time and see wherein the problem may lie?

As it stands currently, I can have the transactions of the bot broadcast; it uses Resource Credits. It will not complete a transaction or put one in the order book (buy or sell). What am I missing?

I will upload the new files to GitHub in the morning. It's been an overall exhausting process to know I'm missing the last piece of the puzzle. I may have to search through the Hive Engine API (https://hiveengine.readthedocs.io/en/latest/hiveengine.api.html) to figure out what I may be missing.

Appreciate the help and shares @enginewitty @techcoderx @txracer @dlmmqd @powerpaul @millhouze the little bits of knowledge have helped me get this far, THANK YOU.



0
0
0.000
18 comments
avatar
(Edited)

I took a look at hivehub.dev and it looks like the active key is needed. Here is a link to one of the failed tx attempts. I am glad to see you have it to this point, and make sure not to accidently put your keys on github.

0
0
0.000
avatar

I have placed the active key into the code. I'm going to have to dig a little more to figure out where I went wrong at.

0
0
0.000
avatar

After u added the active key did it post to hive nodes?

0
0
0.000
avatar

That would show up on HiveBlocks right? I'm sorry if I'm not grasping the terminology.

0
0
0.000
avatar

Yes, if you try again with the active key I think it will work. After you try it should show on hiveblocks with any error or success if it consumes RC.

0
0
0.000
avatar

So just the active key or both keys? I'm still having the same problem its being signed locally I believe but not reaching a Node... I think. I'm not 100 percent sure.

0
0
0.000
avatar

Maybe just the active, it is still showing the same error but it did hit a node and try to post. Recent attempt here

0
0
0.000
avatar

I appreciate the help and patience with my lack of knowledge.

0
0
0.000
avatar

No problem at all, I still have no clue how to set any of the stuff up through python. So you are helping me learn through trying to help you.

0
0
0.000
avatar

Python is the only thing I really know... and some HTML and a lil java

0
0
0.000
avatar

Is there a way to add wait 3seconds, check block id, then check bal? It looks like you are burning a ton of rc on failed transactions at the moment.

0
0
0.000
avatar

Maybe. I'll go back and clean it up, maybe add a few minutes in between.

0
0
0.000
avatar

The bot is working now though you were right about the active key... I was missing forcing it later in the code.

0
0
0.000
avatar

I wouldn't try to run beem and nectar side by side.

In my main code all I did was search and replace beem with nectar and that pretty much worked across the board.

0
0
0.000
avatar

That's what I did... However they can work together that I did find out. When debugging that always triggers a flag

0
0
0.000