woosh tool
Utility commands for managing token creation, revoking authorities, and wrapping SOL for launch operations.
All commands rely on the values defined in your woosh.config
file. Ensure the config is present and properly filled before using any command.
woosh tool create-tokenโ
Creates a new SPL token using details provided under the token
field in woosh.config
.
Required Config Section:โ
"token": {
"tokenName": "token",
"decimals": 6,
"symbol": "ticker",
"supply": "1000000000",
"image": "./logo.png",
"description": "this is a description",
"imgType": "image/png",
"imgName": "logo.png",
"telegram": "",
"twitter": "",
"website": ""
}
Description:โ
- Uses the
launchWallet
private key to mint a new token. - Works on both Devnet and Mainnet, depending on the
mainnet
flag in the config. - Uploads metadata (image, description, links).
- Stores token address and metadata in a generated
tokenInfo.json
file at the root level.
โ ๏ธ Do not modify or delete tokenInfo.json
, as it is required for subsequent steps like revoking authorities or launching pools.
๐ก Ensure the wallet has sufficient SOL for:
- Minting fees
- Metadata upload (Arweave)
- Token account creation
Usage:โ
woosh tool create-token
woosh tool revoke-tokenโ
Revokes both mint authority and freeze authority from the token. This step is essential for building trust, especially on Mainnet, as it ensures no further tokens can be minted or accounts frozen.
- Automatically reads the token address from
tokenInfo.json
. - Uses the same
launchWallet
that minted the token. - Once executed, the authorities cannot be restored.
๐ Recommended to execute this immediately after pool launch and before public trading.
Usage:โ
woosh tool revoke-token
woosh tool wrap-sol-snipeโ
Wraps the snipe_amount
defined in pool_settings
into WSOL.
This prepares the launch wallet for sniping liquidity pools by converting native SOL into SPL-compatible WSOL.
Most DEXs (like Jupiter and Raydium) expect WSOL in launch transactions, making this step crucial for time-sensitive sniping strategies.
Example Config Reference:โ
"pool_settings": {
"snipe_amount": 1
}
๐ก Ensures smoother execution of post-launch liquidity actions like:
- Auto-buy/snipe scripts
- Automated liquidity additions
Usage:โ
woosh tool wrap-sol-snipe