This section provides guidance on how to install
cyberway.cdt tools on your server.
The CyberWay Contract Development Toolkit (CyberWay CDT) is based on EOSIO CDT and is a collection of tools related to contract compilation. CyberWay CDT is primarily used for compiling contracts and generating ABI.
It is recommended to build and debug contracts on a specific server. Therefore, the server where CDT is installed, must meet the following characteristics (or above):
RAM size (a min. of): 8 GB
disk space (a min. of): 20 GB
One of the following operating systems must also be installed on the server:
MacOS Darwin 10.12 (or later versions)
Fedora 25 (or later versions)
If you have previously installed CyberWay.CDT, run the
uninstall.sh script (it is in the root of CyberWay.CDT repository) before downloading and using the binary releases.
cyberway.cdt requires you to perform the following actions:
1. Cloning the
cyberway.cdt repository to your server
2. Building binaries
3. Tools installation
The last two actions are performed by scripts
install.sh located in the root of
cyberway.cdt. These scripts are universal and designed for all operating systems supported by the CyberWay platform.
The location where
cyberway.cdt is cloned is not that important because
cyberway.cdt will be installing as a local binary in later steps. You can clone
cyberway.cdt to "contracts" directory previously created or to any other location on your local system that is fit.
$ cd CONTRACTS_DIR$ git clone --recursive https://github.com/cyberway/cyberway.cdt
$ cd cyberway.cdt$ ./build.sh
$ sudo ./install.sh
The following tools will be installed to your local machine:
$ cd cyberway.cdt$ sudo ./uninstall.sh
uninstall.sh scripts need to be ran with
sudo because various binaries of
cyberway.cdt will be installed locally. It needs to be typed computer's account password.
cyberway.cdt will make the compiled binary global, therefore it can be accessable anywhere. For this tutorial, it is strongly suggested that you do not skip the install step for
cyberway.cdt, failing to install will make it more difficult to follow this and other tutorials and make usage more difficult in general.