Page MenuHomePhabricator

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

Authored by atul on Dec 31 2022, 2:28 AM.
Tags
None
Referenced Files
F3753264: D6128.diff
Fri, Jan 10, 1:29 AM
Unknown Object (File)
Thu, Dec 26, 8:17 AM
Unknown Object (File)
Thu, Dec 26, 8:17 AM
Unknown Object (File)
Thu, Dec 26, 8:17 AM
Unknown Object (File)
Thu, Dec 26, 8:15 AM
Unknown Object (File)
Thu, Dec 26, 8:05 AM
Unknown Object (File)
Dec 2 2024, 3:33 PM
Unknown Object (File)
Dec 2 2024, 3:33 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