SolitudeConfiguration

type object
properties
  • Project.Name
Your project’s name
type string
default MyProject
  • Project.SourceDir
Directories where the contract source files are located
type string
default ./contracts
  • Project.ObjectDir
Directory where the (compiled) contract objects are located
type string
default ./build/contracts
  • Tools.Directory
Path to the directory where the downloaded tools will be installed
type string
default ~/.solitude-dev
  • Tools.Solc.Version
solc (Compiler) required version
type string
default 0.5.2
  • Tools.GanacheCli.Version
ganache-cli (Server) required version
type string
default 6.4.1
  • Tools.EthLint.Version
ethlint (Linter) required version
type string
default 1.2.4
  • Tools.Required
List of tools required by your project
type array
default [‘Solc’, ‘GanacheCli’]
items
type string
enum Solc, GanacheCli, EthLint
  • Server.Host
Host on which to start the server
type string
default 127.0.0.1
  • Server.Port
Port on which the server is started
type number
default 8545
  • Server.Accounts
Initial accounts and balances for the server
type array
default [‘0xedf206987be3a32111f16c0807c9055e2b8b8fc84f42768015cb7f8471137890, 100 eth’, ‘0x0ca1573d73a070cfa5c48ddaf000b9480e94805f96a79ffa2d5bc6cc3288a92d, 100 eth’, ‘0x2688eabfae4637b73752d342991579500f231c72d52dd22b29bf018c0df4bdb7, 100 eth’, ‘0x4a4dfe519c6182638d18c75523a95ed55a938426d5e80ac55a39ed83f9e4c5fd, 100 eth’, ‘0x60fae350e15bdfdc227fc0616dbe26acb5f05d65d469a811383926a675940237, 100 eth’, ‘0x9085677b64cb52d4b36058be795cb315722a361fb78b042a02600bcb2b3f2ce1, 100 eth’, ‘0x372f46eae3eb91865809a90339acea1697555021d583dceb7dd05a635de7514d, 100 eth’, ‘0x48d73da350f98b1b16ede5fab0078c1ee2c3525483d5365626b4ba3d798686cb, 100 eth’, ‘0x669fd08dd8760b47b368153b2d8483c08295a0fa2853684746bf84ea533a611c, 100 eth’, ‘0x6d3f46df88ffbaf2c7c5a9567f6c26414fa205ae6ca27312a656115a71dfc9f4, 100 eth’]
items
type string
  • Server.BlockTime
If not null, enable automatic mining with BlockTime interval, in seconds
anyOf
type number
type null
  • Server.GasPrice
Price of gas for the server
type integer
default 20000000000
  • Server.GasLimit
Gas limit for the server
type integer
default 6721975
  • Client.Endpoint
Endpoint to which the RPC client should connect to
type string
default http://127.0.0.1:8545
  • Client.GasPrice
Default gas price for transactions
anyOf
type integer
type null
  • Client.GasLimit
Default gas limit for the transactions
anyOf
type integer
type null
  • Compiler.Optimize
Solidity compiler optimize runs, or null for no optimization
anyOf
type integer
type null
  • Linter.Plugins
List of plugins for ethlint linter
type array
default [‘security’]
items
type string
  • Linter.Rules
Rules (configuration) for ethlint linter
type object
default OrderedDict([(‘quotes’, [‘error’, ‘double’]), (‘indentation’, [‘error’, 4])])
  • Testing.RunServer
Run a server instance on creation of the testing context
type boolean
default True
  • Testing.PortRange
Port range that can be used by the tests
type array
default [8600, 8700]
items
type integer
maximum 65535
minimum 1
maxItems 2
minItems 2
additionalProperties False