-
Notifications
You must be signed in to change notification settings - Fork 5
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
Identity Module #22
Identity Module #22
Conversation
Identity Module
.vscode/launch.json
Outdated
@@ -10,7 +10,7 @@ | |||
"${relativeFile}", | |||
"--config=${workspaceFolder}/package.json", | |||
"--runInBand", | |||
"--detectOpenHandles", | |||
// "--detectOpenHandles", |
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.
Delete or use
import { Identity } from './modules/identity/identity'; | ||
import { LogLevel } from './types/apillon'; | ||
|
||
const identity = new Identity({ |
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.
for generate sign message config can be null, I would write this somewhere.
|
||
async function validateEvmWalletSignature() { | ||
// generate a custom message to be signed by the user's wallet | ||
const { message, timestamp } = await identity.generateSigningMessage( |
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.
Would also put an example how a user can create the signing message himself that is compatible with validating signature.
Add notes to identity README
No description provided.