Skip to content

automaton-network/automaton-core

Repository files navigation

All Contributors

Build Status

Automaton Core:

Automaton Core

Smart Contract:

Smart Contract

Core Modules C++ Coverage:

Coverage Status

Nightly Build:

Nightly Build

Table of Contents

License

Automaton Core is licensed under the MIT License.

Check the LICENSE file for more details.

🚨 HIGHLY EXPERIMENTAL! USE AT YOUR OWN RISK!

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Building Automaton

Linux

At the moment Ubuntu is the only known Linux distro compatible with Automaton.

Prerequisites

sudo apt-get install build-essential git curl cmake autotools-dev autoconf autogen automake libtool
  • Git
  • curl
  • CMake
  • g++
  • autotools
  • libtool

Build instructions

From the automaton repo:

cd src
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../local_third_party
make
make install

make install is necessary in order to setup libraries for projects using core (such as the Automaton Playground)

Windows

Prerequisites

Build instructions

IMPORTANT FOR WINDOWS Sync the repos into a root path that's not too long, otherwise boost filenames might become unaccessible! e.g. c:\dev, instead of somehting really long like c:\Development Projects\Github Repositories\External Projects\

Start the "x64 Native Tools Command Prompt for VS 2019"

From the automaton repo folder:

WARNING! Make sure to use latest CMake, we've been having issues with CMake older than 3.17!!!

cmake -version

create build folder for CMake

cd src
mkdir build
cd build

Build DEBUG or RELEASE:

DEBUG full build (including third party libraries)

cmake .. -DCMAKE_BUILD_TYPE=Debug -A x64 -Dautomaton_STATIC_RUNTIME=ON -DCMAKE_INSTALL_PREFIX=../local_third_party -Dautomaton_BUILD_DEPENDENCIES=ON
msbuild /t:Build INSTALL.vcxproj /p:Configuration=Debug /p:Platform=x64

RELEASE full build (including third party libraries)

cmake .. -DCMAKE_BUILD_TYPE=Release -A x64 -Dautomaton_STATIC_RUNTIME=ON -DCMAKE_INSTALL_PREFIX=../local_third_party -Dautomaton_BUILD_DEPENDENCIES=ON
msbuild /t:Build INSTALL.vcxproj /p:Configuration=Release /p:Platform=x64

This will build and install necessary libraries for projects using core (such as the Automaton Playground)

Getting Started

COMING SOON!

We're getting our step-by-step tutorials ready.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Asen Kovachev

πŸ’» πŸ‘€ πŸ“† πŸ’Ό πŸ–‹ πŸ’΅ πŸ€” πŸš‡ πŸ“¦ πŸ“’ 🎨

ElCampeon

πŸ’Ό πŸ€” πŸ–‹ πŸ’΅ 🎨 πŸ”

karonka

πŸ’»

Samir Muradov

πŸ’»

zorancvetkov

πŸ€”

Richard Wild

🎨 πŸ€” πŸ–‹

MartinPenkov

πŸ’»

sept-en

πŸ’»

vitalyster

πŸš‡

todddorov

🎨

This project follows the all-contributors specification. Contributions of any kind welcome!