Skip to main content

Getting Started with Lens

Send and receive web3 email with a .lens handle. It’s simple to get started…

Mailchain message to lens

Introduction

Lens Protocol is a Web3 social graph on the Polygon Proof-of-Stake blockchain. It offers a user-owned, open social graph (including profiles) that any application can plug into. Since users own their data, they can bring it to any application built on top of Lens Protocol. As the true owners of their content, creators no longer need to worry about losing their content, audience, and livelihood based on the whims of an individual platform's algorithms and policies -- source https://docs.lens.xyz/.


How To Add Your Lens Handle To Mailchain

Prerequisites:

  • You own a .lens handle (claim here)
  • You have a Mailchain account (see here)

Add your .lens handle to Mailchain

  1. Log into your Mailchain Account.

  2. Click “Register Your Wallet”:

    register your wallet

  3. A modal will open. Select a wallet provider (e.g. Metamask), then click 'Connect':

    select wallet

  4. Choose the address to connect, then click Next:

    choose address

  5. Click 'Connect' to confirm Mailchain should be able to read your address:

    connect wallet

  6. The address is now connected, so you can now register it in Mailchain. To do this, click 'Verify Address':

    address connected

  7. A 'Signature Request' will appear in your wallet. It contains the following text:

    Message:
    Welcome to Mailchain!

    Please sign to start using this address with Mailchain. This will not trigger a blockchain transaction or cost any gas fees.

    What's happening?
    A messaging key will be registered with this address and used only for messaging. It will replace any existing registered messaging keys.

    Technical Details:
    Address: `your_address`
    Messaging key: `a_generated_messaging_key`
    Nonce: `a_number`

    signature request

  8. Review the request and click 'Sign' to complete verification:

    sign to complete

  9. The next step checks for connected name services, including .lens handles. This example found allofweb3.lens. If you do not see your .lens handle here, you can manually search for it using the search box. If it still cannot be found, please see Lens FAQs here.

    search for address

  10. You can add a custom label for your address. By default, Mailchain will populate your .lens handle. Click Apply to save and continue.

    add label

  11. Mailchain is able to receive messages for your wallet address before you sign up. Click 'Synchronize' to retrieve these messages, or click 'Skip' to synchronize later. Any synchronized messages will appear in your inbox:

    check for existing addresses

  12. You can now click 'Done' to disconnect your wallet and close the modal, or choose to register another address:

    disconnect wallet

  13. You will now see the newly added inbox on the left. This will be labelled with the label you provided when registering the address. Any messages sent to that address or the .lens handle will appear in this inbox:

    new address added

How to send a message using your .lens handle

With Mailchain you can send Mailchain message from your .lens handle to other Mailchain users, including ENS, Unstoppable Domains, Freename, Coinbase IDs, and Ethereum addresses.

Prerequisites

  • You have an .lens handle registered to your address (visit lens.xyz)
  • You have a Mailchain account (see here)
  • You have added your .lens handle to Mailchain (see above)

Compose and send a message from your .lens handle

  1. Log into your Mailchain account.

  2. Click 'Compose' in the sidebar:

    compose message

  3. In the New Message window, click the “From” dropdown menu and select your .lens handle:

    choose from address

  4. Fill out the rest of the message, then click Send:

    write message

  5. Your message should be successfully sent:

    message sent

Done! Your recipient will receive your message from your .lens handle.