Code Monkey home page Code Monkey logo

Comments (6)

nickr2001 avatar nickr2001 commented on May 22, 2024 1

It looks like the initial bundle I sent is working now. Thanks for the clarification!

from arloader.

CalebEverett avatar CalebEverett commented on May 22, 2024

Hi, I'll take a look - this is usually related to arweave/gateway issues. Apparently there has been a lot of network congestion over the last several days.

from arloader.

nickr2001 avatar nickr2001 commented on May 22, 2024

Great, thank you for looking into it.

from arloader.

CalebEverett avatar CalebEverett commented on May 22, 2024

Likely a bundle parsing issue with the gateway. I take from the bundle confirmation and the parsing of the data items evident on viewblock that the bundles have been successfully written to the chain and the fact that they aren't available at the links to the data items to mean there is a problem with the gateway.

Until the gateway issues are resolved, I think you have two options:

  1. Upload individual items instead of bundles - looks like you've gotten this figured out with arkb. With arloader you can pass the --no-bundle flag, but that unfortunately isn't available for the upload-nfts command. There is a doc with some detail on how to complete the steps individually. The downside on this approach is that you are going to clog up the network further, arweave can only write 1,000 tx per block, approx. every 2 minutes. So if you go this route, check to make sure the pending transactions arloader pending aren't already close to or in excess of 1,000, and then upload in batches of a couple hundred or so.
  2. The better option, is just to use bundlr. I don't think they have the equivalent, upload-nfts command, but you could follow the same basic flow described in the doc I linked. The upside here is that your files will likely be immediately available since bundlr is heavily support by arweave and includes a feature where they cache your uploaded files and the main arweave gateway will look to that cache if it doesn't find them in it's own cache. You may not see your tx ids on the network right away, due to network congestion, but they "guarantee" to get them there with the initial id returned, basically retrying them until they stick as I understand it. But the net is you can use your links right away and then just check back in a day or so to make sure you see them on viewblock or gql. The cost on that is something like a $3 gb premium, which in my mind is way worth it, if you're just trying to get your files uploaded so you can actually create some nfts.

from arloader.

nickr2001 avatar nickr2001 commented on May 22, 2024

Thanks for all the info!
Interestingly I did try uploading the same batch of images via arkb as a bundle as well and those images are accessible through the gateway. Is there any meaningful difference between how arloader and arkb upload bundles?

bundle transaction sent via arkb:
https://viewblock.io/arweave/tx/KZQEGDwXxmOrvf-GcOMytd6eFYTPGO3oJ2Dd30ren7s

from arloader.

CalebEverett avatar CalebEverett commented on May 22, 2024

That looks like an individual transaction https://viewblock.io/arweave/address/4XLIblezt71RzecXAnm4BRqbyAaqUN4O9yGO5r-JMo0. As far as bundles, I think arkb has the option of either native or through bundlr. Not sure what the default is. At the end of the day, everybody has to create and upload bundles in the same format. There can be differences in error handling and retry logic and more importantly on the caching, but as far as I know, bundlr is the only service that has the special caching arrangement.

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.