Quarterly report pursuant to Section 13 or 15(d)

Convertible Debt - Related Party (Detail Textuals)

v3.19.2
Convertible Debt - Related Party (Detail Textuals) - USD ($)
6 Months Ended
Nov. 01, 2018
Oct. 05, 2018
Jun. 30, 2019
Jun. 30, 2018
Dec. 31, 2018
Dec. 31, 2017
Debt Instrument [Line Items]            
Derivative liability     $ 11,178,925 $ 10,091,839 $ 15,958,366 $ 823,037
Fair value of derivative liabilities in excess of proceeds     322,644 7,174,634    
Multi-Draw Credit Agreement            
Debt Instrument [Line Items]            
Warrants $ 2,000,000   $ 2,000,000      
Number of warrant issued 2,500,000   5,000,000      
Beneficial conversion feature $ 90,080   $ 1,584,850      
Derivative liability 204,102   516,058      
Carrying value of the equity component     4,350,000      
Allocation of debt on the basis of relative fair value 1,684,920   716,110      
Allocation of warrant on the basis of relative fair value $ 315,080   3,283,890      
Convertible multi-draw credit agreement issuance costs     $ 63,007      
Unamortized debt discount period     3 years 3 months 7 days      
Aggregate Principal Amount     $ 4,000,000      
Emerald Financing            
Debt Instrument [Line Items]            
Derivative liability     10,363,484 $ 9,610,563 $ 15,251,413 $ 0
Emerald Financing | Multi-Draw Credit Agreement            
Debt Instrument [Line Items]            
Maximum amount that can be borrowed over the life of the credit facility   $ 20,000,000        
The annual stated interest rate on the debt instrument   7.00%        
Maturity date   Oct. 05, 2022        
Conversion price   $ 0.40        
Unused portion of the credit facility     $ 14,000,000      
Warrant exercise price   $ 0.50        
Warrant coverage on the debt facility   50.00%