@otonix/cli 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,7 +16,9 @@ export function launchCommand(program) {
16
16
  .requiredOption("--ticker <ticker>", "Token ticker/symbol (e.g. COOL)")
17
17
  .requiredOption("--image <url>", "Token logo URL (https:// or ipfs://)")
18
18
  .requiredOption("--description <text>", "Token description")
19
- .option("--twitter <handle>", "Your Twitter/X handle (e.g. yourname) — shown in metadata")
19
+ .option("--twitter <handle>", "Project/creator Twitter/X handle (e.g. yourname)")
20
+ .option("--website <url>", "Project website URL (e.g. https://yourproject.com)")
21
+ .option("--github <url>", "Project GitHub URL (e.g. https://github.com/yourproject)")
20
22
  .option("--devbuy <eth>", "Initial dev buy in ETH (default: 0)", "0")
21
23
  .option("--mev-protect", "Route deploy tx through Flashbots private mempool (anti-sandwich)")
22
24
  .action(async (opts) => {
@@ -37,6 +39,8 @@ export function launchCommand(program) {
37
39
  const devBuyEth = parseFloat(opts.devbuy) || 0;
38
40
  const minEthNeeded = 0.001 + devBuyEth;
39
41
  const twitterHandle = opts.twitter?.replace(/^@/, "") ?? "";
42
+ const websiteUrl = opts.website ?? "";
43
+ const githubUrl = opts.github ?? "";
40
44
  const checkSpinner = ora("Checking agent wallet...").start();
41
45
  let agentEth;
42
46
  try {
@@ -73,6 +77,10 @@ export function launchCommand(program) {
73
77
  row("Logo URL", opts.image.slice(0, 55) + (opts.image.length > 55 ? "..." : ""));
74
78
  if (twitterHandle)
75
79
  row("Twitter", "@" + twitterHandle);
80
+ if (websiteUrl)
81
+ row("Website", websiteUrl);
82
+ if (githubUrl)
83
+ row("GitHub", githubUrl);
76
84
  row("Agent", opts.agent + " (" + agent.address.slice(0, 10) + "...)");
77
85
  row("Chain", "Base Mainnet");
78
86
  row("LP protocol", "Clanker v4 (Uniswap v4)");
@@ -125,6 +133,12 @@ export function launchCommand(program) {
125
133
  if (twitterHandle) {
126
134
  socialUrls.push({ platform: "x", url: `https://x.com/${twitterHandle}` });
127
135
  }
136
+ if (websiteUrl) {
137
+ socialUrls.push({ platform: "website", url: websiteUrl });
138
+ }
139
+ if (githubUrl) {
140
+ socialUrls.push({ platform: "github", url: githubUrl });
141
+ }
128
142
  const tokenConfig = {
129
143
  name: opts.name,
130
144
  symbol: opts.ticker.toUpperCase(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otonix/cli",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Otonix CLI — deploy autonomous agent tokens on Base via Clanker v4",
5
5
  "type": "module",
6
6
  "bin": {