Skip to main content

Zeq Auth — Register

Your equation IS your identity. Enter a mathematical equation — it's evaluated at HulyaPulse constants (x=1.287, y=0.777), SHA-256 hashed, and your ZID is derived. The equation is NEVER stored.

EndpointPOST /api/auth/register
Authnone
Rate limit10/min
Categoryidentity

Parameters

NameTypeRequiredDescription
equationstringYesMathematical equation (max 500 chars). Supports sin, cos, tan, sqrt, log, exp, pi, e, phi, x, y.
displayNamestringYesPublic display name.

Returns

{ token, zid, displayName, avatarColor, equationHash }

Example

curl -sS -X POST \
-H "Content-Type: application/json" \
-d '{
"equation": "x^2 + sin(y*pi) + phi",
"displayName": "<displayName>"
}' \
"https://zeqsdk.com/api/auth/register"

This protocol is a named building block — one of the operations you compose inside a state contract. Call it directly with the request above, or invoke it from a contract that fires on your machine's clock. Browse the whole library at GET /api/protocols; fetch this one at GET /api/protocols/zeq-auth-register.