Quick Start

Check your first resource's trust score in under 2 minutes.

1. Via Web Interface

The fastest way to check trust is through the web app:

  1. Go to Trust Checker
  2. Paste a skill URL, package name, or content hash
  3. View the trust score, tier, and auditor chain

2. Via API

Query trust scores programmatically:

01# Get trust info for a resource
02curl https://api.isnad.md/api/v1/trust/0x1234...abcd
03 
04# Response
05{
06 "trustScore": "2500000000000000000000",
07 "trustTier": "VERIFIED",
08 "attestations": [...]
09}

3. Via Smart Contract

Read trust scores directly from the chain:

01import { ISNADStaking } from "@isnad/contracts";
02 
03const staking = ISNADStaking.attach(STAKING_ADDRESS);
04const score = await staking.getTrustScore(resourceHash);
05const tier = await staking.getTrustTier(resourceHash);

Computing Content Hashes

ISNAD uses SHA-256 for content hashing. To compute a hash locally:

01# Using OpenSSL
02cat skill.md | sha256sum
03 
04# Using Node.js
05const crypto = require("crypto");
06const hash = crypto.createHash("sha256")
07 .update(content)
08 .digest("hex");

Next: Become an Auditor

Ready to stake and earn yield? See the Auditor Guide.