0.9.0 • Published 8 years ago

hubot-openassets v0.9.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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.
0.9.0

8 years ago

0.8.2

8 years ago

0.8.1

8 years ago

0.8.0

8 years ago

0.7.1

8 years ago

0.7.0

8 years ago

0.5.1

8 years ago

0.5.0

8 years ago

0.4.3

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago