Spark
Testnet

PanenSplit

PanenSplit is an onchain settlement application for smallholder farmers who combine their harvest and sell it as one batch. In many farmer groups, each farmer contributes a different quantity, while the final sale price, operational costs, and payment distribution are still recorded manually. This makes it difficult for farmers to independently verify how much they contributed and how much they should receive. With PanenSplit, a coordinator creates a harvest batch and records each farmer’s contribution. Every farmer confirms their own quantity using their wallet. Once all contributions are confirmed, the assigned buyer pays the batch using native MON on Monad Testnet. The coordinator then records the approved operational costs, and the smart contract calculates each farmer’s proportional share based on their contribution. Farmers can independently claim their payments directly from the contract. The core workflow is fully onchain, including harvest contributions, farmer confirmations, buyer payments, settlement values, calculated shares, and claim status. While building PanenSplit, I learned how to design a multi-role smart contract workflow, safely handle native token payments using pull-based withdrawals, validate contract state transitions, integrate a React application with Monad Testnet, and translate blockchain interactions into a simple user experience for non-technical users.

Discussion

Sign in to comment on this project.

No comments yet. Be the first to share what you think.