import { Callout, Button } from '@vegaprotocol/ui-toolkit'; import { useVegaWallet } from '@vegaprotocol/react-helpers'; import { useEffect, useMemo, useState } from 'react'; import { Connectors } from '../lib/connectors'; export function Index() { const { keypair, keypairs, selectPublicKey } = useVegaWallet(); return (
With a longer explaination

Vega wallet

{keypair &&

Current: {keypair.pub}

} {keypairs?.length ? ( ) : null}

Public keys

        {JSON.stringify(keypairs, null, 2)}
      
); } export default Index;