Skip to content

Instantly share code, notes, and snippets.

@alanshaw
Last active January 11, 2023 18:29
Show Gist options
  • Save alanshaw/f1501994e749d9ed867b0ad96a33cfb0 to your computer and use it in GitHub Desktop.
Save alanshaw/f1501994e749d9ed867b0ad96a33cfb0 to your computer and use it in GitHub Desktop.
Upload large CAR files to w3up

Install the new CLI:

npm install -g @web3-storage/w3cli

Create and register new space:

w3 space create SPACENAME
w3 space register you@email.com

Upload big CARs:

w3 put -c my-big.car

It will automatically shard them (to ~100MB), send 3x concurrently and register an "upload" afterwards so you can list using w3 ls.

Note: you can customize --shard-size and --concurrent-requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment