Smart Contracts SDK
Learn how to use the ZP Smart Contract SDK to write, compile and test smart contracts in the ZF* language.
Zen-SDK Repo -> https://github.com/zenprotocol/ZFS-SDK
Installation
From Source
You will need to have mono installed. Instructions for your OS can be found here. For Linux, you will need either the mono-devel or mono-complete package. Do not install mono from your package manager - follow the instructions on the mono website.
Linux
Clone this repo
Run the following commands. Note that this could take a few minutes.
cd ZFS-SDK./paket restore./build.sh
OSX
Clone this repo
Run the following commands. Note that this could take a few minutes.
cd ZFS-SDKmono paket restore./build.sh
From NPM
OSX
Install mono-devel. If you choose to install via a package manager, add Mono's own repository first.
Recommended to install using NVM
Recommended to install Node LTS
nvm install 8.9.4
Windows
Install .NET Framework 4.7.
Install Nodejs (LTS version recommended)
Open the Command Prompt
Linux
Install mono-devel. If you choose to install via a package manager, add Mono's own repository first.
Install Nodejs (Version >= 6)
Recommended to install using NVM
Recommended to install Node LTS (8.9.4)
nvm install --lts
Point your npm directory to our repository
Run the following commands in the Terminal / Command Prompt:
Installing / Updating
Run the following commands in the Terminal / Command Prompt:
Usage
create
elaborate
verify
extract
compile
pack
generate-fsx
run-fsx
contractid
acost
info
Last updated