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)
Wed, Sep 18, 9:30 PM
Unknown Object (File)
Wed, Sep 18, 9:30 PM
Unknown Object (File)
Wed, Sep 18, 9:30 PM
Unknown Object (File)
Wed, Sep 18, 9:29 PM
Unknown Object (File)
Wed, Sep 18, 9:19 PM
Unknown Object (File)
Sun, Sep 15, 3:03 PM
Unknown Object (File)
Wed, Sep 11, 7:43 AM
Unknown Object (File)
Tue, Sep 10, 9:08 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
Branch
arcpatch-D6128 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage