tools/setup/branded_token/register.js
async function() {
    const oThis = this
    ;
    const addressObj = new generateAddress({chain: 'utility', passphrase: oThis.reservePassphrase})
      , addressResponse = await addressObj.perform();
    if (addressResponse.isFailure()) {
      logger.error("* Reserve address generation failed with error:", addressResponse);
      process.exit(1);
    }
    return Promise.resolve(addressResponse);
  }
async function() {
    const oThis = this
    ;
    const addressObj = new generateAddress({chain: 'utility', passphrase: oThis.reservePassphrase})
      , addressResponse = await addressObj.perform();
    if (addressResponse.isFailure()) {
      logger.error("* Reserve address generation failed with error:", addressResponse);
      process.exit(1);
    }
    return Promise.resolve(addressResponse);
  }
async function ( ) { const oThis = this ; const addressObj = new generateAddress ( { chain : 'utility' , passphrase : oThis . reservePassphrase } ) , addressResponse = await addressObj . perform ( ) ; if ( addressResponse . isFailure ( ) ) { logger . error ( "* Reserve address generation failed with error:" , addressResponse ) ; process . exit ( 1 ) ; } return Promise . resolve ( addressResponse ) ; }
Generate reserve address

@return {promise<result>}
@private
Generate reserve address