@hot-fun/hot-fun-ai 1.0.1 → 1.0.2

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.
package/README.md CHANGED
@@ -14,7 +14,7 @@ Safety, user agreement, and detailed agent behavior requirements are defined in
14
14
 
15
15
  When the user needs to create meme tokens on hot.fun (Solana), use the **hot-fun-integration** skill:
16
16
 
17
- - **Create token**: `hotfun create-token <name> <symbol> <uri>` — calls the hot.fun API to get a transaction, signs it with the wallet private key, and sends it to Solana RPC. See `SKILL.md` and `references/api-create-token.md` for full details.
17
+ - **Create token**: `hotfun create-token <name> <symbol> <image_url> [--description "desc"] [--x-royalty-party "user"]` — calls the hot.fun API (with agent authentication) to get a transaction, signs it with the wallet private key, and sends it to Solana RPC. See `SKILL.md` and `references/api-create-token.md` for full details.
18
18
  - **CLI** (after `npm install`): use **`npx hotfun <command> [args...]`**. Run `npx hotfun --help` for all commands.
19
19
 
20
20
  ## Install (project)
@@ -45,7 +45,7 @@ The CLI automatically loads `.env` from the current working directory.
45
45
  ```bash
46
46
  export PRIVATE_KEY=your_solana_private_key
47
47
  export SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
48
- npx hotfun create-token MyToken MTK "https://example.com/metadata.json"
48
+ npx hotfun create-token MyToken MTK "https://example.com/image.png" --description "A cool token"
49
49
  ```
50
50
 
51
51
  - **PRIVATE_KEY**: Required for any command that signs or sends a transaction. Base58 string or JSON array of bytes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hot-fun/hot-fun-ai",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Hot.fun AI skills for creating meme tokens on Solana",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -82,17 +82,17 @@ After installation, run commands with `hotfun <command> [args]`. If you use a lo
82
82
 
83
83
  ## Create token flow
84
84
 
85
- ### 1. Ask user for required information (must be done first)
85
+ ### 1. Ask user for required AND optional information (must be done first)
86
86
 
87
- Before calling `create-token`, the Agent **must** ask the user for and confirm:
87
+ Before calling `create-token`, the Agent **must** ask the user for all of the following parameters. For optional parameters, the Agent **must still ask** the user whether they want to provide a value — do not skip them silently. If the user declines or leaves them empty, omit them from the command.
88
88
 
89
89
  | Info | Required | Description |
90
90
  |------|----------|-------------|
91
91
  | **Token name** (name) | Yes | Full token name, max 255 chars |
92
92
  | **Token symbol** (symbol) | Yes | e.g. MTK, DOGE, max 32 chars |
93
93
  | **Image URL** (image_url) | Yes | Token image URL (e.g. IPFS link) |
94
- | **Description** (description) | No | Token description |
95
- | **X Royalty Party** (x_royalty_party) | No | X (Twitter) username for royalty party |
94
+ | **Description** (description) | No (but must ask) | Token description, e.g. a short intro for the token |
95
+ | **X Royalty Party** (x_royalty_party) | No (but must ask) | X (Twitter) username for royalty party |
96
96
 
97
97
  ### 2. Technical flow (done by create-token)
98
98