Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Releases: holochain/holochain-rust

holochain-cmd-v0.0.2

28 Nov 20:05
705398d
Compare
Choose a tag to compare

Readme for 0.0.2 Developer Preview release

Which Binary?

You only need to download the binary for your operating system... if you are on

  • MacOS use holochain-cmd-v0.0.2-x86_64-apple-darwin.tar.gz
  • Linux use holochain-cmd-v0.0.2-x86_64-unknown-linux-gnu.tar.gz
  • Windows
    • mingw build system: holochain-cmd-v0.0.2-x86_64-pc-windows-gnu.tar.gz
    • visual studio build system: holochain-cmd-v0.0.2-x86_64-pc-windows-msvc.tar.gz

Note that these binaries only work for 64 bit computers and operating systems, 32 bit systems will need to build from source.

Overview

In this is second developer preview release we crossed two major milestones:

  • You can create multi-instance scenario tests because we now have a mock network connector for instances to connect through.
  • With its new run command, the hc command-line tool now enables attaching a running DNA to a websockets based interface so you can connect it to UI. You can try this out using our new rust demonstration version of holochat-rust!

Simultaneous with this release we also deployed our new developer portal which includes a substantially updated developer guide.

Installation

This release consists of binary builds of the hc command-line tool for different platforms. To install simply download and extract the binary for you platform.

Note that for hc to build and test DNA for you will also need to make sure you have both Rust and nodejs installed:

  • Rust
    • needs to be the nightly build, so use the following commands, once you have first installed Rust
    • rustup toolchain install nightly
    • rustup default nightly
    • Also, if you are going to be developing Zomes in Rust, install the WASM build target for Rust, by running:
    • rustup target add wasm32-unknown-unknown --toolchain nightly
  • Node.js version 8 or higher

holochain-nodejs0.1.22

22 Nov 18:14
Compare
Choose a tag to compare

Please see the README for an explanation of how usage of this library had a small change in this version:
https://www.npmjs.com/package/@holochain/holochain-nodejs/v/0.1.22#usage