(i) Preparation of N1,N1-diethyl-2-cyanoacetamide: 30 L of anhydrous tetrahydrofuran (THF) was added to the reactor under nitrogen protection, followed by diethylamine (1.272 kg, 17.39 mol). A 33% hexane solution of lithium n-hexyl was loaded into a dropping funnel. The reactor was cooled to below -30°C. The hexyl lithium solution was slowly added dropwise to the reactor, keeping the temperature of the reaction mixture below -30°C during the dropwise addition. After the dropwise addition was completed, the reaction mixture was continued to be stirred at -30 °C for 1.5 hours. Meanwhile, ethyl cyanoacetate (0.655 kg, 5.79 mol) was dissolved in THF (2 L) and transferred to another dropping funnel. The ethyl cyanoacetate solution was slowly added dropwise to the reaction mixture at a temperature well below -30°C. After completion of the dropwise addition, the reaction mixture was gradually warmed to room temperature and stirring was continued for 30 minutes. Subsequently, ethanol (0.66 L) was slowly added dropwise to the reaction mixture and stirred overnight at room temperature. The solvent was removed by distillation under reduced pressure and the residue was treated with 10% hydrochloric acid (8 L) and extracted twice with dichloromethane (DCM, 2 x 7 L). The DCM layers were combined and washed with water (2 × 5 L). The DCM solution was dried and evaporated to dryness to afford the brown oily product N1,N1-diethyl-2-cyanoacetamide (755.29 g, 97% yield), which could be used in the subsequent steps without further purification.1H-NMR (200 MHz, CDCl3): δ 1.2 ppm (t, 6H, J = 7Hz), 3.4 ppm (q, 4H, J = 7Hz), 3.55ppm (s, 2H).