Commands
1. npm run askfraus {agentName} {yourQuestion}
This command allows you to ask a specific question to an AI agent deployed using the FrausAI framework.
Usage:
npm run askfraus Aura "What is the latest trend in AI?"Description:
{agentName}: The name of the deployed agent.{yourQuestion}: The question you want to ask the agent.
Example Output:
Agent Aura: "The latest trend in AI is the use of large language models like GPT for various ap2. npm run deployfraus
This command deploys a new token or agent on the Solana blockchain using the configuration provided in defineAgent.ts.
Usage:
npm run deployfrausSteps Before Running:
Update
defineAgent.tswith your agent's details (name, symbol, description, etc.).Ensure your
.envfile contains the required private key for deployment.
Example Output:
3. npm run interactfraus {agent_name} ask "Your question"
This command enables you to interact with a deployed agent by asking complex questions.
Usage:
Example Output:
4. npm run fraus-trade {agent_name}
This command performs trade actions like buying or selling tokens associated with a deployed agent.
Usage:
Description:
Initiates trade actions using the agent's configurations in the
.envfile.Actions like "buy" or "sell" are defined in the
.envfile underACTION.
Example Output:
5. npm run interactfraus Fraus ask "Trending token 24h"
This command asks the agent to fetch trending tokens over the last 24 hours.
Usage:
Example Output:
6. npm run interactfraus Aura ask "Top holders: {mintAddress}"
This command retrieves the top holders of a specific token.
Usage:
Example Output:
7. npm run interactfraus Aura ask "Marketcap count:50 term:\"pump\""
This command fetches market capitalization data for tokens matching a specific term.
Usage:
Description:
count:50: Specifies the number of tokens to return.term:"pump": Filters tokens containing the term "pump" in their metadata.
Example Output:
8. npm run interactfraus {agentName} ask "First top {count} buyers for: {mintAddress}"
This command fetches the top buyers for a specific token.
Usage:
Description:
{count}: Specifies the number of buyers to return.{mintAddress}: The token's mint address.
Example Output:
Last updated