Skip to content

Commit

Permalink
add context to createSignerFromKeypair (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSackerberg authored Nov 22, 2023
1 parent eda8af5 commit 41cae93
Showing 1 changed file with 1 addition and 1 deletion.
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(umi, myKeypair);
```

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

0 comments on commit 41cae93

Please sign in to comment.