Project

krang

0.0
No commit activity in last 3 years
No release in over 3 years
That frames your work.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

~> 1.11
>= 2.1.0, ~> 2.1
= 5.10.3
>= 0.6.4, ~> 0.6
>= 1.0.0, ~> 1.0
>= 0.10.4, ~> 0.10
>= 12.0.0, ~> 12.0
>= 0.15.1, ~> 0.15
>= 3.0.3, ~> 3.0
>= 3.1.0, ~> 3.1
>= 0.9.9, ~> 0.9

Runtime

>= 1.8.0, ~> 1.8
= 0.4.2pre1
 Project Readme

krang

Krang is a bot framework for STEEM.


This framework will make it easier to write bots on the STEEM blockchain.


Install

To use this Radiator framework:

I've tested it on various versions of ruby. The oldest one I got it to work was:

ruby 2.0.0p645 (2015-04-13 revision 50299) [x86_64-darwin14.4.0]

In your Gemfile, add:

gem 'krang'

In your app, create a class:

require 'rubygems'
require 'bundler/setup'

Bundler.require

module MyBot
  include Krang
  
  extend self
  
  app_key :my_bot
end

puts MyBot.find_comment('inertia', 'macintosh-napintosh')
Configure

Edit the config.yml file.

:my_bot:
  :block_mode: irreversible

:chain_options:
  :chain: steem
  :url: https://steemd.steemit.com

Projects Using Krang ...

  • Freakazoid
  • Catfacts
  • Dr. Otto

Tests

  • Clone the client repository into a directory of your choice:
    • git clone https://github.com/inertia186/krang.git
  • Navigate into the new folder
    • cd krang
  • Basic tests can be invoked as follows:
    • rake
  • To run tests with parallelization and local code coverage:
    • HELL_ENABLED=true rake

Get in touch!

If you're using Krang, I'd love to hear from you. Drop me a line and tell me what you think! I'm @inertia on STEEM and Discord.

License

I don't believe in intellectual "property". If you do, consider Krang as licensed under a Creative Commons CC0 License.