Web3 in a social media (use case Twitter).

I have been working on a smart contract to post to a twitter account directly from the blockchain paying in the stablecoin “DAI”

How does it work?

To tweet you have to call the contract function called “publish” with your address, amount and content.

Requirements:

  • Amount (in DAI)
  • Respect twitter’s rules.
  • Tweet content (may contain the url of a linked photo or link).

Every 5 hours the algorithm selects the tweet with the highest amount of DAI and publishes it on twitter with its own API.

--

--