Skip to main content

LILY Protocol

Project completed

LILY Retroryalties

LILY Retroryalties: a Solana royalty tool Builderz built for LILY Protocol to automate royalty distributions to artists and creators.

  • Blockchain

Project Overview

Review the retained technical record, delivery approach, and available evidence for this historical project.

Project Details

Client

LILY Protocol

LILY Retroryalties: a Solana royalty tool Builderz built for LILY Protocol to automate royalty distributions to artists and creators.

Industry

Blockchain

Timeline

Custom timeline

From concept to deployment

Services Provided

Blockchain

Tech Stack

SolanaNext.jsTypeScriptWeb3.jsTailwindCSS

Recorded historical evidence

Work recorded: Blockchain

Constraint

The challenge

NFT creators on Solana set a royalty on secondary sales, but many marketplaces made that royalty optional. Sales went through without the creator's cut, and artists had no simple way to recover it afterward.

LILY Protocol wanted royalty distributions to artists and creators to run automatically, so creators were paid without someone tracking each sale by hand. Doing that by hand means checking every resale of every NFT in a collection, one at a time.

Approach

The solution

Builderz built Retroryalties for LILY Protocol as a Solana web app in Next.js, TypeScript and Tailwind CSS, reading the chain with web3.js.

We built several royalty tools in this period. The one with public code is the Builderz Royalty Redemption Program, a Solana program that lets a holder pay an NFT's unpaid royalties to its creators in a single transaction and records that payment on chain.

Project overview

LILY Retroryalties is a royalty tool for LILY Protocol on Solana. Its job, in the project's own words, is automated royalty distributions for artists and creators.

Finding an unpaid royalty takes two reads. For each NFT, the tool looks up its latest secondary sale and checks whether the creator received the expected share. Our open-source redemption program's README describes doing this with Helius APIs, since walking raw transactions for a whole collection is slow.

Paying it is the on-chain part. In the Builderz redemption program, the instruction names the NFT, lists its creator addresses, and states the amount. The program checks that those addresses match the NFT's real creators, then creates an account derived from the NFT mint that stores the redemption date. Any front end can read that account to show the NFT as settled.

Royalty tools from 2023 deal with a gap that newer NFT standards close. If you're launching a collection now, Metaplex Core can enforce royalties at transfer time, so you may not need a repayment tool at all. If you're cleaning up an existing collection, our Renaissance case study shows the full redemption flow, and our Solana development team can scope a version for your community.

22
Published Case Studies
2021
First Published Solana Build
Public
Code and Process

More of our work

All work

Plan a production build · Priced by project type

Want to turn this into a real build?

Book an intro call, or send a brief about the requirements for a similar production system, the problem, and your budget. We reply within one business day.

Prefer proof first? See related work.