API

Associates crypto keys into an Content object according to secrets. If secret or secondSecret are not str, they are considered as None.

Parameters:
  • cls (Content) – content object
  • secret (str) – secret string
  • secondSecret (str) – second secret string
Returns:

True if secret and second secret match crypto keys

Return type:

bool

Remove crypot keys association.

dposlib.blockchain.isLinked(func)[source]

Python decorator. First argument of decorated function have to be a Content or an object containing a valid address, derivationPath or publicKey attribute. It executes the decorated function() if the object is correctly linked using dposlib.blockchain.link().

class dposlib.ark.v2.api.Block(blk_id, **kw)[source]
class dposlib.ark.v2.api.Delegate(username, **kw)[source]
class dposlib.ark.v2.api.Wallet(address, **kw)[source]
class dposlib.ark.v2.api.Webhook(whk_id, **kw)[source]