From 75dc065fd892dc1cefde3bc7fdeb7258d0b69528 Mon Sep 17 00:00:00 2001 From: MarkSackerberg <93528482+MarkSackerberg@users.noreply.github.com> Date: Wed, 22 Nov 2023 14:11:04 +0100 Subject: [PATCH 1/3] add context --- docs/publickeys-signers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publickeys-signers.md b/docs/publickeys-signers.md index bd350933..991521c1 100644 --- a/docs/publickeys-signers.md +++ b/docs/publickeys-signers.md @@ -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); ``` Note that the code snippet above is equivalent to using the `generateSigner` helper method described in the previous section. From 36740238c93900085815f755e3558004d9209713 Mon Sep 17 00:00:00 2001 From: MarkSackerberg <93528482+MarkSackerberg@users.noreply.github.com> Date: Wed, 22 Nov 2023 14:13:14 +0100 Subject: [PATCH 2/3] align format --- docs/publickeys-signers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publickeys-signers.md b/docs/publickeys-signers.md index 991521c1..c4069005 100644 --- a/docs/publickeys-signers.md +++ b/docs/publickeys-signers.md @@ -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("eddsa",myKeypair); +const myKeypairSigner = createSignerFromKeypair('eddsa',myKeypair); ``` Note that the code snippet above is equivalent to using the `generateSigner` helper method described in the previous section. From 276133c8de3ea89a509702e3b53dff5571a0aa89 Mon Sep 17 00:00:00 2001 From: MarkSackerberg <93528482+MarkSackerberg@users.noreply.github.com> Date: Wed, 22 Nov 2023 16:27:40 +0100 Subject: [PATCH 3/3] Update docs/publickeys-signers.md Co-authored-by: Loris Leiva --- docs/publickeys-signers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publickeys-signers.md b/docs/publickeys-signers.md index c4069005..027a69a0 100644 --- a/docs/publickeys-signers.md +++ b/docs/publickeys-signers.md @@ -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('eddsa',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.