0.0
Low commit activity in last 3 years
No release in over a year
Ruby gem for integrating Sia Skynet into Ruby apps
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 13.0
~> 6.2
~> 3.9
~> 0.80.1
~> 2.2, >= 2.2.21

Runtime

~> 0.18.0
 Project Readme

Skynet gem

Gem Version

Library for integrating Skynet into Ruby applications

Getting started

Gem

gem install ruby-skynet

Bundle

bundle add ruby-skynet

Gemfile

gem 'ruby-skynet', '~> 1.3'

Examples

require 'skynet'

# Upload
upload = Skynet.upload_file('src.jpg')
puts upload
#=> Upload successful, skylink: ABC123

# Download
download = Skynet.download_file("test/src.jpg", skylink)
puts download
#=> Download successful!

For more see examples.md