GithubHelp home page GithubHelp logo

what am i doing wrong? about arloader HOT 11 OPEN

calebeverett avatar calebeverett commented on July 22, 2024
what am i doing wrong?

from arloader.

Comments (11)

freshskates avatar freshskates commented on July 22, 2024

I have solana balance, and i have two files in the dir

0.gif
0.json

from arloader.

CalebEverett avatar CalebEverett commented on July 22, 2024

Try a higher reward multiplier and/or a bigger bundle, i.e. more files to get the reward higher

from arloader.

CalebEverett avatar CalebEverett commented on July 22, 2024

Actually are you on wsl2 ?

from arloader.

freshskates avatar freshskates commented on July 22, 2024

image

yea

from arloader.

CalebEverett avatar CalebEverett commented on July 22, 2024

This might not be it, but can you move the Linux binary into wsl and call from there instead of windows dir?

from arloader.

freshskates avatar freshskates commented on July 22, 2024

image

Ok will try that, also just wanted to point out the log lines:

Retrying Solana transaction (1 of 10)...

Not sure if that gives hint towards the issue, but also ill give what you mentioned a try

from arloader.

CalebEverett avatar CalebEverett commented on July 22, 2024

Ok try the higher reward multiplier too

from arloader.

CalebEverett avatar CalebEverett commented on July 22, 2024

The solana retry will retry 10 times. It timed out if not confirem in I think 5 seconds, but then tries again. Up to 10 times.

from arloader.

freshskates avatar freshskates commented on July 22, 2024
{
  "name": "test123",
  "symbol": "SB",
  "description": "lorem ipsum",
  "seller_fee_basis_points": 800,
  "image": "0.gif",
  "external_url": "",
  "edition": 0,
  "attributes": [
    {
      "trait_type": "test",
      "value": "test123"
    }
  ],
  "properties": {
    "files": [
      {
        "uri": "0.gif",
        "type": "image/gif"
      }
    ],
    "category": "gif",
    "creators": [
      {
        "address": "wallet address goes here",
        "share": 50
      },
      {
        "address": "wallet address goes here",
        "share": 50
      }
    ]
  }
}

does this look right for a json?

this goes along with the 0.gif file, but could it be the json syntax? it used to work for me months ago, but maybe I messed something up this time

from arloader.

CalebEverett avatar CalebEverett commented on July 22, 2024

There are some examples files here you could use. https://github.com/CalebEverett/arloader/tree/master/tests/fixtures

from arloader.

HZfive avatar HZfive commented on July 22, 2024

hi @CalebEverett
arloader estimate *.json -r 20
error: Invalid value for '--reward-multiplier <REWARD_MULT>': Multiplier must be a float between 0 and 3.
arloader 0.1.63

examples:
arloader estimate *.json -r 10
The price to upload 999 files with 946017 total bytes in 1 transaction(s) is 2019429120 winstons ($0.0274).
arloader upload *.json -r 10 --ar-keypair-path ~/xxx/SO7gY80bAH8f_osfXiuUsIqFZSb3OH2q2-4vMv43ogg.json
Uploading 999 files with 946 KB of data in 1 bundle transactions...

bundle txid items KB status confirms
------------------------------------------------------------------------------------
zXg4MovG05j68vgxY40evcsW-7yOvNgqbcdzSA3wqto 999 946 Submitted 0

Uploaded 946 KB in 999 files in 1 bundle transactions. Run arloader update-status arloader_iAh8iXPbmTo to update statuses.
arloader update-status arloader_iAh8iXPbmTo
bundle txid items KB status confirms
------------------------------------------------------------------------------------ zXg4MovG05j68vgxY40evcsW-7yOvNgqbcdzSA3wqto 999 946 NotFound 0`

arloader estimate *.json -r 20
error: Invalid value for '--reward-multiplier <REWARD_MULT>': Multiplier must be a float between 0 and 3.

arloader estimate *.json -r 10
The price to upload 1000 files with 4334786 total bytes in 1 transaction(s) is 8562543360 winstons ($0.1166).
arloader upload *.json -r 10 --ar-keypair-path ~/xxx/SO7gY80bAH8f_osfXiuUsIqFZSb3OH2q2-4vMv43ogg.json
Uploading 1000 files with 4334 KB of data in 1 bundle transactions...`

bundle txid items KB status confirms
------------------------------------------------------------------------------------
i6BYChxhKiuSRwRVSc_UFzjYUeLCKlrCxPQ1khZW7dQ 1000 4334 Submitted 0

Uploaded 4334 KB in 1000 files in 1 bundle transactions. Run arloader update-status arloader_VAQ0q4hHQ9c to update statuses.
bundle txid items KB status confirms
------------------------------------------------------------------------------------
i6BYChxhKiuSRwRVSc_UFzjYUeLCKlrCxPQ1khZW7dQ 1000 4334 Confirmed 4

Can the '--reward-multiplier <REWARD_MULT>' go up ?
and why this one work:

arloader upload ./assets/0.json -o json --sol-keypair-path solana.json --with-sol --ar-default-keypair --reward-multiplier 6
Uploading 1 files with 0 KB of data in 1 bundle transactions...

arloader update-status ./assets/arloader_SKnmekBC4Zk
bundle txid items KB status confirms
------------------------------------------------------------------------------------
KXZkrH_3n2I7z1iyIGARY7RhBpILDKU9UA1kykEqt2Q 1 0 Pending 0

arloader update-status ./assets/arloader_SKnmekBC4Zk
bundle txid items KB status confirms
------------------------------------------------------------------------------------
KXZkrH_3n2I7z1iyIGARY7RhBpILDKU9UA1kykEqt2Q 1 0 Confirmed 1

just upload one file with 0kb and ' --reward-multiplier 6' is fine, but 999 with 946 KB ' --reward-multiplier 10'

from arloader.

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.