Skip to content

xloem/siaskynetpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

siaskynetpp

A C++ interface to Sia Skynet, which is an interface to a strong decentralized file storage economy. See https://siasky.net .

Usage

The interface is simple. See example code.

To use this library without requiring its installation, include it as a submodule:

$ git submodule add git@github.com:xloem/siaskynetpp siaskynetpp
$ git submodule update --init --recursive

Then you can include it in a CMakeLists.txt that's anything like this:

cmake_minimum_required (VERSION 3.10)

add_subdirectory (siaskynetpp)

link_libraries (${SIASKYNETPP_LIBRARIES})
include_directories (${SIASKYNETPP_INCLUDE_DIRS})

add_executable (example example.cpp)

To build your project with cmake:

$ mkdir build
$ cd build
$ cmake ..
$ make
$ ./example

About

A C++ interface to Sia Skynet.

Resources

Stars

Watchers

Forks

Packages

No packages published