How to use the @tradle/constants.IDENTITY_PUBLISH_ADDRESS function in @tradle/constants

To help you get started, we’ve selected a few @tradle/constants examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github tradle / tim-old-engine / test / end-to-end.js View on Github external
utils.argsToArray(arguments).forEach(function (tim) {
    tim.watchAddresses(constants.IDENTITY_PUBLISH_ADDRESS)
  })
}
github tradle / tim-old-engine / lib / index.js View on Github external
Driver.prototype._addresses = function () {
  return [this.wallet.addressString, constants.IDENTITY_PUBLISH_ADDRESS];
};
github tradle / tim-old-engine / lib / index.js View on Github external
Driver.prototype.publishIdentity = function (identity) {
  identity = identity || this.identityJSON;
  return this.publish({
    msg: identity,
    to: [{ fingerprint: constants.IDENTITY_PUBLISH_ADDRESS }]
  });
};
github tradle / tim-old-engine / index.js View on Github external
Driver.prototype.publishIdentity = function (identity, toAddress) {
  identity = identity || this.identityJSON
  return this.publish({
    msg: identity,
    to: [{ fingerprint: toAddress || constants.IDENTITY_PUBLISH_ADDRESS }]
  })
}
github tradle / tim-old-engine / src / index.js View on Github external
Driver.prototype._addresses = function () {
  return [
    this.wallet.addressString,
    constants.IDENTITY_PUBLISH_ADDRESS
  ]
}
github tradle / tim-old-engine / src / index.js View on Github external
Driver.prototype.publishIdentity = function (identity) {
  identity = identity || this.identityJSON
  return this.publish({
    msg: identity,
    to: [{ fingerprint: constants.IDENTITY_PUBLISH_ADDRESS }]
  })
}