message: feat(utxo-lib): add scriptTypeForChain()
  The careful reviewer will notice that this is duplicating
  functionality of `@bitgo/unspents`.
  However, this is justified since we don't want to create a circular
  dependency by adding `@bitgo/unspents` here.
  Over time we should move `@bitgo/unspents` here.
  Issue:
diff: @@ -9,6 +9,25 @@ export function isScriptType2Of3(t: string): t is ScriptType2Of3 {
  return scriptTypes2Of3.includes(t as ScriptType2Of3);
  }
  +export function scriptTypeForChain(chain: number): ScriptType2Of3 {
  + switch (chain) {
  + case 0:
  + case 1:
  + return 'p2sh';
  + case 10:
  + case 11:
  + return 'p2shP2wsh';
  + case 20:
  + case 21:
  + return 'p2wsh';
  + case 30:
  + case 31:
  + return 'p2tr';
  + default:
  + throw new Error(`invalid chain ${chain}`);
  + }
  +}
  +
  /**
  * @param t
  * @return string prevOut as defined in PREVOUT_TYPES (bitcoinjs-lib/.../transaction_builder.js)
  