L

LSD

Lens Superfluid Dashboard or Lens Social Dealer (LSD) is a powerful tool for social payments powered by Superfluid on Lens protocol.

10

The problem LSD solves

LSD is able to send any type of Superfluid Agreement based on publications made by followers of any address or handle in the Lens protocol.

Inspired by the Superfluid dashboard, in LSD you can view and filter by tags, the posts of the followers of any Lens profile (address or handle) aka you can view the Lens Superfluid Dashboard as any address or Lens handle.

So, for example, a Superfluid employee might not have access to the Superfluid profile in Lens, but could be in charge of the wallet making payments to Lens users participating in the promotional campaign.

Allowing you to assign payments based on the tags of the posts, without needing to be the owner of the profile.

Payments can be made via CFA or IDA, using the core SDK or using ethereum/contracts to communicate with the Superfluid protocol on the blockchain.

There are two versions, one that leverages batchCall from the Superfluid core SDK and one that uses our Dealer, both allow you to create multiple campaigns and update shares to one or muliple recipients with a single signature. The Dealer has the ability to limit the number of units per address, preventing abuse and it is more customizable and flexible. But it is limited by the calldata size (it could be improved by using a Merkle tree like the whitelist system of the NFTs).

Campaign Flow

  • Create Campaign. (1 tx)
  • Update recipients share units based on contraints. (1-?? tx(s), update it as many times as you wish)
  • Fund the campaign and Distribute. (approve + distribute, 2 tx)

Followers and Publications

LSD is able to make queries based on followers of a Lens profile by address or by handle.

It is also able to get all the publications of all followers of a Lens profile and filter them by one or more tags.

Currently the application is limited and does not collect all publications or all followers to avoid excessive and useless use of resources.
You can change that on the

app/lens-superfluid/api.tsx

file.

Discussion