Predicates/Social/Reputation

recommend

The subject actively recommends the object to others in the ecosystem. Stronger than 'likes', weaker than 'endorses'.

enshrined Social/Reputation recommend

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": "recommend",
  "description": "The subject actively recommends the object to others in the ecosystem. Stronger than 'likes', weaker than 'endorses'"
}
atom id 0x18d0a4b84c6c454e800da8e120d320a953be5946d74f069b74d87b80105cb69c

Semantics

Market patterndepositional — conviction accrues by staking

Use it

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

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

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