caelum0x 2b68bde5d5 Predikt: full Polymarket-style prediction market — web + mobile + on-chain + bots
Working tree is now the canonical repo. Off-chain play-money + trustless on-chain
(FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution,
mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-06 23:29:50 +03:00

74 lines
1.6 KiB
JavaScript

require("chai/register-should");
require('mocha-steps')
const config = {
networks: {
mainnet: {
host: "localhost",
port: 8545,
network_id: "1",
},
ropsten: {
host: "localhost",
port: 8545,
network_id: "3",
},
kovan: {
host: "localhost",
port: 8545,
network_id: "42",
},
rinkeby: {
host: "localhost",
port: 8545,
network_id: "4",
},
goerli: {
host: "localhost",
port: 8545,
network_id: "5",
},
develop: {
host: "localhost",
port: 8545,
network_id: "*",
},
},
mocha: {
enableTimeouts: false,
grep: process.env.TEST_GREP,
reporter: "eth-gas-reporter",
reporterOptions: {
currency: "USD",
excludeContracts: ["Migrations"]
}
},
compilers: {
solc: {
version: "0.5.10",
settings: {
optimizer: {
enabled: true
}
}
}
}
}
const _ = require('lodash')
try {
_.merge(config, require('./truffle-local'))
}
catch(e) {
if(e.code === 'MODULE_NOT_FOUND') {
// eslint-disable-next-line no-console
console.log('No local truffle config found. Using all defaults...')
} else {
// eslint-disable-next-line no-console
console.warn('Tried processing local config but got error:', e)
}
}
module.exports = config