Admin tool to get info about a cid
$ w3stat cid bafybeigfpa7cugx7acsz4omli2yezj6us4xgdrgmducsjuluva7oifemtq
bafybeigfpa7cugx7acsz4omli2yezj6us4xgdrgmducsjuluva7oifemtq
🟢 ok. cid not on denylist
🚘 bagbaieraxlxzbs4wpoiba7zzzgo4a3zjzx5asfdrex5jholcwkwmwiu77lwa
ℹ️ {"blockmultihash":"zQmbdVNNoE96XxAoaePk1zuqhDcCq86CWh6uY7Zcvrxnxv7","offset":588,"length":58,"carpath":"us-west-2/carpark-prod-0/bagbaieraxlxzbs4wpoiba7zzzgo4a3zjzx5asfdrex5jholcwkwmwiu77lwa/bagbaieraxlxzbs4wpoiba7zzzgo4a3zjzx5asfdrex5jholcwkwmwiu77lwa.car"}- Clone the repo
- Install the deps
npm i - Copy
.env.tplto.env - Link it
npm linkto makew3cliavailable on your path
Prints everything the tool can find about a given cid. It is the summary of the more specific commands listed below
Is the CID on the denylist?
What block indexes do we have for the multihash in the given cid?
Do we have any CID -> CAR CID mappings in dudewhere?
You need the following set in the environment
- AWS credentials set up
R2_ACCESS_KEY_ID- Cloudflare s3 api key idR2_SECRET_ACCESS_KEY- Cloudflare secret key
You can copy .env.tpl to .env and set the values there.