ƒxyzƒxyz Docs

Quickstart

Use the platform, integrate with the API, or run the monorepo locally.

There are three good ways into ƒxyz: use the application, integrate with the API, or run the stack locally.

1. API Integration Minimum

Production GraphQL endpoint: https://api.fxyz.network/api/graphql

Production REST base: https://api.fxyz.network/api

All authenticated calls use a Privy bearer token. Persona-aware requests may also send x-persona-id.

Authorization: Bearer <privy-jwt>
x-persona-id: <persona-id>

Example GraphQL Query

query IdentitySnapshot($did: String!) {
  memberIdentity(did: $did) {
    standing
    contributionLevel
    ring
    score
    expertiseTitle
  }
  membershipStats {
    totalMembers
    activeMemberships
    revokedMemberships
  }
}

Example Onboarding Mutation

mutation EnsureOnboarding($inviteCode: String) {
  ensureOnboarding(inviteCode: $inviteCode) {
    success
    isNewMember
    message
    member {
      did
      privyUserId
    }
  }
}

2. Local Development Minimum

Install dependencies with pnpm install.

Start Neo4j with docker compose -f docker/neo4j/docker-compose.yml up -d.

Start the workspace with pnpm dev.

Open the relevant surface:

  • http://localhost:3000 for the member app
  • http://localhost:3002/api/graphql for the API
  • http://localhost:3004/docs for the docs site

3. Docs Navigation

On this page