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

add context to createSignerFromKeypair #100

Merged
merged 3 commits into from
Nov 22, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/publickeys-signers.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ In order to use these keypairs as signers throughout your application, you can u

```ts
const myKeypair = umi.eddsa.generateKeypair();
const myKeypairSigner = createSignerFromKeypair(myKeypair);
const myKeypairSigner = createSignerFromKeypair('eddsa',myKeypair);
MarkSackerberg marked this conversation as resolved.
Show resolved Hide resolved
```

Note that the code snippet above is equivalent to using the `generateSigner` helper method described in the previous section.
Expand Down
Loading