-
Notifications
You must be signed in to change notification settings - Fork 53
updates & fixes #307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
updates & fixes #307
Conversation
geniusyinka
commented
Dec 9, 2025
- updated this metamask guide.
- fixed truncation on this metamask article
|
@geniusyinka is attempting to deploy a commit to the nillion Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
||
| --- | ||
|
|
||
| ### Step 3: Create the Nillion Context |
There was a problem hiding this comment.
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"; |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1