In order to overcome the payment delay and the difficulty of verifying frontline worker information, caused by the subcontract and the rapid flow of workers in power infrastructure projects, we propose a power infrastructure payroll system framework based on dual blockchain. The framework consists of an identity authentication chain and a data sharing chain, which communicates through smart contracts. The efficient operation of the framework depends on the timely and accurate reporting of various personnel information of workers and enterprise credit information from subcontractors, thus, we construct a data sharing scheme between the frontline subcontractors and power general contractors in smart grids using the reverse auction theory. Simulation results demonstrate that the proposed dual blockchain framework and data sharing scheme can promote the data sharing efficiency of frontline subcontractors, and the security and efficiency of payroll payment in the power infrastructure system are also improved.