Code Monkey home page Code Monkey logo

zfs-sdk's Introduction

Zen Protocol

Build

Linux

  1. Install mono-devel from http://www.mono-project.com/download. If you choose to install via a package manager, add Mono's own repository first.
  2. Install lmdb. The package name is liblmdb0 on Ubuntu and lmdb on Fedora.
  3. Run the following:
./paket restore
chmod +x packages/zen_z3_linux/output/z3-linux 
msbuild src

OSX

  1. Install Mono as in step 1 of the instructions for Linux.
  2. Install lmdb. You can get it via brew with brew install lmdb.
  3. Run the following:
./paket restore
chmod +x packages/zen_z3_osx/output/z3-osx
msbuild src

Windows

Windows is not yet supported

Run

Linux and OSX

cd src/Node/bin/Debug
./zen-node

Windows

cd src\Node\bin\Debug
zen-node.exe

CLI

You can communicate with the node with zen-cli. Enter the bin directory of the node (src/Node/bin/Debug) and run:

Linux and OSX

./zen-cli --help

License

This software is available under the Zen Protocol Software License, which may be viewed at LICENSE.md.

zfs-sdk's People

Contributors

a-manning avatar arielzenprotocol avatar cremba avatar sharonu avatar somdoron avatar thehogfather avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

zfs-sdk's Issues

Running build.sh returns Project file does not exist

In ubuntu and OSX, attempting to run build.sh after running ./paket install returns the following error

MSBUILD : error MSB1009: Project file does not exist.
Switch: ZFS-SDK.sln
...

due to misconfigured paths in the build.sh file

Note that this is running the project without Visual Studio

Zebra doesn't display stderr prints

Whenever a script (tested with .fsx files) prints to stderr (as with eprintfn) zebra swallows the output instead of sending it to stderr.

Paket doesn't install LightningDB

Paket failed with
-> Package LightningDB was referenced in /home/elan/programming/apps/zen/ZFS-SDK/paket-files/gitlab.com/zenprotocol/zenprotocol/src/DataAccess/DataAccess.fsproj, but it was not found in the paket.lock file in group Main.

Paket install fails.

On ./paket install:

Paket omitted 2 warnings similar to the ones above. You can see them in verbose mode.
Paket failed with
-> There was a version conflict during package resolution.
Resolved packages:
- zen_z3_windows 4.5.1.7-v1f29cebd4df
Conflict detected:
- Dependencies file requested package Infrastructure: 0.3.23
- Available versions:
- (0.3.23, [https://www.myget.org/f/zenprotocol])
- (1.0.0.3, [https://www.nuget.org/api/v2])
- (1.0.0.2, [https://www.nuget.org/api/v2])
- (1.0.0.1, [https://www.nuget.org/api/v2])

 Please try to relax some conditions or resolve the conflict manually (see http://fsprojects.github.io/Paket/nuget-dependencies.html#Use-exactly-this-version-constraint).

-> Unable to retrieve package details for 'Infrastructure'-0.3.23
-> Couldn't get package details for package Infrastructure 0.3.23 on https://www.myget.org/f/zenprotocol.
-> error
-> Could not retrieve data from 'https://www.myget.org/f/zenprotocol/Packages(Id='infrastructure',Version='0.3.23')'
-> RequestFailedException: Request to 'https://www.myget.org/f/zenprotocol/Packages(Id='infrastructure',Version='0.3.23')' failed with: 404 NotFound โ€”
-> RequestFailedException: Request to 'https://www.myget.org/f/zenprotocol/Packages(Id='infrastructure',Version='0.3.23')' failed with: 404 NotFound โ€” <m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><m:code /><m:message xml:lang="en-US">Resource not found for the segment 'Packages'.</m:message></m:error>

Incorrect README installation instruction for OSX

The installation instruction in the README for OSX is not correct. It should be exactly the same as the Linux section.

Attempting to run the command suggested mono paket install returns an error Cannot open assembly 'paket': File does not contain a valid CIL image.. Running ./paket install is however okay.

Running build.sh returns No such file or directory

This follows on from #7 (once that is addressed) the process throws up two more errors saying

...
chmod: packages/zen_z3_linux/output/z3: No such file or directory
chmod: packages/zen_z3_osx/output/z3: No such file or directory

It appears the files are generated with a slightly different name in reality? i.e.,
packages/zen_z3_linux/output/z3-linux and packages/zen_z3_osx/output/z3-osx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.