Skip to content

Conversation

@geniusyinka
Copy link
Collaborator

  • updated this metamask guide.
  • fixed truncation on this metamask article

@vercel
Copy link

vercel bot commented Dec 9, 2025

@geniusyinka is attempting to deploy a commit to the nillion Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Dec 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
nillion-docs Ready Ready Preview Comment Dec 9, 2025 2:44pm


---

### Step 3: Create the Nillion Context
Copy link
Contributor

@crypblizz8 crypblizz8 Dec 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this part looks different to your recent files?
https://github.com/geniusyinka/nillion-metamask-login/blob/main/src/context/NillionContext.tsx

suggest using typescript reference showGithubLink so you dont have to manually change it. i.e.

typescript reference showGithubLink
https://github.com/NillionNetwork/blind-module-examples/blob/main/nildb/secretvaults-ts/sdk-examples/queries/plaintext-string-query-example.ts

But i think this was can be fixed once we move to blind-modules-examples

"use client";

import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { LogProvider } from "@/context/LogContext";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to provide LogProvider file if necessary

│ ├── AuthFlowManager.tsx # Automatic auth flow orchestration
│ └── LogContext.tsx # Debug logging context
├── hooks/
│ ├── useNillion.ts # Access Nillion context
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to include useNillion to the files

│ ├── useNillionClient.ts # Access authenticated client
│ ├── useInitializeSessionMutation.ts # First-time session setup
│ ├── useLoginMutation.ts # Returning user login
│ ├── useSessionQuery.ts # Session state query
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants