Oshiya (previously referred as Miner) : Panther Oshiya’s purpose is to batch process transactions represented by UTXO commitments via ZK circuits, providing a gas optimised approach to transaction validation in Panther’s shielded pool.
Essentially, Oshiya fetches the pending (unprocessed) UTXOs from the mining queue on the Bus tree, computes updates to the Merkle trees needed to append the UTXOs of the queue to the trees, creates a SNARK-proof that proves the correctness of the updates, and submits these updates to be written on-chain together with the proof to smart contracts.
Batch Processing: Oshiya processes up to 64 transactions in batches, integrating them as leaves in the Merkle tree within the Bus tree contract. This approach maximizes efficiency and scalability in handling large volumes of transactions.
Zero-Knowledge Proofs: At the heart of Oshiya's architecture is the use of Zero-Knowledge (ZK) proofs. This technology ensures the validity and security of transactions processed, maintaining privacy and integrity.
Optimized Gas Usage: By processing transactions in batches and employing ZK proofs, Oshiya significantly reduces the gas costs associated with individual transactions, offering a more cost-effective solution.
Continuous Data Processing: The protocol is designed for continuous and synchronous processing, leveraging real-time data from on-chain events to keep the transaction flow smooth and uninterrupted.
Rewards: Oshiya receives rewards for its service to the protocol. The total amount of rewards for all UTXOs in a queue is split into two parts:
A “guaranteed” reward, set at 80% initially, which Oshiya receives in any case.
A “contribution to reserves” used to pay for bonuses.
Premiums are calculated proportionally to the number of blocks that have passed without the queue getting processed, counting from the creation of the earliest UTXO in the queue. The bonus will be calculated through accrual at a fixed factor, initially set at 0.1% of the “assigned reward” for every pending block.
Cost Efficiency: Users benefit from reduced transaction costs due to the gas-optimized approach.
Enhanced Security: The integration of Zero-Knowledge proofs adds an extra layer of security to transactions.
High Throughput: Oshiya's batch processing capability ensures high transaction throughput, accommodating a large number of transactions efficiently.
Panther Community Oshiya thrives on community involvement. We encourage developers and blockchain enthusiasts to contribute towards optimizing and enhancing the protocol, ensuring it stays at the forefront of blockchain technology.