Predicates/Social/Reputation

like

Expresses lightweight positive endorsement of the object by the subject.

enshrined Social/Reputation like

Enshrined — the object model is decided and the ID below is what every conforming app and the contract resolve.

Identity

A predicate is itself an atom. Its ID is derived from these exact bytes — the same value in your app, in anyone else's, and onchain.

predicate atom data
{
  "@context": "https://schema.org/",
  "@type": "DefinedTerm",
  "name": "like",
  "description": "Expresses lightweight positive endorsement of the object by the subject"
}
atom id 0x2a170ce8fff3808d661ae553f3e65be637391ca4f48e6208f01dae0f6c0a72e7

Semantics

Market patterndepositional — conviction accrues by staking

Use it

import
// tree-shakeable: only this predicate ships in your bundle
import { likeId } from "@0xintuition/predicates/like";

// or resolve everything from the aggregate registry
import { PREDICATE_IDS } from "@0xintuition/predicates";
PREDICATE_IDS.like; // 0x2a170ce8fff3808d661ae553f3e65be637391ca4f48e6208f01dae0f6c0a72e7
make a claim
import { buildTripleByName } from "@0xintuition/primitives/triple";

const { value: triple } = buildTripleByName(
	subjectId,
	"like",
	objectId,
);
// triple.predicateId === 0x2a170ce8… — resolved from the registry