Method for synthesizing psilocybin

By improving the synthesis method of xelosipine and utilizing acylation, reduction and phosphate ester reactions to control the reordering of intermediates, the problems of high operational risks, harsh conditions and expensive reagents in the existing technology have been solved, and industrial production with high yield and simplified operation has been achieved.

WO2026237985A1PCT designated stage Publication Date: 2026-11-19ACADEMY OF MILITARY MEDICAL SCIENCES
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/096622
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-13
Filing Date
2026-05-13
Publication Date
2026-11-19

AI Technical Summary

Technical Problem

Existing methods for synthesizing serocerabin suffer from high operational risks, demanding conditions, expensive reagents, numerous byproducts, and difficulty in industrialization.

Method used

Using 4-acetoxyindole as a raw material, the process involves acylation, reduction, and reaction with diethyl cyanophosphate, followed by removal of the phosphate ester with trimethylbromosilane, and finally hydrolysis to obtain xelosibenzyl. The benzyl rearrangement of the intermediate is controlled, simplifying the operation process.

Benefits of technology

It improves the yield of seroside, simplifies the operation process, reduces production costs, and is suitable for industrial production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2026096622_19112026_PF_FP_ABST
    Figure CN2026096622_19112026_PF_FP_ABST
Patent Text Reader

Abstract

Provided is a method for synthesizing psilocybin, as shown in the following reaction scheme A. The method is mainly characterized in that alkyl phosphate is used to replace benzyl phosphate in the prior art, and a psilocybin product with a high purity is obtained by means of controlling the rearrangement of phosphate esters, then removing alkyl using a halosilane Lewis acid, and then performing hydrolysis and recrystallization, thereby effectively increasing the yield of the final psilocybin product.
Need to check novelty before this filing date? Find Prior Art

Description

A method for synthesizing seroxibin Technical Field

[0001] This invention belongs to the field of medicinal chemistry. Specifically, this invention relates to a novel synthetic method for xelocebin. Other key features include replacing benzyl phosphate in the prior art with alkyl phosphate, controlling the rearrangement of the phosphate ester, removing the alkyl group with a Lewis acid, and then hydrolyzing and recrystallizing to obtain a high-purity xelocebin product. Background Technology

[0002] Psilocybin, also known as psilocybin, has been used for a long time since its successful extraction from psychedelic mushrooms in the 1950s. However, since the 1960s, psilocybin has been abused in the United States and was therefore listed as a controlled substance, leading to a stagnation in its research in the mid-to-late 19th century. It wasn't until the 21st century that psilocybin was found to have significant efficacy in treating major depressive disorder, treatment-resistant depression, end-of-life anxiety, obsessive-compulsive disorder, addiction disorders, and post-traumatic stress disorder (PTSD). Currently, Australia has approved psilocybin for the treatment of major depressive disorder. In the future, psilocybin is expected to become a blockbuster drug.

[0003] As a natural product, the synthesis of xelocilin is one of the hot topics in the field. Literature (Experientia, 14(11), 397–399; Synthesis, 1999(06), 935–938) reports the total synthetic route of this compound (reaction formula 1), using 4-acetoxyindole (2) as a starting material, which is converted to ketoamide 4 through two-step acylation-amidation, and then reduced with LiAlH4 to obtain intermediate 5,5. After reflux rearrangement, it is converted to 6,6, which is then hydrogenolyzed under palladium on carbon catalysis to obtain crude xelocilin. The latter is purified by recrystallization from water with acetone to obtain a semi-crystalline solid xelocilin with a purity of 97-98%.

[0004] This method has the following problems: 1) The first step, using diethyl ether as a solvent, poses a potential danger to operators, mainly because this step requires a large amount of solvent. Raw material 1 is insoluble in diethyl ether, and to reduce uneven reaction and the formation of byproducts, a large amount of solvent must be maintained to ensure the raw material solid is uniformly dispersed in the solution; 2) In the preparation of intermediate 5 from intermediate 4, n-butyllithium is used as a catalyst, requiring a reaction at -78℃, followed by quenching with ethyl acetate at -20℃. Therefore, this reaction step is difficult to operate, requiring operation at -20℃ or even lower temperatures throughout, which is not conducive to large-scale production. Moreover, the two reagents in this reaction step are flammable, explosive, and highly dangerous, and tetrabenzyl pyrophosphate (TBPP) is expensive; 3) A benzyl group on intermediate 5 spontaneously migrates intramolecularly to form the corresponding zwitterionic N,O-dibenzyl phosphate derivative 6 from the O,O-dibenzyl phosphate derivative. This conversion process is unnecessary and difficult to control; 4) After quenching, the inorganic lithium salt is precipitated by standing, which makes the residual compound 4 (psilocin) in the reaction system more susceptible to oxidation and deterioration, resulting in a dark gray color of the final product.

[0005] In 2020, Robert B. Kargbo et al. reported a method for synthesizing kilogram-sized serocepin (see reaction 2 below, ACS Omega, 5(27): 16959–16966).

[0006] This process also begins with 4-acetoxyindole (2), which is converted to ketoamide 3 through two-step acylation-amidation, and then reduced with LiAlH4 to obtain 4. The difference is that this method introduces the phosphate group using phosphorus oxychloride, yielding the intermediate ({3-[2-(dimethylamino)ethyl]3h-indole-4-yl}oxy)phosphonodichloride 7, which is then quenched while hydrolyzing 7 to obtain serozepine. However, the synthesis of the key intermediate 7 in this route requires a reaction temperature maintained at -15°C, which is demanding. The inventors of this application attempted to raise the temperature to 0°C for the reaction, but found that too many impurities were generated. Due to the high polarity of the product, it was difficult to separate, making post-processing very challenging. Regardless of whether triethylamine or other organic bases (pyridine, N,N-diisopropylethylamine, ammonium carbonate) are used as the base, a large amount of di({3-[2-(dimethylamino)ethyl]1H-indol-4-yl}oxy)phosphonic acid (structural formula 1) is produced. Its 1H spectrum is completely consistent with that of serocepin, but the mass spectrum is inconsistent. Although a relatively pure product is obtained by using an inorganic base (ammonium carbonate), it contains a large amount of inorganic salts that are difficult to remove. Moreover, the quenching of this reaction step requires a temperature of -20°C and is performed in three stages. First, a THF / H2O (70:30) mixed solution is used to lower the temperature to -20 to 0°C. Then, THF is cooled to -5 to 0°C and added to the reaction solution as a rinsing solution. Finally, pure water is cooled to 2 to 7°C and added to the reactor as a rinsing medium for quenching. The mixture is stirred for at least 60 minutes. This process is complicated, requires refrigeration equipment, wastes a large amount of solvent, and is not conducive to industrial production. Meanwhile, the reaction uses bare silicone oil and diatomaceous earth. After water filtration, the filter cake is washed again with water at 5-10°C. This is because psilocybin adheres to the diatomaceous earth, causing partial adsorption of the product. The cumbersome operation results in low yield, which is not conducive to large-scale industrial production.

[0007] Patent PCT / US2022 / 043463 reports a different synthetic route (reaction formula 3), starting with 4-acetoxyindole (2), but using aziridine tetrafluoroborate or 3-BOC-1,2,3-oxathiazoline-2,2-dioxide to alkylate intermediate 9, followed by methylation to fumarate intermediate 10, and reduction to key intermediate 5 using sodium cyanoborohydride to increase safety. Finally, the phosphate group on phosphorus oxychloride is hydrolyzed to a phosphate hydroxyl group. Compared with the previous two methods, this method uses aziridine tetrafluoroborate or 3-BOC-1,2,3-oxathiazoline-2,2-dioxide, both of which are expensive and dangerous. The introduction of the phosphate group is also done with phosphorus oxychloride, resulting in complex post-processing and a small amount of main product with many impurities. Therefore, this route is difficult to apply to industrial production.

[0008] Patent CN116348448A reports a new synthetic method (reaction formula 4), using 4-hydroxyindole (11) as a raw material, the phenolic hydroxyl group at the 2 position is esterified with oxalyl chloride (12), and then reacted with dimethylamine and rearranged to obtain intermediate 13, which is reduced with LiAlH4 to obtain 4. In order to avoid the rearrangement reaction, it is phosphated with N,N-diisopropylphosphite ditert-butyl ester under 1H-tetrazole catalysis to obtain ditert-butyl 3-[(dimethylamino)methyl]-1H-indole-4-acylphosphite (15). After hydrolysis with hydrochloric acid, the target compound Psilocybin is deprotected in acetone solution at room temperature. Although the overall route conditions were mild, it was originally hoped that the steric hindrance of tert-butyl phosphate would prevent the rearrangement reaction. However, after intermediate 11 was placed in a common organic solvent for 3 hours, several impurities appeared in addition to the rearranged zwitterion. Furthermore, di({3-[2-(dimethylamino)ethyl]1H-indol-4-yl}oxy)phosphonic acid appeared in the reaction solution, which had similar properties to the target product and could not be separated by conventional methods such as column chromatography or recrystallization.

[0009] Therefore, there is still a need to develop simpler, more economical methods for synthesizing serocerabin that are suitable for industrial-scale production. Summary of the Invention

[0010] To address the problems existing in the prior art, the present invention aims to provide a novel method for synthesizing serocerabin as shown in the following reaction formula A. The method is characterized by using 4-acetoxyindole (2) as a raw material, which is acylated to obtain intermediate 3. The intermediate 3 is then condensed with dimethylamine to obtain intermediate 4, which is further reduced to obtain intermediate 5. Intermediate 5 reacts with diethyl cyanophosphate or triethyl phosphate / phosphorus pentoxide to obtain intermediate 16. Intermediate 16 is de-phosphated with trimethylbromosilane or trimethyliodosilane, and then hydrolyzed to obtain serocerabin. By selecting a suitable solvent, the benzyl rearrangement of intermediate 16 can be controlled, thus significantly reducing the formation of compound 17 as a byproduct.

[0011] Step 1) Using 4-acetoxyindole as the starting material, oxalyl chloride is acylated in a solvent under the action of an acid-binding agent to generate acyl chloride intermediate 3. Intermediate 3 is insoluble in diethyl ether and excess oxalyl chloride can be removed by three substitutions with n-heptane to obtain solid intermediate 3.

[0012] Step 2) Under nitrogen protection, intermediate 3 is dissolved in THF, cooled to 0°C and maintained at that temperature, dimethylamine and pyridine are added, and the reaction continues until the starting material spot disappears. The mixture is then pulped and filtered to obtain intermediate 4.

[0013] Step 3) Add lithium aluminum hydride to anhydrous 2-methyltetrahydrofuran. Under nitrogen protection, add a solution of intermediate 4 in 2-methyltetrahydrofuran dropwise. After the addition is complete, reflux the reaction until the starting material spot disappears. Then decompose the excess lithium aluminum hydride with saturated sulfuric acid aqueous solution. Mix with a dichloromethane / methanol mixture, filter to remove insoluble solids, and remove the solvent from the filtrate under reduced pressure to obtain crude intermediate 5. Then purify with n-heptane / ethyl acetate to obtain pure product.

[0014] Step 4) Intermediate 5 is reacted with the reactants diethyl cyanophosphate, dimethyl cyanophosphate, or triethyl phosphate / phosphorus pentoxide in an aprotic solvent to obtain intermediate 16.

[0015] Step 5) Intermediate 16 is reacted with a Lewis acid trialkyl halosilane in a polar aprotic solvent to remove the ethyl group, yielding intermediate 18.

[0016] Step 6) Intermediate 18 does not require purification; it is directly hydrolyzed with water to obtain crude serocepin.

[0017] Preferably, the reaction in step 1) is maintained under anhydrous and oxygen-free conditions, and the temperature is controlled at 0-5°C.

[0018] Preferably, the solvent in step 1) is selected from methyl tert-butyl ether (MTBE), dichloromethane (DCM), isopropanol, and diethyl ether, and more preferably methyl tert-butyl ether (MTBE).

[0019] Preferably, the acid-binding agent in step 1) is selected from diisopropylethylamine, pyridine (Py), K2CO3, triethylamine (TEA), dicycloamidine (DBU), and dimethylaminopyridine (DMAP).

[0020] Preferably, steps 1) and 2) are carried out continuously in one pot.

[0021] Preferably, the molar ratio of oxalyl chloride in step 1) to dimethylamine in step 2) is 1:1 to 8:1, more preferably 2:1 to 6:1, and even more preferably 2:1 to 4.5:1, for example, 2:1, 3:1, 5:1.2, or 6:1.5.

[0022] Preferably, the molar ratio of lithium aluminum hydride to intermediate 4 in step 3) is 1:1 to 6:1, more preferably 1.5:1 to 5:1, and even more preferably 1.5 to 4:1. For example, it can be 1.5:1, 2:1, 2.5:1, 3:1, or 4:1.

[0023] Preferably, the reactant in step 4) is diethyl cyanophosphate.

[0024] Preferably, the aprotic solvent in step 4) is selected from ethyl acetate or dichloromethane.

[0025] Preferably, the reaction temperature range in step 4) is -5 to 45°C, and more preferably 0°C to room temperature.

[0026] Preferably, the reaction time in step 4) is 0.5 to 24 hours, more preferably 0.5 to 12 hours.

[0027] Preferably, the polar aprotic solvent in step 5) is selected from ethyl acetate, propyl acetate, isopropyl acetate, butyl acetate, acetonitrile, dichloromethane, chloroform, dioxane, tetrahydrofuran, amyl acetate, ethyl propionate, isopropyl ether, etc., and is preferably ethyl acetate or acetonitrile.

[0028] Preferably, the Lewis acid trialkyl halosilane mentioned in step 5) is selected from trimethyliodosilane, trimethylbromosilane and trimethylchlorosilane, (dichloromethyl)dimethylchlorosilane, tert-butyldimethylchlorosilane, isopropyldimethylchlorosilane, dimethylethylchlorosilane, (dichloromethyl)dimethylbromosilane, tert-butyldimethylbromosilane, isopropyldimethylbromosilane, dimethylethylbromosilane, etc., and more preferably trimethylbromosilane and trimethylchlorosilane.

[0029] Preferably, the reaction temperature range in step 5) is -10 to 45°C.

[0030] Preferably, the reaction time in step 5) is 0.5-8 hours.

[0031] Preferably, the crude serocepin described in step 6) is further recrystallized from acetone / water to obtain a pure product. Beneficial effects

[0032] The method according to the present invention can effectively prevent the benzyl rearrangement of intermediate 16 by changing the alkyl group of the phosphate ester and selecting appropriate solvents and reactants, thereby effectively improving the yield of the final product xelocebin by using a halosilane Lewis acid to desorb the phosphate ester. Detailed Implementation

[0033] The present invention will now be described in detail. Before proceeding with the description, it should be understood that the terminology used in this specification and the appended claims should not be construed as limited to its general or dictionary meaning, but rather should be interpreted according to the meaning and concept corresponding to the technical aspects of the invention, based on the principle that the inventors are allowed to appropriately define the terms for the best interpretation. Therefore, the description presented herein is merely a preferred example for illustrative purposes and is not intended to limit the scope of the invention. It should be understood that other equivalents or modifications can be obtained from it without departing from the spirit and scope of the invention.

[0034] In this document, the terms “comprising,” “including,” “having,” “containing,” or any other similar terms are open-ended conjunctions intended to cover non-exclusive inclusions. For example, a composition or article containing a plurality of elements is not limited to those listed herein, but may also include other elements not explicitly listed but typically inherent to the composition or article. Furthermore, unless explicitly stated to the contrary, the term “or” is inclusive, not exclusive. For example, the condition “A or B” is satisfied in any of the following cases: A is true (or exists) and B is false (or does not exist); A is false (or does not exist) and B is true (or exists); A and B are both true (or exist). Moreover, in this document, the terms “comprising,” “including,” “having,” and “containing” should be interpreted as specifically disclosed and simultaneously cover closed or semi-closed conjunctions such as “composed of” and “substantially composed of.”

[0035] In this document, all features or conditions defined in the form of numerical ranges or percentage ranges are for the sake of brevity and convenience only. Accordingly, descriptions of numerical ranges or percentage ranges should be considered as covering and specifically disclosing all possible secondary ranges and individual values ​​within those ranges, particularly integer values. For example, a range description of "1 to 8" should be considered as specifically disclosing all secondary ranges such as 1 to 7, 2 to 8, 2 to 6, 3 to 6, 4 to 8, 3 to 8, etc., particularly secondary ranges defined by all integer values, and should be considered as specifically disclosing individual values ​​within those ranges such as 1, 2, 3, 4, 5, 6, 7, 8, etc. Unless otherwise specified, the foregoing interpretation applies to all content throughout this invention, regardless of its scope.

[0036] If a quantity or other numerical value or parameter is expressed as a range, a preferred range, or a series of upper and lower limits, it should be understood that this document has specifically disclosed all ranges consisting of any upper or preferred value of that range and the lower or preferred value of that range, regardless of whether such ranges are separately disclosed. Furthermore, when a range of numerical values ​​is mentioned herein, unless otherwise stated, the range shall include its endpoints and all integers and fractions within the range.

[0037] In this document, numerical values ​​are to be understood as having a precision with significant digits, provided that the purpose of the invention can be achieved. For example, the number 40.0 should be understood to cover a range from 39.50 to 40.49.

[0038] In existing technologies, intermediate 16 typically undergoes a rearrangement reaction, producing byproduct 17. However, the inventors have discovered that selecting a suitable solvent in step 4) of the method according to the invention can effectively control the extent of this side reaction. The solvent is selected from aprotic solvents such as ethyl acetate, propyl acetate, isopropyl acetate, acetonitrile, dichloromethane, chloroform, dioxane, and tetrahydrofuran. In preparing intermediate 16, the reactants can be diethyl cyanophosphate or triethyl phosphate / phosphorus pentoxide, preferably diethyl cyanophosphate.

[0039] The following embodiments are merely examples illustrating implementations of the present invention and do not constitute any limitation on the present invention. Those skilled in the art will understand that modifications made without departing from the spirit and concept of the present invention fall within the protection scope of the present invention. Unless otherwise specified, the reagents and instruments used in the following embodiments are commercially available products. 1 H-NMR and 13 C-NMR was performed using an LSI-IST / JNM-ECA400 NMR spectrometer, with TMS as an internal standard. The coupling constant (J) was recorded in Hz. Electrospray ionization mass spectrometry (ESI-MS) was performed on an LSI-IST-003 / G6230A ion trap mass spectrometer. GF254 fluorescent plates were used for thin-layer chromatography.

[0040] Example 1: Optimization of Synthetic Process Conditions for Xelosibin

[0041] a) Optimization of the synthetic process conditions for 3-[(2-(dimethylamino)-2-oxoacetyl)]-1H-indole-4-acetate (4)

[0042] Intermediate 3 is an acyl chloride compound, which is sensitive to water and is generally used directly. Therefore, steps 2) and 3) of the method according to the present invention are carried out in a one-pot process. 4-Acetoxyindole reacts with oxalyl chloride to generate intermediate 3. The key to the formation of intermediate 3 is the solvent. In this example, the types of solvents were investigated, and it was found that the preferred solvent is methyl tert-butyl ether (see Table 1 below). After removing the solvent from intermediate 3, without purification, dimethylamine and pyridine are directly added, and the reaction is continued for 0.5 h. After pulping and filtration, intermediate 4 can be obtained. The key to the formation of intermediate 4 is the feed ratio, the acid-binding agent, and the reaction temperature. The results of the condition investigation are shown in Tables 2 and 3 below.

[0043] Table 1 Effect of solvent on yield

[0044] Table 2 Effects of acid-binding agent, alkali, and reaction temperature on yield

[0045] Table 3. Effect of Feed Ratio on Yield

[0046] b) Optimization of the synthetic process conditions for 3-[2-(dimethylamino)ethyl]-1H-indole-4-ol (5)

[0047] Intermediate 4 was reduced in 2-methyltetrahydrofuran solution to give intermediate 5. Given that this reduction reaction involves the reduction of multiple groups, and lithium aluminum hydride contains multiple usable reducing hydrogens, this invention focuses on the amount of lithium aluminum hydride used. The results of the optimized conditions are shown in Table 4 below.

[0048] Table 4. Effect of lithium aluminum hydride feed ratio on yield

[0049] c) Optimization of the synthetic process conditions for 3-(2-(dimethylamino)ethyl)-3H-indole-4-ylphosphodiethyl(16)

[0050] The key challenge in the preparation of xelocerin phosphate intermediates lies in an intramolecular phosphate migration rearrangement reaction. Because after benzyl rearrangement, the rearranged product can also be catalytically hydrogenated to remove the benzyl group, yielding xelocerin, the first method for xelocerin synthesis described in the background section of this invention was initially employed. Subsequent methods have essentially focused on improving upon the rearrangement issue. The oxyethyl phosphate of this invention also undergoes a rearrangement at the dimethylamino group at the 3-position, producing rearranged product 17. However, through speculation on the reaction mechanism and the contribution of solvents to intermolecular forces in the rearrangement reaction, this invention, after a series of screenings, discovered that ethyl acetate can inhibit the rearrangement reaction. Therefore, based on this key point of the invention, the synthesis process of intermediate 16 was optimized, with a focus on introducing diethyl phosphate as a starting material, as shown in Table 5 below. Diethyl cyanophosphate is more stable as a phosphate ester group, produces fewer rearrangement products, and has a simpler post-processing. Triethyl phosphate requires column chromatography, while diethyl cyanophosphate is soluble in water and can be removed by extraction. It is also safe and non-toxic. Therefore, diethyl cyanophosphate is preferred as the phosphate esterification reagent for synthetic intermediate 16 in this invention.

[0051] Table 5 Effect of phosphorylation reagent on yield

[0052] Table 6 Effect of Temperature on Yield

[0053] d) Optimization of the synthetic process of 3-(2-(dimethylamino)ethyl)-1H-indole-4-ylphosphophosphate (xelosibin)

[0054] Intermediate 16 was deethylated with a Lewis acid to obtain intermediate 18, which was then hydrolyzed to give seroceridine. This invention investigated Lewis acids, trimethyliodosilane, trimethylbromosilane, and trimethylchlorosilane. Trimethylbromosilane showed the best results.

[0055] Table 7 Results of Lewis acid investigation

[0056] After the Lewis acid is deethylated, the reaction is terminated by adding water, which hydrolyzes the phosphate silicone ester (intermediate 18) to obtain xelocebenone. Xelocebenone is an amphoteric compound. Therefore, this invention investigated the effect of pH on the yield of xelocebenone, and found that the highest yield was obtained at pH 3-4 (Table 8).

[0057] Table 8 Results of the study on pH and seroconversion rate

[0058] e) Optimization of crystallization conditions for 3-(2-(dimethylamino)ethyl)-1H-indole-4-ylphosphophosphate (xelosiben)

[0059] This invention tested the effectiveness and yield of serocerabin by recrystallization with different solvents. The results showed that the purification effect was best with a 1:1 acetone:water composite solvent (Table 9).

[0060] Table 9 Optimization of recrystallization conditions for serocerin

[0061] Example 2: Synthesis of seroxibin

[0062] a) Synthesis of 3-(2-chloro-2-oxoacetyl)-1H-indole-4-acetate (1)

[0063] In a 2-liter three-necked round-bottom flask, under nitrogen purging, 4-acetoxyindole (40 g, 1 eq. 0.23 mol) was dissolved in anhydrous methyl tert-butyl ether (480 ml). The resulting solution was cooled to 0–5 °C, and cold oxaloyl chloride (145 g, 97 ml, 1.14 mol) was slowly added while maintaining the internal temperature at 5–10 °C. The addition was completed within 35 minutes, and the formation of a yellow precipitate was observed 30 minutes after complete addition, increasing over time. After stirring at 0–5 °C for 3 hours, the reaction mixture was diluted with methanol (forming methyl ester) and TLC was performed to confirm completion. Petroleum ether (500 ml) was added dropwise to the cold suspension while maintaining the temperature at 5–10 °C. Upon addition, a dense yellow suspension was formed. After stirring for 10 minutes, the mixture was allowed to stand and precipitate. The supernatant was then poured off. This process was repeated three times, with 500 ml of petroleum ether added each time, to obtain 3-(2-chloro-2-oxoacetyl)-1H-indole-4-acetate (54.45 g, 90.0%) as a yellow solid.

[0064] b) Synthesis of 3-[(2-(dimethylamino)-2-oxoacetyl)]-1H-indole-4-acetate (2)

[0065] In a 2L three-necked round-bottom flask under nitrogen protection, 54.45 g (0.15 mol) of 3-(2-chloro-2-oxoacetyl)-1H-indole-4-acetate was dissolved in 420 ml of THF and cooled to 5-10°C. A solution of dimethylamine (2.0 M in THF) (12.35 g, 140 ml, 0.27 mol) dissolved in 420 ml of THF and Py (27.09 g, 28 ml, 0.34 mol) was slowly added through a dropping funnel, keeping the internal temperature below 10°C, forming a milky white suspension. During the addition of dimethylamine, hydrochloric acid gas was formed in the headspace above the reaction suspension and most of it redissolved over time. The resulting cream suspension was stirred at room temperature for 1 hour while maintaining 0-5°C. The nitrogen was removed, and the mixture was allowed to rise naturally to room temperature. Petroleum ether (500 ml) was added and stirred for 15 minutes. The mixture was filtered to obtain a pale yellow solid and a clear yellow filtrate; the solid was retained. Add water (900 ml) and stir for 15 minutes. Filter to obtain a pale yellow solid and a yellow filtrate; retain the solid. Add heptane:ethyl acetate = 1:1 (240 ml) and stir for 15 minutes. Wash the filter cake several times and dry it under vacuum overnight to obtain 51.09 g of a grayish-white solid, with a yield of 81.6%. ESI-MS (m / z): 297.08 [M+H] +1 ,1H NMR (600MHz, DMSO) δ12.54–12.50(m,1H),8.10(d,J=3.3Hz,1H),7.44(dd,J=8.1,0.9Hz,1H ),7.29(t,J=7.9Hz,1H),6.92(dd,J=7.6,0.9Hz,1H),2.96(s,3H),2.85(s,3H),2.35(s,3H)

[0066] c) Synthesis of 3-[2-(dimethylamino)ethyl]-1H-indole-4-ol (3)

[0067] Under nitrogen protection, 20 g (0.07 mol) of 3-[(2-(dimethylamino)-2-oxoacetyl)]-1H-indole-4-acetate was dissolved in 400 ml of THF and cooled to 0-5 °C. Lithium aluminum hydride (1 M in THF) (5.53 g, 154 ml, 0.15 mol) was added slowly and in small amounts multiple times. The initial addition was quite vigorous, with a large amount of heat and gas production, and a yellow solid was quickly formed. When the remaining amount was added, the reaction was no longer vigorous. The reaction was allowed to proceed at room temperature for 0.5 hours until all the intermediate was formed, which was a viscous yellow mixture. The mixture was heated to 80 °C and refluxed, and kept at this temperature for at least 2 hours. After the reaction was completed, the mixture was cooled to 20-25 °C, and 400 ml of THF was slowly added to dilute the reaction mixture. Cool the reaction mixture to 0-5°C and slowly quench it with a tetrahydrofuran / water solution of 100:27 (v / v) (168 ml). Maintain the internal temperature at 0-5°C and stir for 0.5 hours. The reaction mixture will typically turn yellow to yellowish-green and produce gas. During quenching, ensure that any material adhering to the container walls is exposed to the quenching solvent. Add appropriate amounts of silica gel and anhydrous sodium sulfate to the reaction mixture. Adjust the temperature to 20-25°C. Prepare a DCM:MeOH (9:1) solution (300 ml) and add it to the reaction mixture. Stir at room temperature for 20 minutes without protection from light. Line a funnel with filter paper and 3-4 cm of diatomaceous earth. Filter the reaction mixture. Wash the filter cake with DCM:MeOH (90:10) (1.2 ml) and evaporate to dryness at a temperature below 50°C. Heptane:ethyl acetate (1:1) (30 ml) was slurried and filtered to obtain a white solid. The solid was dried under vacuum for at least 30 minutes to give 3-[2-(dimethylamino)ethyl]-1H-indole-4-ol (yield 73%, 10.87 g).

[0068] d) Synthesis of 3-(2-(dimethylamino)ethyl)-3H-indole-4-ylphosphophosphate diethyl(4)

[0069] In a 250 ml round-bottom flask, 3-[2-(dimethylamino)ethyl]-1H-indole-4-ol (40 g, 0.20 mol) was dissolved in acetonitrile (100 ml). The mixture was kept at 0-5 °C. Trimethylbromosilane (44.708 g, 41.6 ml, 0.16 mol) and triethylamine (19.813 g, 27 ml, 0.11 mol) were added. A large amount of gas was produced. The mixture was removed from the ice bath and allowed to rise naturally to room temperature. The mixture was stirred for 2 hours. The reaction was confirmed to be complete by TLC. The solvent was evaporated to dryness, and the mixture was extracted with ethyl acetate (300 ml × 3). The extract was dried over anhydrous sodium sulfate, filtered, and evaporated to dryness to obtain a reddish-brown oily substance, 3-(2-(dimethylamino)ethyl)-3H-indole-4-ylphosphophosphate diethyl (60.99 g, yield 91.57%).

[0070] e) Synthesis of seroxibin

[0071] In a 500ml three-necked flask under nitrogen protection, 60.99g (0.18mol) of 3-(2-(dimethylamino)ethyl)-3H-indol-4-ylphosphophosphate diethyl (ethyl) was added to 210ml of ethyl acetate. The mixture was kept at 0-5℃, and 70.98ml (1.08mol) of trimethylbromosilane was slowly added. The reaction was allowed to proceed at room temperature for 12 hours. Water (10ml) was added for hydrolysis for two hours. The reaction solution gradually turned a dark red and clear color with a solid precipitate. Ethyl acetate and water were back-extracted (15ml), retaining the aqueous layer. The extraction was repeated three times. The ethyl acetate was removed by vortexing, and 200ml of ethanol was added for azeotropic removal of water, yielding a yellow oily substance. This was diluted with 200ml of methanol. Adjust the pH to 8-9 by adding 75 ml of amine-methanol at 0-5℃, then add methanol / ethanol = 1:3 (v / v) and let stand at room temperature for 3 hours to precipitate. Filter to obtain a reddish-brown filtrate and a pale yellow solid. Retain the solid (recover the filtrate by rotary evaporation and process it in the same way as below). Add HCl / EA at 0-5℃ to adjust back to a weakly acidic pH of 3-4, then rotary evaporation to remove the solvent. Add 25% methanol / isopropanol (25 ml) and reflux at 90℃ for 0.5 h. Discard the supernatant. Add water / acetone = 1:2 (v / v) (15 ml) to the remaining solid and recrystallize under reflux at 90℃. Cool naturally to room temperature. When solid precipitates, cool to 4℃ and filter to obtain 40 g of crude product, pale yellow needle-like crystals. Finally, white needle-like crystals were obtained by reflux with deionized water (21 ml) at 90 °C. After vacuum drying for 24 h, 21.83 g of a white solid was obtained. 1.79 g was recovered from the filtrate, for a total of 23.63 g, yielding a yield of 46.38%. The high-performance liquid chromatography (HPLC) purity was 99.7%. ESI-MS (m / z): 285.09 [M+H] +1 , 1 H NMR (600MHz, D2O) δ7.17(d,J=7.9Hz,1H),7.08(d,J=8.0Hz,2H),6.95(d,J=7.8Hz,1H),3.31(t,J=7.3Hz,2H),3.26–3.13(m,2H),2.78(s,6H). 13 C NMR (151MHz, D2O) δ145.67,138.66,124.20,122.63,108.89,107.96,107.80,58.97,42.76,21.65.

[0072] Example 3: Synthesis of seroxibin

[0073] a) Synthesis of 3-(2-chloro-2-oxoacetyl)-1H-indole-4-acetate (1)

[0074] In a 100 mL three-necked round-bottom flask, under nitrogen purging, 4-acetoxyindole (0.5 g, 2.85 mmol) was dissolved in anhydrous methyl tert-butyl ether (9.5 mL). The resulting solution was cooled to 0–5 °C, and cold oxaloyl chloride (1.8 g, 1.2 mL, 14.27 mmol) was slowly added while maintaining the internal temperature at 5–10 °C. A yellow precipitate was observed to form and increase over time. After stirring at 0–5 °C for 2.5 hours, the reaction mixture was diluted with methanol (ester formation) and TLC was performed to confirm completion. Maintaining the temperature at 5–10 °C under nitrogen protection, 10 mL of heptane was added, resulting in a dense yellow suspension. After stirring for 10 minutes, the precipitate was allowed to stand, and the supernatant was discarded. This process was repeated three times, each time with 10 mL of heptane added, to give 3-(2-chloro-2-oxoacetyl)-1H-indole-4-acetate (695 mg, 92.0%) as a yellow solid.

[0075] b) Synthesis of 3-[(2-(dimethylamino)-2-oxoacetyl)]-1H-indole-4-acetate (2)

[0076] In a 100 ml three-necked round-bottom flask under nitrogen protection, 3-(2-chloro-2-oxoacetyl)-1H-indole-4-acetate (695 mg, 2.62 mmol) was dissolved in 10 ml of THF and cooled to 5–10 °C. A solution of dimethylamine (2.0 M in THF) (128 mg, 1.7 ml, 3.42 mmol) and TEA (433 mg, 0.4 ml, 3 eq., 4.28 mmol) was slowly added through a dropping funnel, keeping the internal temperature below 10 °C, forming a milky white suspension. During the addition of dimethylamine, hydrochloric acid gas was formed in the headspace above the reaction suspension and mostly redissolved over time. The resulting cream suspension was stirred at 0–5 °C for 20 min, then the nitrogen gas was removed. Heptane (10 ml) was added dropwise to the cooled suspension, and the mixture was stirred for 15 min. The mixture was filtered to obtain a pale yellow solid and a clear yellow filtrate; the solid was retained. Add water (9 ml) and stir for 5 minutes. Filter to obtain a pale yellow solid and a yellow filtrate, retaining the solid. Add heptane:ethyl acetate = 1:1 (15 ml) and stir for 15 minutes. Wash the filter cake several times and dry it under vacuum overnight to obtain 538 mg of grayish-white solid, with a yield of 69%.

[0077] c) Synthesis of 3-[2-(dimethylamino)ethyl]-1H-indole-4-ol (5)

[0078] Under nitrogen protection, 3-[(2-(dimethylamino)-2-oxoacetyl)]-1H-indole-4-acetate (0.5 g, 1.82 mmol) was dissolved in 2-methyltetrahydrofuran (30 ml), and the temperature was lowered to 0-5 °C. Lithium aluminum hydride (1 M in THF) (0.11 g, 2.7 ml, 1.5 eq., 2.73 mmol) was slowly added, and the mixture was reacted at room temperature for 0.5 hours until all intermediates were converted. The viscous yellow mixture was then heated to 90 °C and refluxed, and maintained at this temperature for at least 2 hours. After the reaction was completed, the mixture was cooled to 20-25 °C, and THF (15 ml) was slowly added to dilute the reaction mixture. Cool the reaction mixture to 0-5°C and slowly quench it with a tetrahydrofuran / water solution of 100:27 (v / v) (4.2 ml). Maintain the internal temperature at 0-5°C and stir for 0.5 hours. Typically, the reaction mixture will turn yellow to yellowish-green and produce gas. During quenching, ensure that any material adhering to the container walls is exposed to the quenching solvent. Add appropriate amounts of silica gel and anhydrous sodium sulfate to the reaction mixture. Adjust the temperature to 20-25°C. Prepare a DCM:MeOH (9:1) solution (10 ml) and add it to the reaction mixture. Stir at room temperature for 20 minutes without protection from light. Line a funnel with filter paper and 3-4 cm of diatomaceous earth. Filter the reaction mixture. Wash the filter cake with DCM:MeOH (90:10) (1.2 ml) and evaporate to dryness at a rotary evaporation temperature below 50°C. Heptane:ethyl acetate (1:1) (30 ml) was slurried and filtered to obtain a grayish-white solid. The solid was dried under vacuum for at least 30 minutes to obtain crude 3-[2-(dimethylamino)ethyl]-1H-indole-4-ol (yield 45%, 167 mg).

[0079] d) Synthesis of 3-(2-(dimethylamino)ethyl)-3H-indole-4-ylphosphodiethyl(16)

[0080] In a 50 ml round-bottom flask, phosphorus pentoxide (2.29 g, 16.2 mmol) was added to triethyl phosphate (11.76 g, 11 ml, 64.6 mmol) and mixed under nitrogen protection. 3-[2-(dimethylamino)ethyl]-1H-indole-4-ol (1 g, 4.89 mmol) was dissolved in triethyl phosphate and added. The mixture was heated to 120 °C, and the reaction was confirmed by TLC with ammonia. The reaction was allowed to proceed for 1 hour, cooled to room temperature, and terminated by adding 11 ml of ice water, yielding a clear yellow solution. The solution was extracted with water / ethyl acetate (3 × 15 ml). The lower layer was white and turbid, while the upper layer was clear and yellow. The organic layers were combined, dried over anhydrous sodium sulfate, filtered, and distilled under reduced pressure to obtain a yellow oil. Column chromatography was performed using dichloromethane:methanol = 30:1 + 1% ammonia to obtain 3-(2-(dimethylamino)ethyl)-3H-indole-4-ylphosphodiesterephthalophosphate (685 mg, yield 40%).

[0081] e) Synthesis of seroxibin

[0082] In a 100 ml three-necked flask under nitrogen protection, 685 mg (2.01 mmol) of 3-(2-(dimethylamino)ethyl)-3H-indol-4-ylphosphophosphate diethyl (3-(2-(dimethylamino)ethyl)-3H-indol-4-ylphosphophosphate diethyl (3-(2-(dimethylamino)ethyl)-3H-indol-4-ylphosphophosphate diethyl) was added to dichloromethane (5 ml), followed by trimethylbromosilane (1.85 g, 1.6 ml, 12.09 mmol). The reaction was carried out at room temperature for 24 hours. The reaction was confirmed by TLC by spotting. The mixture was concentrated under reduced pressure, and a white oily substance was obtained. After hydrolysis with methanol (5 ml) for two hours, the substance became colorless and clear. The mixture was then recrystallized by reflux at 78 °C with ethanol:hexane = 3.3:1 (8 ml) to obtain 150 mg of white crystals with a purity of 50% (containing a large amount of inorganic salts).

[0083] Example 4: Synthesis of seroxibin

[0084] a) Synthesis of 3-(2-chloro-2-oxoacetyl)-1H-indole-4-acetate (3)

[0085] In a 100 mL three-necked round-bottom flask, under nitrogen purging, 4-acetoxyindole (0.5 g, 2.85 mmol) was dissolved in anhydrous methyl tert-butyl ether (9.5 mL). The resulting solution was cooled to 0–5 °C, and cold oxaloyl chloride (1.8 g, 1.2 mL, 14.27 mmol) was slowly added while maintaining the internal temperature at 5–10 °C. A yellow precipitate was observed to form and increase over time. After stirring at 0–5 °C for 2.5 hours, the reaction mixture was diluted with methanol (ester formation) and TLC was performed to confirm completion. Maintaining the temperature at 5–10 °C under nitrogen protection, 10 mL of heptane was added, resulting in a dense yellow suspension. After stirring for 10 minutes, the precipitate was allowed to stand, and the supernatant was discarded. This process was repeated three times, each time with 10 mL of heptane added, to give 3-(2-chloro-2-oxoacetyl)-1H-indole-4-acetate (695 mg, 92.0%) as a yellow solid.

[0086] b) Synthesis of 3-[(2-(dimethylamino)-2-oxoacetyl)]-1H-indole-4-acetate (4)

[0087] In a 100 ml three-necked round-bottom flask under nitrogen protection, 3-(2-chloro-2-oxoacetyl)-1H-indole-4-acetate (695 mg, 2.62 mmol) was dissolved in 10 ml of THF and cooled to 5–10 °C. A solution of dimethylamine (2.0 M in THF) (128 mg, 1.7 ml, 3.42 mmol) and diisopropylethylamine (1.11 g, 1.5 ml, 3 eq., 8.55 mmol) was slowly added through a dropping funnel, keeping the internal temperature below 10 °C, forming a milky white suspension. During the addition of dimethylamine, hydrochloric acid gas was formed in the headspace above the reaction suspension and mostly redissolved over time. The resulting cream suspension was stirred at 0–5 °C for 20 min, then the nitrogen gas was removed. Heptane (10 ml) was added dropwise to the cooled suspension, and the mixture was stirred for 15 min. The mixture was filtered to obtain a pale yellow solid and a clear yellow filtrate; the solid was retained. Add water (9 ml) and stir for 5 minutes. Filter to obtain a pale yellow solid and a yellow filtrate, retaining the solid. Add heptane:ethyl acetate = 1:1 (15 ml) and stir for 15 minutes. Wash the filter cake several times and dry it under vacuum overnight to obtain 390 mg of a grayish-white solid, with a yield of 50%.

[0088] c) Synthesis of 3-[2-(dimethylamino)ethyl]-1H-indole-4-ol (5)

[0089] Under nitrogen protection, 3-[(2-(dimethylamino)-2-oxoacetyl)]-1H-indole-4-acetate (0.5 g, 1.82 mmol) was dissolved in 2-methyltetrahydrofuran (30 ml), and the temperature was lowered to 0-5 °C. Lithium aluminum hydride (1 M in THF) (0.22 g, 5.5 ml, 3.0 eq., 5.47 mmol) was slowly added, and the mixture was reacted at room temperature for 0.5 hours until all intermediates were converted. The viscous yellow mixture was then heated to 90 °C and refluxed, and maintained at this temperature for at least 2 hours. After the reaction was completed, the mixture was cooled to 20-25 °C, and THF (15 ml) was slowly added to dilute the reaction mixture. Cool the reaction mixture to 0-5°C and slowly quench it with a tetrahydrofuran / water solution of 100:27 (v / v) (4.2 ml). Maintain the internal temperature at 0-5°C and stir for 0.5 hours. Typically, the reaction mixture will turn yellow to yellowish-green and produce gas. During quenching, ensure that any material adhering to the container walls is exposed to the quenching solvent. Add appropriate amounts of silica gel and anhydrous sodium sulfate to the reaction mixture. Adjust the temperature to 20-25°C. Prepare a DCM:MeOH (9:1) solution (10 ml) and add it to the reaction mixture. Stir at room temperature for 20 minutes without protection from light. Line a funnel with filter paper and 3-4 cm of diatomaceous earth. Filter the reaction mixture. Wash the filter cake with DCM:MeOH (90:10) (1.2 ml) and evaporate to dryness at a rotary evaporation temperature below 50°C. Heptane:ethyl acetate (1:1) (30 ml) was slurried and filtered to obtain a grayish-white solid. The solid was dried under vacuum for at least 30 minutes to obtain crude 3-[2-(dimethylamino)ethyl]-1H-indole-4-ol (yield 68%, 256 mg).

[0090] d) Synthesis of 3-(2-(dimethylamino)ethyl)-3H-indole-4-ylphosphophosphate diethyl(4)

[0091] In a 50 ml round-bottom flask, phosphorus pentoxide (1.14 g, 8.08 mmol) was added to triethyl phosphate (5.88 g, 32 mmol) and mixed under nitrogen protection. 3-[2-(dimethylamino)ethyl]-1H-indole-4-ol (0.5 g, 2.44 mmol) dissolved in triethyl phosphate was added. The mixture was heated to 120 °C, and ammonia was added to confirm the reaction was complete via TLC. The reaction was allowed to proceed for 3.5 hours, cooled to room temperature, and terminated by adding 5 ml of ice water, yielding a clear yellow solution. Extraction with water / dichloromethane (3 × 10 ml) yielded a white turbid upper layer and a clear yellow lower layer. The organic layers were combined, dried over anhydrous sodium sulfate, filtered, and distilled under reduced pressure to obtain a yellow oil. Column chromatography was performed using dichloromethane:methanol = 20:1 + 1% ammonia to obtain 3-(2-(dimethylamino)ethyl)-3H-indole-4-ylphosphodiesterephthalophosphate (93 mg, yield 11%).

[0092] e) Synthesis of seroxibin

[0093] In a 100 ml three-necked flask under nitrogen protection, 0.928 g (2.73 mmol) of 3-(2-(dimethylamino)ethyl)-3H-indol-4-ylphosphodiesterephthaloside was added to 11.5 ml of ethyl acetate. The mixture was kept at 0–5 °C, and then trimethylbromosilane (2.45 g, 2.1 ml, 16.38 mmol) was slowly added. The reaction was continued at room temperature for 24 hours until the solution turned a clear orange color. Water (0.5 ml) was added, and hydrolysis was continued at room temperature for two more hours. The solution gradually turned dark. The sample was a clear red liquid with a solid precipitate. It was back-extracted with ethyl acetate and water (0.5 ml), retaining the aqueous layer. The extraction was repeated three times. The ethyl acetate was removed by rotary evaporation, and 15 ml of ethanol was added for azeotropic removal of water, yielding a yellow oily substance. The pH was adjusted to 5 by adding 2 ml of amine-methanol at 0-5°C. Then, 4 ml of ethanol:acetonitrile (1:3 v / v) was added, and the mixture was stirred and filtered. The filtrate was retained and adjusted to an alkaline pH of approximately 8 by adding ammonia-methanol. 6 ml of isopropanol was added, and the mixture was refluxed at 55°C for half an hour. The supernatant was discarded, and 25% methanol / isopropanol was added, followed by reflux at 55°C for half an hour. The mixture was filtered while hot, retaining the filtrate. 30% acetone / water was added, and the mixture was refluxed at 90°C for half an hour. After natural cooling to room temperature, the mixture was accelerated to 4°C to allow precipitation. After 48 hours, 0.25 g of a white solid (32.4%) was obtained. The purity of the solid was 99.1% according to high-performance liquid chromatography (HPLC).

[0094] Example 5: Synthesis of seroxibin

[0095] a) Synthesis of 3-(2-chloro-2-oxoacetyl)-1H-indole-4-acetate (3)

[0096] In a 1-liter three-necked round-bottom flask, under nitrogen purging, 30 g of 4-acetoxyindole (1 eq. 0.17 mol) was dissolved in anhydrous methyl tert-butyl ether (400 ml). The resulting solution was cooled to 0–5 °C, and cold oxaloyl chloride (130 g, 86 ml, 1.03 mol) was slowly added while maintaining the internal temperature at 5–10 °C. The addition was completed within 35 minutes, and the formation of a yellow precipitate was observed 30 minutes after complete addition, increasing over time. After stirring at 0–5 °C for 3 hours, the analytical sample in the reaction mixture (forming methyl ester) was diluted with methanol, and the reaction was confirmed by TLC. Petroleum ether (200 ml) was added dropwise to the cold suspension while maintaining the temperature at 5–10 °C. After addition, a dense yellow suspension was formed. After stirring for 30 minutes, the mixture was allowed to stand and precipitate. The supernatant was then poured off. This process was repeated three times, with 200 ml of petroleum ether added each time, to obtain 3-(2-chloro-2-oxoacetyl)-1H-indole-4-acetate (41 g, 91.50%) as a yellow solid.

[0097] b) Synthesis of 3-[(2-(dimethylamino)-2-oxoacetyl)]-1H-indole-4-acetate (4)

[0098] In a 100 mL three-necked round-bottom flask under nitrogen protection, 3-(2-chloro-2-oxoacetyl)-1H-indole-4-acetate (695 mg, 2.62 mmol) was dissolved in 10 mL of THF and cooled to 5–10 °C. A solution of dimethylamine (2.0 M in THF) (128 mg, 1.7 mL, 3.42 mmol) and K₂CO₃ (1.57 g, 4 eq., 11.4 mmol) was slowly added through a dropping funnel, forming a milky white suspension. During the addition of dimethylamine, hydrochloric acid gas was formed in the headspace above the reaction suspension and mostly redissolved over time. The mixture was stirred at room temperature for 20 min, then the nitrogen gas was removed, and the mixture was allowed to rise naturally to room temperature. Heptane (10 mL) was added dropwise to the cold suspension, and the mixture was stirred for 15 min. The mixture was filtered to obtain a pale yellow solid and a clear yellow filtrate; the solid was retained. Water (9 mL) was added, and the mixture was stirred for 5 min. The mixture was then filtered to obtain a pale yellow solid and a yellow filtrate; the solid was retained. Add heptane:ethyl acetate = 1:1 (15 ml) and stir for 15 minutes. Wash the filter cake several times and dry it under vacuum overnight to obtain 585 mg of grayish-white solid, with a yield of 75%.

[0099] c) Synthesis of 3-[2-(dimethylamino)ethyl]-1H-indole-4-ol (3)

[0100] Under nitrogen protection, 10 g (36.46 mmol) of 3-[(2-(dimethylamino)-2-oxoacetyl)]-1H-indole-4-acetate was dissolved in 320 ml of 2-methyltetrahydrofuran. The mixture was cooled to 0-5 °C. Lithium aluminum hydride (2.3 M in THF) (4.15 g, 48 ml, 109.38 mmol) was slowly added in multiple portions. A large amount of gas was generated, and the reaction solution changed from a grayish-white suspension to a yellow suspension, with significant exothermic reaction. After the addition was complete, the reaction solution was a completely yellow mixture. The mixture was allowed to react at room temperature for 0.5 hours until it was completely converted to 3-(2-(dimethylamino)-1-hydroxyethyl)-1H-indole-4-ol. The viscous yellow mixture was then heated to 90 °C and refluxed, and maintained at this temperature for at least 3 hours. After the reaction was complete, the mixture was allowed to cool naturally to room temperature. Then, 4.5 ml of diluted THF was added and the mixture was cooled to 0-5 °C. The reaction was terminated and the product was stabilized by stirring in a 1M sodium hydroxide aqueous solution for 1 hour in the dark, resulting in a matcha-colored mixture. The mixture was filtered through a funnel to obtain a clear filtrate and a viscous yellow-green filter cake containing the product. The filter cake was removed and stirred with a washing solution (THF:DCM:NH4OH = 5:1.8:0.2, 45.3 ml). Stirring and filtration were carried out in the dark. The mixture was rinsed with a small amount of washing solution, and the filtrates were combined. An oxygen-free environment was created by purging with nitrogen three times to prevent oxidation. The mixture was then concentrated under reduced pressure at 45°C in the dark to obtain a white solid. The solid was slurried with n-heptane:ethyl acetate (1:1) (14 ml) and filtered to obtain a white solid. The solid was dried under vacuum for at least 30 minutes to give 3-[2-(dimethylamino)ethyl]-1H-indole-4-ol (yield 66.5%, 4.95 g).

[0101] d) Synthesis of 3-(2-(dimethylamino)ethyl)-3H-indole-4-ylphosphophosphate diethyl(4)

[0102] In a 50 ml round-bottom flask, 3-[2-(dimethylamino)ethyl]-1H-indole-4-ol (1 g, 4.89 mmol) was dissolved in acetonitrile (10 ml). The mixture was kept at 0-5 °C. Diethyl cyanophosphate (0.86 g, 5.3 mmol) and triethylamine (0.495 g, 0.68 ml, 4.89 mmol) were added. A large amount of gas was produced. The mixture was kept at 0-5 °C and stirred for 12 hours. The reaction was confirmed to be complete by TLC. The solvent was evaporated to dryness, and the mixture was extracted with ethyl acetate (50 ml × 3). The extract was dried over anhydrous sodium sulfate, filtered, and evaporated to dryness to give a reddish-brown oily substance, 3-(2-(dimethylamino)ethyl)-3H-indole-4-yl phosphate diethyl (1.41 g, yield 85%).

[0103] e) Synthesis of seroxibin

[0104] In a 100 ml three-necked flask under nitrogen protection, 2.21 g (6.48 mmol) of 3-(2-(dimethylamino)ethyl)-3H-indol-4-ylphosphodiesterephthaloside was added to 14 ml of ethyl acetate. The mixture was kept at 0–5 °C, and then 5.84 g (38.91 mmol) of trimethylbromosilane was slowly added. The reaction was continued at room temperature for 24 hours until the solution turned a clear orange color. Water (0.5 ml) was added, and hydrolysis was continued at room temperature for two more hours. The solution gradually turned dark red. The product was clear with a solid precipitate. It was back-extracted with ethyl acetate and water (0.5 ml), retaining the aqueous layer. The extraction was repeated three times. The ethyl acetate was removed by rotary evaporation, and 20 ml of ethanol was added for azeotropic removal of water, yielding a yellow oily substance. The pH was adjusted to 9 by adding 4.4 ml of amine-methyl at 0-5℃, and 48 ml of methanol / ethanol (1:3 v / v) was added. The product was allowed to stand at room temperature for 3 hours, and the product precipitated as salt. The product was filtered to obtain a reddish-brown filtrate and a pale yellow solid. The solid was retained (the filtrate was recovered and dried by rotary evaporation, and 104 mg was obtained). The product was slurried with isopropanol and filtered once. 25% methanol / isopropanol (25 ml) was added, and the mixture was refluxed at 90℃ for 0.5 h. The supernatant was discarded, and the remaining solid was added to water / acetone (2:1 v / v to 1:1 v / v) (2 ml), refluxed at 90℃, cooled, and kept at 4℃ overnight. This process was repeated twice, i.e., recrystallized twice. 1 ml of water was added for the second recrystallization, and the product was filtered to obtain 0.77 g of pale yellow needle-like crystals. Finally, the mixture was slurried with 1.2 ml of deionized water to obtain a white solid, which was then vacuum dried for 24 h to obtain 0.59 g of white solid, for a total of 0.69 g, with a yield of 38.8% and a purity of 99.7% according to high performance liquid chromatography.

[0105] Example 6: Synthesis of seroxibin

[0106] a) Synthesis of 3-(2-chloro-2-oxoacetyl)-1H-indole-4-acetate (3)

[0107] In a 100 mL three-necked round-bottom flask, under nitrogen purging, 4-acetoxyindole (50 mg, 0.29 mmol) was dissolved in anhydrous methyl tert-butyl ether (3.5 mL). The resulting solution was cooled to 0–5 °C, and cold oxaloyl chloride (110 g, 0.072 mL, 3 eq., 0.87 mmol) was slowly added. A yellow precipitate was observed to form and increase over time. After stirring at room temperature for 2.5 hours, the analytical sample (ester formation) in the reaction mixture was diluted with methanol, and TLC was performed to confirm the completion of the reaction. Crude 3-(2-chloro-2-oxoacetyl)-1H-indole-4-acetate (69 mg, 90.0%) was given as a yellow solid.

[0108] b) Synthesis of 3-[(2-(dimethylamino)-2-oxoacetyl)]-1H-indole-4-acetate (2)

[0109] In a 50 ml three-necked round-bottom flask under nitrogen protection, 3-(2-chloro-2-oxoacetyl)-1H-indole-4-acetate (69 mg, 0.26 mmol) was dissolved in anhydrous THF (2 ml) and cooled to 5-10 °C. A solution of dimethylamine (2.0 M in THF) (13 mg, 0.14 ml, 1.0 eq., 0.29 mmol) and Py (41 mg, 0.042 ml, 1.8 eq., 0.52 mmol) was slowly added through a dropping funnel, keeping the internal temperature below 10 °C, forming a milky white suspension. During the addition of dimethylamine, hydrochloric acid gas was formed in the headspace above the reaction suspension and most of it redissolved over time. The resulting cream suspension was stirred at room temperature for 20 min while maintaining 0-5 °C. The nitrogen gas was then removed, and the mixture was allowed to rise naturally to room temperature. Heptane (7 ml) was added dropwise to the cold suspension, and the mixture was stirred for 5 minutes. The mixture was filtered to obtain a pale yellow solid and a clear yellow filtrate; the solid was retained. Add water (3 ml) and stir for 5 minutes. Filter to obtain a pale yellow solid and a yellow filtrate, retaining the solid. Add heptane:ethyl acetate = 1:1 (7 ml) and stir for 5 minutes. Wash the filter cake several times and dry it under vacuum overnight to obtain 53 mg of grayish-white solid, with a yield of 68%.

[0110] c) Synthesis of 3-[2-(dimethylamino)ethyl]-1H-indole-4-ol (5)

[0111] Under nitrogen protection, 3-[(2-(dimethylamino)-2-oxoacetyl)]-1H-indole-4-acetate (0.5 g, 1.82 mmol) was dissolved in 2-methyltetrahydrofuran (30 ml), and the temperature was lowered to 0-5 °C. Lithium aluminum hydride (1 M in THF) (0.29 g, 7.3 ml, 4.0 eq., 7.29 mmol) was slowly added, and the mixture was reacted at room temperature for 0.5 hours until all intermediates were converted. The viscous yellow mixture was then heated to 90 °C and refluxed, and maintained at this temperature for at least 2 hours. After the reaction was completed, the mixture was cooled to 20-25 °C, and THF (15 ml) was slowly added to dilute the reaction mixture. Cool the reaction mixture to 0-5°C and slowly quench it with a tetrahydrofuran / water solution of 100:27 (v / v) (4.2 ml). Maintain the internal temperature at 0-5°C and stir for 0.5 hours. Typically, the reaction mixture will turn yellow to yellowish-green and produce gas. During quenching, ensure that any material adhering to the container walls is exposed to the quenching solvent. Add appropriate amounts of silica gel and anhydrous sodium sulfate to the reaction mixture. Adjust the temperature to 20-25°C. Prepare a DCM:MeOH (9:1) solution (10 ml) and add it to the reaction mixture. Stir at room temperature for 20 minutes without protection from light. Line a funnel with filter paper and 3-4 cm of diatomaceous earth. Filter the reaction mixture. Wash the filter cake with DCM:MeOH (90:10) (1.2 ml) and evaporate to dryness at a rotary evaporation temperature below 50°C. Heptane:ethyl acetate (1:1) (30 ml) was slurried and filtered to obtain a grayish-white solid. The solid was dried under vacuum for at least 30 minutes to obtain crude 3-[2-(dimethylamino)ethyl]-1H-indole-4-ol (60% yield, 223 mg).

[0112] d) Synthesis of 3-(2-(dimethylamino)ethyl)-3H-indole-4-ylphosphodiethyl(6)

[0113] In a 50 ml round-bottom flask, 3-[2-(dimethylamino)ethyl]-1H-indole-4-ol (1 g, 4.89 mmol) was dissolved in acetonitrile (10 ml). The mixture was kept at 0-5 °C. Diethyl cyanophosphate (0.86 g, 5.3 mmol) and triethylamine (0.495 g, 0.68 ml, 4.89 mmol) were added. A large amount of gas was produced. The mixture was kept at 45 °C and stirred for 0.5 hours. The reaction was confirmed by TLC. The solvent was evaporated to dryness, and the mixture was extracted with ethyl acetate (50 ml × 3). The extract was dried over anhydrous sodium sulfate, filtered, and evaporated to dryness to give a reddish-brown oily substance, 3-(2-(dimethylamino)ethyl)-3H-indole-4-yl phosphate diethyl (0.83 g, 50% yield).

[0114] e) Synthesis of seroxibin

[0115] In a 100ml three-necked flask under nitrogen protection, 19.06g (56.02mmol) of 3-(2-(dimethylamino)ethyl)-3H-indol-4-ylphosphodiesterephthaloside (250ml) was added to ethyl acetate (0-5℃). Trimethylbromosilane (50.44g, 43.5ml, 336.12mmol) was slowly added. The reaction was continued at room temperature for 41 hours, resulting in a clear orange-yellow solution. Water (5ml) was added at 0-5℃, and hydrolysis continued at room temperature for two hours. The solution gradually turned a dark red, clear color with a solid precipitate. Ethyl acetate and water were back-extracted (5ml), retaining the aqueous layer. This extraction was repeated three times, and 50ml of ethanol was added to the final extract. Boiling removes water twice, yielding a yellow, viscous oily substance. The pH is adjusted to 8 by adding 28 ml of amine-methyl at 0-5℃, followed by the addition of 60 ml of methanol / ethanol (1:2 v / v) and allowed to stand to precipitate. The pH is then adjusted to approximately 4-5 by adding 6 ml of hydrochloric acid / ethyl acetate, followed by the addition of 25 ml of isopropanol and reflux at 60℃ for 0.5 hours. The solid is filtered and retained. 25 ml of 25% methanol / isopropanol is added and refluxed at 90℃ for 0.5 hours. The supernatant is discarded, and the remaining solid is further treated by adding 12 ml of water / acetone (2:1 v / v to 1:1 v / v) and refluxing at 90℃ for 0.5 hours. After cooling, the mixture is retained at 4℃ overnight. Filtration yields 7.3 g of crude, pale yellow, needle-like crystals. Finally, the mixture is slurried with 9 ml of deionized water to obtain a white solid, which is then vacuum-dried for 24 hours to yield 6.47 g of white solid, for a total yield of 0.69 g (40.6%). The high-performance liquid chromatography (HPLC) purity is 97.9%.

[0116] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method of synthesizing psilocybin, as shown in the following Reaction Scheme A, comprising the steps of: Step 1) Using 4-acetoxyindole as the starting material, oxalyl chloride is acylated in a solvent under the action of an acid-binding agent to generate acyl chloride intermediate 3. Intermediate 3 is insoluble in diethyl ether and excess oxalyl chloride can be removed by three substitutions with n-heptane to obtain solid intermediate 3. Step 2) Under nitrogen protection, intermediate 3 is dissolved in THF, cooled to 0°C and maintained at that temperature, dimethylamine and pyridine are added, and the reaction continues until the starting material spot disappears. The mixture is then pulped and filtered to obtain intermediate 4. Step 3) Add lithium aluminum hydride to anhydrous 2-methyltetrahydrofuran. Under nitrogen protection, add dropwise the 2-methyltetrahydrofuran solution of intermediate 4. After the addition is complete, reflux the reaction until the starting material spot disappears. Then decompose the excess lithium aluminum hydride with saturated sulfuric acid aqueous solution. Stir and mix with dichloromethane / methanol mixture, filter to remove insoluble solids, remove solvent from the filtrate under reduced pressure to obtain crude intermediate 5. Then purify with n-heptane / ethyl acetate to obtain pure product. Step 4) Intermediate 5 is reacted with the reactants diethyl cyanophosphate, dimethyl cyanophosphate, or triethyl phosphate / phosphorus pentoxide in an aprotic solvent to obtain intermediate 16. Step 5) Intermediate 16 is reacted with a Lewis acid trialkyl halosilane in a polar aprotic solvent to remove the ethyl group, yielding intermediate 18. Step 6) Intermediate 18 does not require purification; it is directly hydrolyzed with water to obtain crude serocepin.

2. The synthesis method according to claim 1, characterized in that, Preferably, the reaction in step 1) is maintained under anhydrous and oxygen-free conditions, and the temperature is controlled at 0-5℃; Preferably, the solvent in step 1) is selected from methyl tert-butyl ether (MTBE), dichloromethane (DCM), isopropanol, and diethyl ether, and more preferably methyl tert-butyl ether (MTBE); Preferably, the acid-binding agent in step 1) is selected from diisopropylethylamine, pyridine (Py), K2CO3, triethylamine (TEA), dicycloamidinium (DBU), and dimethylaminopyridine (DMAP); Preferably, steps 1) and 2) are carried out continuously in a single pot. Preferably, the molar ratio of oxalyl chloride in step 1) to dimethylamine in step 2) is 1:1 to 8:1, more preferably 2:1 to 6:1, and even more preferably 2:1 to 4.5:1, for example, 2:1, 3:1, 5:1.2, or 6:1.

5.

3. The synthesis method according to claim 1, characterized in that, Preferably, the molar ratio of lithium aluminum hydride to intermediate 4 in step 3) is 1:1 to 6:1, more preferably 1.5:1 to 5:1, and even more preferably 1.5 to 4:

1. For example, it can be 1.5:1, 2:1, 2.5:1, 3:1, or 4:

1.

4. The synthesis method according to claim 1, characterized in that, Preferably, the reactant in step 4) is diethyl cyanophosphate; Preferably, the aprotic solvent in step 4) is selected from ethyl acetate and dichloromethane; Preferably, the reaction temperature in step 4) is -5 to 45°C, more preferably 0°C to room temperature; Preferably, the reaction time in step 4) is 0.5 to 24 hours, more preferably 0.5 to 12 hours.

5. The synthesis method according to claim 1, characterized in that, Preferably, the polar aprotic solvent in step 5) is selected from ethyl acetate, propyl acetate, isopropyl acetate, butyl acetate, acetonitrile, dichloromethane, chloroform, dioxane, tetrahydrofuran, amyl acetate, ethyl propionate, isopropyl ether, etc., and is preferably ethyl acetate or acetonitrile. Preferably, the Lewis acid trialkyl halosilane mentioned in step 5) is selected from trimethyliodosilane, trimethylbromosilane and trimethylchlorosilane, (dichloromethyl)dimethylchlorosilane, tert-butyldimethylchlorosilane, isopropyldimethylchlorosilane, dimethylethylchlorosilane, (dichloromethyl)dimethylbromosilane, tert-butyldimethylbromosilane, isopropyldimethylbromosilane, dimethylethylbromosilane, etc., and more preferably trimethylbromosilane or trimethylchlorosilane; Preferably, the reaction temperature in step 5) is -10 to 45°C; Preferably, the reaction time in step 5) is 0.5-8 hours.

6. The method of synthesis of claim 1, wherein, The crude serocepin described in step 6) was further recrystallized from acetone / water to obtain the pure product.