| 
						
						
						
					 | 
					@ -1,8 +1,9 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					const path = require('path'); | 
					 | 
					 | 
					const path = require('path'); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					const defaults = require('./constants/config/defaults'); | 
					 | 
					 | 
					const defaults = require('./constants/config/defaults'); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					const { CHAIN_HOST } = process.env; | 
					 | 
					 | 
					const { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					const { CHAIN_PORT } = process.env; | 
					 | 
					 | 
					  DEVELOP_CHAIN_HOST, DEVELOP_CHAIN_PORT, TEST_CHAIN_HOST, TEST_CHAIN_PORT, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					} = process.env; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					module.exports = { | 
					 | 
					 | 
					module.exports = { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  // See <http://truffleframework.com/docs/advanced/configuration>
 | 
					 | 
					 | 
					  // See <http://truffleframework.com/docs/advanced/configuration>
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -15,13 +16,13 @@ module.exports = { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  contracts_build_directory: path.join(__dirname, 'build/'), | 
					 | 
					 | 
					  contracts_build_directory: path.join(__dirname, 'build/'), | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  networks: { | 
					 | 
					 | 
					  networks: { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    develop: { | 
					 | 
					 | 
					    develop: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					      host: CHAIN_HOST || defaults.develop.chainHost, | 
					 | 
					 | 
					      host: DEVELOP_CHAIN_HOST || defaults.develop.chainHost, | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					      port: CHAIN_PORT || defaults.develop.chainPort, | 
					 | 
					 | 
					      port: DEVELOP_CHAIN_PORT || defaults.develop.chainPort, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					      network_id: '*', | 
					 | 
					 | 
					      network_id: '*', | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    }, | 
					 | 
					 | 
					    }, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    test: { | 
					 | 
					 | 
					    test: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					      host: CHAIN_HOST || defaults.test.chainHost, | 
					 | 
					 | 
					      host: TEST_CHAIN_HOST || defaults.test.chainHost, | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					      port: CHAIN_PORT || defaults.test.chainPort, | 
					 | 
					 | 
					      port: TEST_CHAIN_PORT || defaults.test.chainPort, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					      network_id: '*', | 
					 | 
					 | 
					      network_id: '*', | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    }, | 
					 | 
					 | 
					    }, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  }, | 
					 | 
					 | 
					  }, | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |