2024-03-19 22:22:36 -05:00
|
|
|
require('dotenv').config();
|
2024-04-23 15:57:15 -05:00
|
|
|
|
2024-04-27 15:59:36 -05:00
|
|
|
const api = require('./api');
|
|
|
|
const matrixBot = require('./matrix-bot');
|
|
|
|
const contractListeners = require('./contract-listeners');
|
|
|
|
|
|
|
|
api.start();
|
|
|
|
|
|
|
|
if (process.env.ENABLE_MATRIX !== 'false') {
|
|
|
|
matrixBot.start();
|
|
|
|
}
|
|
|
|
|
|
|
|
contractListeners.start();
|