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.
| Endpoint | POST /api/auth/register |
| Auth | none |
| Rate limit | 10/min |
| Category | identity |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
equation | string | Yes | Mathematical equation (max 500 chars). Supports sin, cos, tan, sqrt, log, exp, pi, e, phi, x, y. |
displayName | string | Yes | Public 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.