mirror of
https://github.com/tlsnotary/explorer.git
synced 2026-01-09 21:07:55 -05:00
c99453b4258ee1b7655032b4647501f52248ffea
* chore: bump tlsn-js version to alpha.5 * chore: bump tlsn-js version to alpha.5 * chore: bumping tlsn-js version --------- Co-authored-by: John Shaw <codetrauma@Johns-MacBook-Pro.local>
TLSN Explorer
TLSN Explorer is server that will handle the social discovery and visualization of proofs generated from the TLS Notary protocol.
Set up .env
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
.envfile
Development
npm i
npm run dev
Build and Start
npm i
npm run build
npm start
Server API
POST /upload
Request:
curl -F 'data=@/path/to/file' http://localhost:3000/upload
Response:
// CID string
bafkreihlmzaynphb7cunvjjsm25w3uw5dbqvifq3wzppw33jztqqrx6oqi
GET /ipfs/:cid
Request:
curl http://localhost:3000/ipfs/bafkre....tqqrx6oqi
Response:
download file bafkre....tqqrx6oqi.json
Description
Languages
TypeScript
72.4%
Rust
11.5%
JavaScript
9.8%
SCSS
5.1%
Dockerfile
0.7%
Other
0.5%