2018-03-22 16:00:55 +00:00

1.3 KiB

Welcome to the Deployer documentation! Deployer is a tool for compiling and deploying Solidity smart contracts with ease.

It serves a similar purpose as parts of the Truffle framework, but with the UNIX philosophy in mind: Make each program do one thing well. This tool is for intermediate to advanced Solidity developers that require greater configurability and reliability.

Deployer has the following advantages over Truffle:

  • Deploy each smart contract with a specific version of Solidity.
  • Improved artifact files:
    • Properly segregated artifacts to support storing different versions of smart contract deployed on different networks.
    • Storage of constructor args, source maps and paths to all requisite source files.
    • An easy to maintain codebase: TypeScript + Single repo.
    • Allows you to specify the deployer RPC address.
    • Supports Solidity version ranges - contract compiled with latest Solidity version that satisfies the range.
    • Migrations that work with async/await.
    • Migrations that can be written synchronously in order to guarentee deterministic contract addresses.
    • No race conditions when running migrations.

Deployer can be used as a command-line tool or as an imported module.