AIrtist

AIrtist

A platform for creating, sharing, and minting AI art

11
AIrtist

AIrtist

A platform for creating, sharing, and minting AI art

The problem AIrtist solves

While there are several AI engines that can be used to generate art, there isn't an easy-to-use platform where non-technical users can create, share, and mint AI art.

Signup and Login

Using web3Auth, AIrtist login options include social, email, or wallet. Social/email logins will generate an app-specific private key … behind the scenes, no seed phrase needed – only the user has access to the complete private key (self-custody), enabled by Multi-Party Computation (MPC).

Social login users:

  • do not need a wallet
  • do not see an EVM address
  • are not asked to “sign” any messages
  • do not need ETH or any other token for “gas”

ENS Name Support

Note that when choosing the

wallet

login option, AIrtist checks for an ENS name for the connecting address, and if found, will use that as the "name" of the user on AIrtist. For example, if I choose to login via web3auth using my primary Metamask address, AIrtist will show me as

markcarey.eth

.

Web 2.0 Features

Several "web 2.0" styles features include:

  • Creating and sharing AI images. User enter text prompts to share AI-generated art. (powered by DALL-E from OpenAI)
  • Liking. Users can "like" images shared by others
  • Commenting. User can post comments in reply to shared images
  • Reposting. This is a bit like retweeting, but with a twist. A

    repost

    does not re-share the same identical image, but rather uses the same identical text prompt to generate an entirely new image.
  • Following. Users can follow other users, if they like their artwork.

Web3 Features

Some users may optionally decide to mint images as NFTs on the blockchain. When users post new artwork, they can:

  1. Choose to immediately mint the image on the blockchain.
  2. Enable others to mint the image for a price.
  3. Neither (image will not be minted)

Creators can always decide later -- after posting -- to mint their own images.

Challenges I ran into

The key challenge was to leverage account abstraction principles to make it easier to participate without needing seed phrases, a wallet, ETH for gas etc.

The pAInt Super Token

When minting your own artwork, it costs

1 pAInt

token. When minting images posted by others, you pay the price set by the creator, denominated in either

pAInt

or

WETH

.

pAInt

is a native Super Token that supports real-time streaming, powered by Superfluid. It acts as a utility token on the AIrtist platform for minting NFTs. Users start with

5 pAInt

and after their first mint, active users receive

3 pAInt

per month, streamed in real-time.

See the streams on Superfluid Console. It's like watching paint stream.😐

pAInt stream

The First Mint - Behind the Scenes

When the user decides to mint their first NFT -- and not before -- on-chain transactions are triggered, behind the scenes:

  1. A Safe smart wallet is deployed. This is a “1 of 3” multi-signature Safe. The user’s web3auth-generated address has full access as 1 of the 3 owners. The second owner is a AIrtist Hot wallet enabling behind-the-scenes Safe transactions on the behalf of the user. The third owner is a AIrtist cold wallet for emergency/recovery purposes.
  2. ERC20 Approval transactions are sent from the Safe to facilitate the first and future mints.
  3. Sent via Gelato Relay, a transaction is sent to start streaming

    3 pAInt

    per month to the Safe.
  4. Also via Gelato Relay, the minting transaction is sent to mint the NFT to the shared AIrtist NFT contract.

Remember, the above 4 transactions happen behind the scenes. From the user's perspective all they did was check a box or tap a link.

Gelato Relay Sponsored ERC2771

AIrtist uses Gelato Relay to send tokens and NFTs.

Discussion