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, Jun 21, 9:59 PM
Unknown Object (File)
Fri, Jun 21, 3:50 AM
Unknown Object (File)
Fri, Jun 21, 3:50 AM
Unknown Object (File)
Fri, Jun 21, 1:31 AM
Unknown Object (File)
May 24 2024, 8:32 AM
Unknown Object (File)
May 24 2024, 7:20 AM
Unknown Object (File)
May 24 2024, 7:20 AM
Unknown Object (File)
May 24 2024, 7:20 AM
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