Skip to content
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

Merged
merged 16 commits into from
Dec 20, 2023
Merged

Identity Module #22

merged 16 commits into from
Dec 20, 2023

Conversation

dimitrov-d
Copy link
Contributor

No description provided.

@@ -10,7 +10,7 @@
"${relativeFile}",
"--config=${workspaceFolder}/package.json",
"--runInBand",
"--detectOpenHandles",
// "--detectOpenHandles",
Copy link
Member

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({
Copy link
Member

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(
Copy link
Member

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.

@dimitrov-d dimitrov-d merged commit fa5b6f0 into master Dec 20, 2023
@dimitrov-d dimitrov-d deleted the identity branch December 22, 2023 13:11
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