DogeRPC — A dogecoind RPC service

This module provides a service called dogerpc for interacting with dogecoind.

Note

This module requires installation of some optional dependencies:

  • bitcoinrpc

A dogecoin daemon is required to use this module. It must be configured to allow RPC connections.

Class Reference

class pyircbot.modules.DogeRPC.DogeController(master)[source]

Bases: object

RPC instance control class

connect()[source]

Connect to RPC endpoint

ping()[source]

Test connection and re-establish if necessary

class pyircbot.modules.DogeRPC.DogeRPC(bot, moduleName)[source]

Bases: pyircbot.modulebase.ModuleBase

canMove(fromAcct, toAcct, amount)[source]

True or false if fromAcct can afford to give toAcct an amount of coins

getAcctAddr(acct)[source]

Returns the address for an account. creates if necessary

getAcctBal(acct)[source]

Returns an account’s balance

getBal(acct)[source]

Get a balance of a local address or an account

move(fromAcct, toAcct, amount)[source]

Move coins from one account to another

send(fromAcct, toAddr, amount)[source]

Send coins to an external addr