TLSN Explorer is server that will handle the social discovery and visualization of proofs generated from the TLS Notary protocol.
cp .env.sample .env
- Create an API key in Pinata.cloud
- Create a new Gateway in Pinata.cloud
- Create a new Gateway access token in Pinata.cloud
- Update your
.env
file
npm i
npm run dev
npm i
npm run build
npm start
Request:
curl -F 'data=@/path/to/file' http://localhost:3000/upload
Response:
// CID string
bafkreihlmzaynphb7cunvjjsm25w3uw5dbqvifq3wzppw33jztqqrx6oqi
Request:
curl http://localhost:3000/ipfs/bafkre....tqqrx6oqi
Response:
download file bafkre....tqqrx6oqi.json