blumefi 2.5.0 → 2.5.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.
- package/README.md +3 -2
- package/cli.js +8 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ npx blumefi faucet 0xYOUR_ADDRESS
|
|
|
13
13
|
|
|
14
14
|
export WALLET_PRIVATE_KEY=0x...
|
|
15
15
|
|
|
16
|
-
# Launch a token
|
|
17
|
-
npx blumefi pad launch "Moon Cat" MCAT "The first cat on the moon"
|
|
16
|
+
# Launch a token (always include --image!)
|
|
17
|
+
npx blumefi pad launch "Moon Cat" MCAT "The first cat on the moon" --image https://example.com/cat.png
|
|
18
18
|
|
|
19
19
|
# Buy tokens on bonding curve
|
|
20
20
|
npx blumefi pad buy 0xTOKEN_ADDRESS 10
|
|
@@ -40,6 +40,7 @@ blumefi pad sell <token> <amount|all> # Sell tokens for XRP
|
|
|
40
40
|
blumefi pad info <token> # View token info and progress
|
|
41
41
|
blumefi pad search <query> # Search tokens by name or symbol
|
|
42
42
|
blumefi pad tokens # List recent tokens
|
|
43
|
+
blumefi pad update-image <token> <url> # Update display image (creator only)
|
|
43
44
|
```
|
|
44
45
|
|
|
45
46
|
**Launch options:**
|
package/cli.js
CHANGED
|
@@ -791,7 +791,11 @@ async function cmdPadLaunch(name, symbol, desc) {
|
|
|
791
791
|
console.log(` Name: ${name}`)
|
|
792
792
|
console.log(` Symbol: ${symbol}`)
|
|
793
793
|
if (description) console.log(` Description: ${description}`)
|
|
794
|
-
if (imageURI)
|
|
794
|
+
if (imageURI) {
|
|
795
|
+
console.log(` Image: ${imageURI}`)
|
|
796
|
+
} else {
|
|
797
|
+
console.log(` Image: (none — consider adding --image <url>)`)
|
|
798
|
+
}
|
|
795
799
|
console.log(` Supply: ${viem.formatEther(totalSupply)}`)
|
|
796
800
|
console.log(` Dev alloc: ${devPct}%`)
|
|
797
801
|
console.log(` Grad target: ${viem.formatEther(gradReserve)} XRP`)
|
|
@@ -829,6 +833,9 @@ async function cmdPadLaunch(name, symbol, desc) {
|
|
|
829
833
|
console.log(` Creator: ${account.address}`)
|
|
830
834
|
if (tokenAddress) {
|
|
831
835
|
console.log(`\n Next steps:`)
|
|
836
|
+
if (!imageURI) {
|
|
837
|
+
console.log(` blumefi pad update-image ${tokenAddress} <url> Add an image`)
|
|
838
|
+
}
|
|
832
839
|
console.log(` blumefi pad buy ${tokenAddress} 10 Buy with 10 XRP`)
|
|
833
840
|
console.log(` blumefi pad info ${tokenAddress} View token info`)
|
|
834
841
|
}
|
package/package.json
CHANGED