UNPKG

@windingtree/wt-write-api

Version:

API to write data to the Winding Tree platform

30 lines (28 loc) 641 B
const winston = require('winston'); const knex = require('knex'); module.exports = { port: 8100, entrypointAddress: '0xdummy', ethNetwork: 'test', swarm: { provider: 'http://localhost:8500', }, ethereumProvider: 'http://localhost:8645', db: knex({ client: 'sqlite3', connection: { filename: './.test.sqlite', }, useNullAsDefault: true, }), allowedUploaders: ['s3', 'swarm', 'inMemory'], logger: winston.createLogger({ level: 'warn', transports: [ new winston.transports.Console({ format: winston.format.simple(), stderrLevels: ['error'], }), ], }), };