How to use the truffle.config function in truffle

To help you get started, we’ve selected a few truffle examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github smartcontractkit / LinkToken / full_suite.js View on Github external
{balance: '0xffffffffffffffffffffffffffffffff', secretKey: '0xf000000000000000000000000000000000000000000000000000000000000005'},
    {balance: '0xffffffffffffffffffffffffffffffff', secretKey: '0xf000000000000000000000000000000000000000000000000000000000000006'},
    {balance: '0xffffffffffffffffffffffffffffffff', secretKey: '0xf000000000000000000000000000000000000000000000000000000000000007'},
    {balance: '0xffffffffffffffffffffffffffffffff', secretKey: '0xf000000000000000000000000000000000000000000000000000000000000008'},
    {balance: '0xffffffffffffffffffffffffffffffff', secretKey: '0xf000000000000000000000000000000000000000000000000000000000000009'},
    {balance: '0xffffffffffffffffffffffffffffffff', secretKey: '0xf00000000000000000000000000000000000000000000000000000000000000a'},
    {balance: '0xffffffffffffffffffffffffffffffff', secretKey: '0xf00000000000000000000000000000000000000000000000000000000000000b'},
    {balance: '0xffffffffffffffffffffffffffffffff', secretKey: '0xf00000000000000000000000000000000000000000000000000000000000000c'},
  ],
  // gasLimit: 100000000000,
  logger: { log: () => {} }
  // logger: console
});
global.provider = server.provider;

var config = Truffle.config.detect({
  test_files: [
    'test/TokenSale_spec.js',
    'test/SmartOracle_spec.js',
  ],
  provider: provider
})

server.listen(6323, () => {
  Truffle.test.run(config, process.exit);
});

truffle

Truffle - Simple development framework for Ethereum

MIT
Latest version published 1 year ago

Package Health Score

55 / 100
Full package analysis