Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hubot-openassets

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-openassets

Hubot script for managing and sending assets based on the Open Assets protocol

  • 0.9.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

Hubot Open Assets

A hubot script for managing and sending assets based on the Open Assets protocol. Initially written for easily sending Kosmos Kredits to contributors of the Kosmos open source project.

The script contains addressbook functionality so you can send assets to a nickname instead of an address. For example, after adding an entry via kredits address add derbumi akDWac1wFCFtaF2omEZ5KLTPMMPS4C5s89H you can send kredits to that user using a simple kredits send 100 to derbumi.

Listing/showing assets and balances works without an additional server. Sending kredits is done via a Ruby/Rack app called openassets-sinatra, which is running together with bitcoind on a server.

Configuration

KeyDescription
OA_BOT_KEYWORDThe keyword for issuing asset commands. Usually the asset name in lowercase, e.g. "kredits"
OA_ASSET_IDID of the asset to be transferred
OA_ASSET_FROM_ADDRESSSender's wallet open asset address
OA_DEFAULT_QUANTITYQuantity of assets that should be sent if not provided by the user
OA_SERVER_URLURL of the open assets server that does the actual transfer
OA_SERVER_USERNAMEUsername for server basic auth
OA_SERVER_PASSWORDPassword for server basic auth
OA_MAX_QUANTITY (optional)Maximum quantity of assets that can be transferred
OA_PLUSPLUS_ROOMS (optional)comma seperated list of rooms that should have the ++ send feature enabled. (note: include the # for IRC)

Commands

KeyDescription
<keyword> address add <name> <address>...
<keyword> address delete <name>...
<keyword> address list...
<keyword> show <name>...
<keyword> list...
<keyword> send [amount] to <name>...
<name>++Send the default amount to <name>. Disabled by default, see OA_PLUSPLUS_ROOMS config.

Keywords

FAQs

Package last updated on 20 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc