Comments (3)
Can you try using full paths - it doesn't like the ~
. I will validate for that in a future release. Can you also try putting the AR keypair path as an environment variable? The command line parser expects it to precede the subcommand. If you pass it as an environment variable, you don't have to worry about the order in which you pass it.
I've found that order to be unintuitive myself. I will move it out so that it can be passed after the subcommands, e.g., estimate, in the next release.
In the mean time, you can run arloader estimate --help
, for example, to check to make sure you are passing arguments in the expected order.
Prints the estimated cost of uploading file(s) matching provided glob.
USAGE:
arloader --ar-keypair-path <AR_KEYPAIR_PATH> estimate [FLAGS] [OPTIONS] <GLOB>
FLAGS:
-h, --help Prints help information
-n, --no-bundle Specify whether to upload with individual transactions instead of in a bundle.
-V, --version Prints version information
--with-sol Specify whether to pay for transaction(s) with SOL.
OPTIONS:
-o, --output <FORMAT> Return information in specified output format. [possible values: quiet,
verbose, json, json-compact]
-r, --reward-multiplier <REWARD_MULT> Specify a reward multiplier as float. The reward from the network will be
multiplied by this amount for submission. [default: 1.0]
I'm also going to make it so that you don't need either an AR or SOL wallet for commands other than the upload ones, per #1.
from arloader.
I'm going to close this since it seems like it's a matter of entering the commands in the order the parser expects, but feel free to open back up or add additional/comments questions if you still have trouble getting it going.
from arloader.
Thanks - I got it to work when putting the options in the correct order and using full paths without the ~.
However, I noticed you pushed out 0.1.36, which is meant to add support for ~ paths, but it's not working for me.
./arloader upload "*.png" --ar-keypair-path ./arweave-key --log-dir "status/asset/" --with-sol --sol-keypair-path "/home/user/.config/solana/id.json"
InsufficientSolFunds
Uploaded 0 KB in 0 files in 0 bundle transaction(s). Run arloader update-status --log-dir "status/asset/"
to update statuses.
./arloader upload "*.png" --ar-keypair-path ./arweave-key --log-dir "status/asset/" --with-sol --sol-keypair-path "~/.config/solana/id.json"
error: Invalid value for '--sol-keypair-path <SOL_KEYPAIR_PATH>': Keypair path does not exist.
from arloader.
Related Issues (20)
- Insanely high upload time? HOT 14
- crash when tx status returns internal server error HOT 10
- What data is passed through Arloader? HOT 2
- Getting StatusCodeNotOk errors after trying to upload with SOL HOT 10
- NotFound when using multiplier 0 to 3 HOT 13
- Trying to upload png/json HOT 9
- Constant issues with uploading nft set - StatusCodeNotOk HOT 6
- Transaction for upload-nfts complete, but files inaccessible HOT 6
- Add number of items limit to bundle size
- StatusCodeNotOK - Can't Upload 10k Set - 0.1.62 HOT 2
- StatusCodeNotOk HOT 1
- Rust nightly toolchain HOT 3
- StatusNotOK HOT 14
- error: Invalid value for '<FILE_PATHS>...': Path does not exist. HOT 2
- what am i doing wrong? HOT 11
- get-status JSON output panics HOT 2
- StatusNotOK HOT 11
- Cannot create w2w transaction
- funding transactions with SOL - upload not completed - SOL deducted HOT 2
- Custom Gateway - instead of `arweave.net`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arloader.