This is really cool. Could be adapted to do lots of interesting things. Platformless auctions, raffles, lotteries. Automatic royalties. So much more. You should publish a repo.