Page MenuHomePhabricator

[landing] Add `siwePrimaryIdentityPublicKey` to `SIWEContext`
ClosedPublic

Authored by atul on Dec 31 2022, 2:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 10:43 AM
Unknown Object (File)
Thu, Nov 7, 2:15 PM
Unknown Object (File)
Tue, Oct 22, 12:21 PM
Unknown Object (File)
Tue, Oct 22, 12:21 PM
Unknown Object (File)
Tue, Oct 22, 12:21 PM
Unknown Object (File)
Tue, Oct 22, 12:28 AM
Unknown Object (File)
Oct 1 2024, 5:47 AM
Unknown Object (File)
Sep 28 2024, 2:18 PM
Subscribers
None

Details

Summary

Add siwePrimaryIdentityPublicKey to SIWEContext so the value is available throughout landing without prop drilling. Specifically we'll be using siwePrimaryIdentityPublicKey in siwe.react.js where we'll need the public key so it can be included in the SIWE message that gets signed by the user's wallet.


Depends on D6127

Test Plan

Able to retrieve the value of siwePrimaryIdentityPublicKey in siwe.react.js:
https://blob.sh/ef0479.png (yeah contrast isn't great, but the public key is there as expected).

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable