Abstract:The core value of the blockchain system is to establish multi-party trust. In enterprise application scenarios, it is necessary to enhance the security, real time performance, and user friendliness. To meet the needs of the domestic independent control and technical development, open source and win-win cooperation should be advocated. This paper proposes a permissioned blockchain toolkit implemented by reactive programming named RepChain (reactive permissioned chain), which is the first open source reactive permissioned blockchain toolkit in China. It highlights responsive, loosely coupled, lightweight, collaborative consensus, hierarchical contract deployment and visualization of real-time status through a novel system architecture design. A secure channel is established based on access control, and a synergistic consensus is used to replace the competitive consensus of the public blockchain, therefore, the transaction real-time performance and throughput are improved. Experiments show that the reactive permissioned blockchain can significantly increase transaction throughput, real-time performance and resilience.