Irys-xyz / arweave-js-sdk

JS SDK for Irys on Arweave
110 stars 95 forks source link

Error initialising Bundlr client when using the CLI #51

Closed nstranquist closed 2 years ago

nstranquist commented 2 years ago

I am trying to get the estimated price for uploading 1000 bytes to bundlr, using -c currency "solana", on -h host https://node1.bundlr.network:

bundlr price 1000 -c solana -h https://node1.bundlr.network

I get this error when I run this command: Error whilst getting price: Error initialising Bundlr client - The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined

Why am I not able to get the price with this tool? It is mentioned here and here in the docs: https://docs.bundlr.network/docs/client/cli#check-the-price-of-a-bundlr-node https://docs.bundlr.network/docs/hidden/client/upload-with-solana#fund-a-bundler-with-sol

JesseTheRobot commented 2 years ago

I've confirmed this issue and released a hotfix - this has been resolved as of release v0.7.17