RE: Python Libraries: Splinterlands SPS Auto-Staker v.1.2

avatar

You are viewing a single comment's thread:

I setup something similar to auto claim/stake for SPS and GLX. It also claims SPS Node rewards. I couldn't imagine clicking those buttons all the time.



0
0
0.000
10 comments
avatar

I don't suppose you know how to claim accumulated SPS in the Tribeldex pools? I can't find any info about it, or find any API info.

image.png

0
0
0.000
avatar

I don't have anything in any of the pools, so no I don't. Have you check for any related custom json broadcasts after you do it manually?

0
0
0.000
avatar

I will have a look thanks, anything to give a clue on this. I asked in the discord dev area and got a lot of silence!

0
0
0.000
avatar

There are only a handful of people here on Hive that even do this. It's not unexpected.

0
0
0.000
avatar

I haven't looked in a few days. No API method then.

image.png

0
0
0.000
avatar

Those aren't really tribaldex rewards, so that answer was expected. It's a pure SPL-based reward system. But there has to be a json for it, because the webpage is using only the API itself.

0
0
0.000
avatar

I checked the BlockExplorers for HE and Hive and there was just nothing for that particular action. The Tribeldex/Dieselpool Rewards are not showing the SPS rewards, which makes me believe it's a spaghetti airdrop code somewhere on the SPL Backend.

0
0
0.000
avatar

I wrote something using Selenium (with Python) which is a library that can interact with webpages. The only problematic element is logging in reliably, and closing all the various pop-up windows that change each and every time there's a new feature.

Worth a go if you're learning new Python things.

0
0
0.000
avatar

I looked at this only yesterday, got the session popped open but then you have the issue of Keychain and being logged out. It looked more trouble than it was worth. I had even identified the <DIV section...

0
0
0.000
avatar

Using posting key to log in instead of keychain works well for getting around this. Using XPATH is probably more reliable than the div, too :)

I could dig up my old code for this, but I withdrew from liq pools quite some time ago, so my focus is just like yours, building that sweet, sweet, sps stake

0
0
0.000