In AssemblyScript you can find my code here that reproduces Autoglyphs.
In my case, I picked that the cost to mint a SHARE is 1 NEAR that also mints a social token, and then a good chunk of royalties for secondary sales go to YSN treasury.
Looking forward to the next step to see how you want to structure this, lots of creative possibilities.