EOSFactory Release Notes - v2.1

Compatibility

EOSFactory v2.1 is compatible with EOS v1.3.x.

Features available in previous releases

  • Launch a single-node private testnet and fully control it: stop it and then continue running it or completely reset it.
  • Initialize a testnet with the bios contract and several test accounts (available as sess.alice, sess.bob and sess.carol).
  • Create additional test accounts (their keys are automatically imported into the wallet).
  • Manage the wallet (locking, unlocking etc).
  • Have an easy access to demo contracts stored in the contracts folder of the EOSIO source code (you can instantiate them in EOSFactory by passing their folder name in the Contract class constructor).
  • Compile a contract, both ABI & WAST (but please note that the ABI compiler has an experimental status in EOSIO repository).
  • Create a new contract from a pre-defined template (this includes the creation of its CMake files).
  • Deploy a contract (the account holding the contract is created behind the scenes).
  • Interact with a contract by pushing actions to it.
  • Extract data from a contract’s table.
  • Integration with Python UnitTest standard library.
  • User-defined workspace for smart-contract storage.
  • Support for debugging via logger output containing file name & line number.
  • Preliminary code verification with CLANG.
  • Visual Studio Code integration, including CMake builds and automated tasks.
  • Color differentiation in console output.
  • Support for keosd, the official wallet management tool.
  • Full compatibility with production version of EOS (v1.2.0 or higher).
  • Seamless integration with public testnets (e.g. Jungle Testnet or Kylin Testnet).
  • The entire wallet management migrated to keosd, as for security reasons this feature is no longer supported by nodeos.
  • Radically improved mechanism for mapping random account names to human-friendly aliases, including symbolic translation of EOS logger messages.
  • New mechanism for caching public testnet settings.
  • Developer API reduced to less than 20 basic commands and classes.
  • Radially improved logger messaging, including highly customizable verbosity.

New features available in v2.1

  • Local testnet running in a headless mode (this allows you to run EOSFactory in a GUI-less environment, e.g. Ubuntu Server, or via SSH).
  • All functionality ported to Python, no need to compile any C++ code.
  • Precise error catching in unit tests, utilizing Python’s assertRaises(Error) feature.
  • Improved folder structure within Python modules.
  • Simplified syntax for logger management.