code: function HTTPWallet(options) {
    if (!(this instanceof HTTPWallet))
      return new HTTPWallet(options);
  
    EventEmitter.call(this);
  
    if (!options)
      options = {};
  
    if (typeof options === 'string')
      options = { uri: options };
  
    this.options = options;
    this.network = Network.get(options.network);
  
    this.client = new Client(options);
    this.uri = options.uri;
    this.id = null;
    this.token = null;
  
    if (options.id)
      this.id = options.id;
  
    if (options.token) {
      this.token = options.token;
      if (Buffer.isBuffer(this.token))
        this.token = this.token.toString('hex');
      this.client.token = this.token;
    }
  
    this._init();
  }
docs: HTTPWallet
  @alias module:http.Wallet
  @constructor
  @param {String} uri