Coder Social home page Coder Social logo

Comments (11)

AlvaroBro avatar AlvaroBro commented on August 24, 2024 1

I created those files, I just stored in sample_data folder. As far as I know they are correct, they have the minimum info and I used your clients tool to check the secrets file.
Also, would the key or account be incorrect, then get_jwt would fail, and it does not fail as getting the token is a prior step to claiming... :(

Anyways, I keep trying. I just joined Discord as well, any ideas are welcome :)

secrets.json

{
    "ronin:0dd...": "0x..."
}

payments.json

{
    "Scholars": [
        {
            "Name": "Account #2",
            "AccountAddress": "ronin:0dd..."
        }
    ]
}

from axie-scholar-utilities.

FerranMarin avatar FerranMarin commented on August 24, 2024

I dobut that is possible, as claim has to be done in the axie infinity web. If you can think of a way... I am more than happy to try it.

from axie-scholar-utilities.

FerranMarin avatar FerranMarin commented on August 24, 2024

For this to happen, someone needs to figure out a way, I honestly doubt there is one.

from axie-scholar-utilities.

FerranMarin avatar FerranMarin commented on August 24, 2024

Closing this issue, if someone has an idea on how to do it... happy to re-open and implement it.

from axie-scholar-utilities.

AlvaroBro avatar AlvaroBro commented on August 24, 2024

Hi @FerranMarin !!
First thanks for the amazing work!
I wanted to ask... is the claim functionality working?
Reading this issue it seems it isn't, but I read in v1.0 changelog that this functionality was added back then. Did it stop working at some point or something like that? If so I'd like to help. What's exactly the current status?
I keep getting error 502 myself executing your client.

from axie-scholar-utilities.

FerranMarin avatar FerranMarin commented on August 24, 2024

v1.12.1 is currently the only working version of this code.
A part from the 2 branches.
So, yes, you should be able to make v1.12.1 work :)

from axie-scholar-utilities.

AlvaroBro avatar AlvaroBro commented on August 24, 2024

v1.12.1 is currently the only working version of this code. A part from the 2 branches. So, yes, you should be able to make v1.12.1 work :)

Great! Is it possible that server returns status code 502 for the claim request if there is no claimable SLP?
thanks!

from axie-scholar-utilities.

FerranMarin avatar FerranMarin commented on August 24, 2024

Nope.
502 HTTP error code means a server error...

from axie-scholar-utilities.

AlvaroBro avatar AlvaroBro commented on August 24, 2024

Ok then I don't know what is going on, I keep getting that 502.

run python axie_scholar_cli.py claim ../../sample_data/payments.json ../../sample_data/secrets.json
2021-11-25 18:22:51,054 - INFO: I shall claim SLP
2021-11-25 18:22:51,055 - INFO: Secret file correctly validated
2021-11-25 18:22:51,059 - INFO: Claiming starting...
2021-11-25 18:22:51,492 - INFO: Account Account #2 (ronin:...) has 11 unclaimed SLP
2021-11-25 18:22:52,488 - INFO: Important: Claim for account Account #2 (ronin:...) had to be skipped (502)
2021-11-25 18:22:52,489 - INFO: Claiming completed!

from axie-scholar-utilities.

FerranMarin avatar FerranMarin commented on August 24, 2024

Amm... why are you using sample data files and expect it to claim? On another note, this could be you have a wrong private key in secrets.json or any other thing that is causing the SM server to respond with a 502 error.

All I can say, check and make sure you using the latest version, make sure your data in payments and secrets is correct.
Also, come to discord for easier communication and trouble shooting.

from axie-scholar-utilities.

FerranMarin avatar FerranMarin commented on August 24, 2024

This kinda looks ok... not much I can tell you 5xx are on server side. Maybe cuz as you said on discord accounts are brand new and are still not claimable... but the endpoint should not return 502 because of that....

from axie-scholar-utilities.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.