Skip to content

v3 - w3up edition

Latest
Compare
Choose a tag to compare
@olizilla olizilla released this 17 Jan 16:57
· 2 commits to main since this release
afd8cba

Rewrite of add-to-web3 action to work with the new w3up web3.storage api.

w3cli does everything we need to upload files to web3.storage, so this action now provides a very thin wrapper around that cli in the form of a composite action.

See the action README.md for more details.

Breaking changes

Auth is based on UCANs now.

Use w3cli to create a signing key for this action to use, and a UCAN proof that delegates upload capabilities to that key.

  • input: web3_token has been removed, as token based auth as been removed.
    • set secret_key to a base64 encoded siging key you create via w3 key create.
    • set proof to the a base64 CAR encoded UCAN delegating capabilities to the secret_key's DID.
  • input: wrap_with_directory has been removed. w3cli does not wrap directories in directories by default now. Only single files get wrapped to preserve their filename.
    • set wrap: false to disable the wrapping of single files.
  • input: web3_api has been removed. Targeting other services is not currently supported. Open an issue if you need that.
  • input: include_hidden has been renamed to hidden to match the w3cli flag name