Crate arloader[][src]

Expand description

SDK for uploading files in bulk to Arweave.

Files can’t just be uploaded in a post it and forget manner to Arweave since their data needs to be written to the blockchain by node operators and that doesn’t happen instantaneously. This SDK aims to make the process of uploading large numbers of files as seamless as possible. In addition to providing highly performant, streaming uploads, it also includes status logging and reporting features through which complete upload processes can be developed, including uploading files, updating statuses and re-uploading files from filtered sets of statuses.

Modules

Functionality for creating and verifying signatures and hashing.

Errors propagated by library functions.

Functionality for chunking file data and calculating and verifying root ids.

Data structures for reporting transaction statuses.

Data structures for serializing and deserializing Transactions and Tags.

Async TempDir for testing.

Structs

Struct on which [Methods] for interacting with the network are implemented.

Constants

Winstons are a sub unit of the native Arweave network token, AR. There are 1012 Winstons per AR.

Functions

Queries network and updates locally stored Status structs.

Uploads files matching glob pattern, returning a stream of Status structs.

Uploads files matching glob pattern, returning a stream of Status structs, paying with SOL.