Minting fees, derivatives, and permissions across the stack
By RepoJournal , from @anurag629's public GitHub activity
Backfilled
Anurag Verma pushed 15 commits across lore_frontend and lore_backend, adding minting fee infrastructure, refactoring permissions handling, and enhancing derivative asset visualization.
The frontend work in lore_frontend centered on permissions and asset visualization. Anurag replaced GrantPermissionModal with PermissionsModal and updated the permissions API to use new parameter names [1]. He added ReactFlow as a dependency to support improved asset visualization and refactored the Dashboard component to work with the new library [2]. A new PermissionBadge component was introduced to display permissions with enhanced styling [3].
Minting fee support landed across both repositories. In lore_frontend, MintModal now allows users to set fees for derivative creation, and RemixModal displays calculated fees based on selected parent assets [4]. The backend mirrors this with a new MintingFeePayment model to track payments and an updated IPAssetViewSet that handles fee payments during derivative creation [12]. A new Sidebar link was added to manage minting fees.
Derivative asset handling received substantial attention. The backend refactored RoyaltyPayment and GroupRoyaltyDistribution models to use BigIntegerField for block_number, and updated DerivativeCreateSerializer to set the parent asset as a ForeignKey [5]. The IPAsset model gained a get_all_derivatives method for optimized retrieval, with serializers updated to track combined derivative counts from both legacy and M2M relationships [6]. On the frontend, GenealogyGraph was refactored to use a hierarchical tree layout and the Dashboard now combines user assets with external derivatives [7].
The backend also gained infrastructure improvements. The OpenRouter API key was added to .env.example, comprehensive image validation was implemented in asset uploads, and AI service rate limiting was enhanced [8]. Logging across authentication utilities and Celery configuration was refactored to use logger calls instead of print statements [9]. Debug logging was removed from AssetDetailPage, GenealogyGraph, and useDashboardStats to clean up the frontend codebase [10].
Lore frontend gained new dependencies for enhanced functionality: @splinetool/react-spline, @types/dompurify, dompurify, gsap, lottie-react, react-fast-marquee, react-hot-toast, react-loading-skeleton, and react-scroll-parallax [11]. Submodule references in the main lore repository were updated twice to track the latest commits from both backend and frontend, with the final update including API documentation enhancements [13] [14].
One email a day. Unsubscribe in one click.
A short briefing every day anurag629 ships something — in about 3 minutes.
One email a day. Unsubscribe in one click. Read a past issue →
References
- [1] Refactor permissions management in PermissionsPage and related components anurag629/lore_frontend
- [2] Add ReactFlow integration and enhance dashboard styles anurag629/lore_frontend
- [3] Enhance PermissionsPage and Dashboard with new features and UI improvements anurag629/lore_frontend
- [4] Implement minting fee features across components anurag629/lore_frontend
- [5] Refactor RoyaltyPayment and GroupRoyaltyDistribution models to use BigIntegerField for block_number. Update DerivativeCreateSerializer to set parent asset as a ForeignKey instead of UUID. Modify IPAss anurag629/lore_backend
- [6] Enhance IPAsset model and serializers to support combined derivative counting from both legacy FK and M2M relationships. Introduce get_all_derivatives method for optimized retrieval of all derivatives anurag629/lore_backend
- [7] Enhance Dashboard and GenealogyGraph with derivative asset support anurag629/lore_frontend
- [8] Add OpenRouter API key to .env.example, remove main.py script, and enhance AI service rate limiting. Update media URL help text and implement comprehensive image validation in asset uploads. Improve p anurag629/lore_backend
- [9] Refactor logging in authentication utilities and Celery configuration to replace print statements with logger calls for improved error handling and debugging. This enhances the maintainability and cla anurag629/lore_backend
- [10] Remove debug logging from AssetDetailPage, GenealogyGraph, and useDashboardStats for cleaner code and improved performance. anurag629/lore_frontend
- [11] Enhance project with new dependencies and design improvements anurag629/lore_frontend
- [12] Add minting fee functionality to IPAsset model and related serializers. Introduce MintingFeePayment model to track payments for derivative creation, including fee calculations and status management. U anurag629/lore_backend
- [13] Update submodule references for lore_backend and lore_frontend to latest commits anurag629/lore
- [14] Update submodule references for lore_backend and lore_frontend to latest commits; enhance API documentation with updated permission types and examples anurag629/lore