INNER CODE UNIT · JavaScript

rpcUrl

flayerlabs/flaunchgg-contracts · lib/v4-hooks-public/lib/forge-chronicles/index.js:71

          rpcUrl = args[i + 1];
          i++; // Skip the next argument
          break;
        } else {
          console.error("Error: --rpc-url flag requires an rpc url");
          process.exit(1);
        }
      case "-b":
      case "--broadcast-dir":
        // Check if there's another argument after --broadcast-dir and the argument is not another command
        if (i + 1 < args.length && args[i + 1].charAt(0) !== "-") {
          broadcastDir = args[i + 1];
          i++; // Skip the next argument
          break;
        } else {
          console.error("Error: --broadcast-dir flag requires a directory path");
          process.exit(1);
        }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…