You are viewing a single comment's thread from:

RE: Python Libraries: No More BEEM

in STEMGeeks2 months ago

I still have to play both Mirage and the previous one, Valhalla: I've read mostly negative review about Mirage, but still I'd like to play again an AC similar to the original ones, just for the vides ahhaah

About BEEM, may I ask you a (surely stupid) question? Python tutorials on developers.hive.io use BEEM, so they are outdated, right? Because I was going through all of them, but looking at your first snippet I finally grasped (a little) how I should use the condenser API and realized that those tutorials must have been written before the deprecation of BEEM.

Sort:  

It seems we are stuck with BEEM for certain transactions unless you want to build a transaction signing function. I'm happy to be 90% BEEM free, it cuts down on the errors.

What we need is someone to either update BEEM or build a new API that is just as good as that was. Some have been attempted but I haven't seen any updates lately.

@emrebeyler did one, have a look here.

It seems we are stuck with BEEM for certain transactions unless you want to build a transaction signing function.

Ok, that's exactly what I couldn't find anywhere in the condenser API: I was looking everywhere for a way to sign a transaction, but I couldn't find it 😅

@emrebeyler did one, have a look here.

Going to check it now :)

Can I use that also with Python? I mean, by "translating" it into Python?

I'm not a real coder, so I ask sorry in advance in case I said a blasphemy 😂

The tutorial linked above, also contains a link to a Python example from 8(!) years ago.

You can translate it to any language, of course.
But the whole signing procedure is a bit complicated and if you just want to build something, I would recommend you just use an existing library for signing.
Posted the link, so you can see how much trouble it is.

Oh wow... that's beyond complicated for me 🤣

ok, I'm going to follow your advice and use one of the existing library we already have to sign transaction: after giving a look at that I have no more doubts ahahaha

For a Python user you would recommend using BEEM for signing? Or are there other libraries which are better and/or more updated?

It doesn't matter which lib you use.
I use beem, but by accessing its underlying functions like demonstrated somwehere else in this comment section here. The more abstract, the more errors can occur. But then again: more abstraction can make the code more readable.
It's up to you and what suits your needs best...

Follow my blog for more 😎