glifio / wallet

Glif Wallet
https://wallet.glif.io
80 stars 32 forks source link

Add initial rendering of a Signers component #725

Closed Schwartz10 closed 3 years ago

Schwartz10 commented 3 years ago

Hey @as-dr - I added a super ugly Signer component that illustrates how to display the Signers and distinguish the user's wallet

First, you should test this on calibration net since mainnet txs take a long time to confirm. To do that, you need to make the following changes:

Same token as before in Slack.

To get started, just create your own multisig wallet. If you don't have FIL to do that (which i think you should?) you can use f26kvyvsi5uyf2hykt4l5aigxwcmwgfsr47zul2ri but you'll have to temporarily disable the isAddressSigner check:

in this file, change it to:

export default async (lotus, walletAddress, signers) => true

You can feel free to render the Signer component outside of the AccountSummary component too. You just have to pass it those 2 props in the same way as I illustrated.