You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create a client to programmatically upload '.car' files to web3.storage.
what i did:
created a web3.storage account
installed the w3 CLI and signed in (w3 login)
created a key (w3 key create > private.key)
created a delegation for the key (w3 delegation create -c 'store/*' -c 'upload/*' [key DID] -o proof.ucan)
the problem encountered:
when trying to parse the proof.ucan with
package main
import"github.com/web3-storage/go-ucanto/core/delegation"funcmain() {
proofDel, err:=delegation.Extract(proof)
}
i encounter get this error: missing root CID in delegation archive
am i doing something wrong here?
i already tried to pass the account DID of mine (did:mailto:...) instead of the private key DID (created in step 3.), even tough it didn't make sense to me. this failed too.
=> is the private key DID the right one to pass to the delegation in step 4?
thanks a lot for all you work and greetings from germany!
The text was updated successfully, but these errors were encountered:
what do i want to do:
create a client to programmatically upload '.car' files to web3.storage.
what i did:
w3 login
)w3 key create > private.key
)w3 delegation create -c 'store/*' -c 'upload/*' [key DID] -o proof.ucan
)the problem encountered:
when trying to parse the
proof.ucan
withi encounter get this error:
missing root CID in delegation archive
am i doing something wrong here?
i already tried to pass the account DID of mine (
did:mailto:...
) instead of the private key DID (created in step 3.), even tough it didn't make sense to me. this failed too.=> is the private key DID the right one to pass to the delegation in step 4?
thanks a lot for all you work and greetings from germany!
The text was updated successfully, but these errors were encountered: