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

hubot-openassets

Package Overview
Dependencies
Maintainers
1
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.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
Maintainers
1
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 addressbook 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

Commands

KeyDescription
addressbook add ...
addressbook delete ...
addressbook list...
show ...
list...
send [amount] to ...
++...

Keywords

FAQs

Package last updated on 22 Jan 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