{"id":29184428,"url":"https://github.com/DaoCLI/daoCLI-init","last_synced_at":"2025-07-01T21:32:46.426Z","repository":{"id":271088028,"uuid":"912370007","full_name":"assetCLI/assetCLI-init","owner":"assetCLI","description":"assetCLI - Lovable for Internet Capital Markets. (Also, Goldman Sachs for Crypto X AI !!)  Winner of the Solana MCP AI Agent Competition. Vibe coding bonding curves, DEX \u0026 DAOs","archived":false,"fork":false,"pushed_at":"2025-05-16T21:11:47.000Z","size":1091,"stargazers_count":7,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"feb-25","last_synced_at":"2025-05-16T22:23:19.704Z","etag":null,"topics":["aiagent","mcp","polygon","solana","solana-program","vibe-coding"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/assetCLI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-05T11:43:31.000Z","updated_at":"2025-05-16T21:11:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa5111da-e0e7-4460-bff2-0086a80de9a3","html_url":"https://github.com/assetCLI/assetCLI-init","commit_stats":null,"previous_names":["daocli/daocli-init","assetcli/assetcli-init"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/assetCLI/assetCLI-init","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assetCLI%2FassetCLI-init","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assetCLI%2FassetCLI-init/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assetCLI%2FassetCLI-init/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assetCLI%2FassetCLI-init/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/assetCLI","download_url":"https://codeload.github.com/assetCLI/assetCLI-init/tar.gz/refs/heads/feb-25","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assetCLI%2FassetCLI-init/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263039461,"owners_count":23404181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aiagent","mcp","polygon","solana","solana-program","vibe-coding"],"created_at":"2025-07-01T21:32:45.472Z","updated_at":"2025-07-01T21:32:46.390Z","avatar_url":"https://github.com/assetCLI.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch3\u003eWinner of the Solana MCP AI Agent Competition\u003c/h3\u003e  \n    \u003ca href=\"https://x.com/sendaifun/status/1902788122552963460\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n    \u003cimg src=\"https://github.com/user-attachments/assets/a3d93722-ce5e-4922-980a-df42f9a7be20\" alt=\"Tweet screenshot\" width=\"600\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n# assetCLI - Goldman Sachs for AI Agents\n\nassetCLI is a comprehensive AI-native platform for token launches, liquidity management, and team treasury operations on Solana. It leverages the Model Context Protocol (MCP) to provide natural language interactions for all operations.\n\n!assetCLI\n\n### We have no token on Pump.fun, daos.fun or any other platform.\n\n## 🌟 Features\n\n- **Token Launch**: Create tokens with bonding curves for fair price discovery\n- **Flexible Base Asset**: Use any SPL_TOKEN or TOKEN_22 standard token as the base for your bonding curve, not just native SOL\n- **Advanced Bonding Curve Math**: Utilizes pump science and a linear bonding curve (X=Y*Z, X constant) for AMM price discovery\n- **InterfaceAccount Support**: Full compatibility with both SPL_TOKEN and TOKEN_22 standards for mints and token accounts\n- **Raydium Integration**: Raydium CPI for CPMM pool creation and locking, with both mainnet and devnet builds (devnet via feature flag)\n- **Metaplex Metadata**: On-chain Metaplex program integration for project token metadata\n- **SystemAccount Signer PDA**: Bonding curve operations use a SystemAccount signer PDA for secure, programmatic actions\n- **Ordered Pair Validation**: CPMM pool creation checks ordered pairs on both client and contract sides\n- **Custom Authority \u0026 Vault**: Use authority_address and vault_address for asset transfers, enabling use beyond Squads, Realms DAO, etc.\n- **Localnet Scripts**: Scripts for local development, including cloning bpf-upgradable programs and system accounts for CPIs\n- **Squads Multisig Integration**: Secure team treasury management\n- **Automatic Raydium Migration**: Seamless transition to DEX when bonding curves complete\n- **Perana/Numeraire Integration**: Access to stable pool swaps and liquidity provisioning\n- **Treasury Management**: Fund and manage multisig vaults\n- **Wallet Management**: Import, create, and fund wallets\n- **[Model Context Protocol (MCP)](https://www.claudemcp.com)**: Natural language interaction for all operations\n\n## Model Context Protocol (MCP) Interface\n\nassetCLI uses the powerful [Model Context Protocol (MCP)](https://www.claudemcp.com/) interface that allows natural language interaction through compatible AI clients like Claude Desktop.\n\n### Setting Up the MCP Interface\n\n#### Prerequisites\n\n- A compatible MCP client (e.g., [Claude Desktop](https://claude.ai/desktop))\n- Node.js (v16+)\n- pnpm (recommended)\n\n### Configuration\n\n#### Setting up Claude Desktop MCP server\n\n1. Clone the repository and install dependencies:\n\n```bash\n# Clone the repository\ngit clone https://github.com/assetCLI/assetCLI.git\ncd assetCLI\n\n# Install dependencies\npnpm install\n\n# Build the project\npnpm build\n```\n\n2. Change the Claude Desktop MCP server settings:\n\nFor MacOS:\n\n```bash\ncode ~/Library/Application\\ Support/Claude/claude_desktop_config.json\n```\n\nFor Windows:\n\n```bash\ncode $env:AppData\\Claude\\claude_desktop_config.json\n```\n\nThe final configuration should look like the following:\n\n```json\n{\n  \"mcpServers\": {\n    \"assetCLI\": {\n      \"command\": \"node\",\n      \"args\": [\"$(pwd)/dist/mcp-server.js\"]\n    }\n  }\n}\n```\n\n### Using Natural Language Commands\n\nThe MCP interface supports natural language commands. Here are examples of what you can ask:\n\n#### Configuration and Setup\n\n```\nSet my cluster to devnet\nImport my wallet from ~/.config/solana/id.json\nShow me my wallet information\nWhat's the current configuration?\n```\n\n#### Multisig Management\n\n```\nCreate a new multisig wallet called \"Project Treasury\" with 3 members and a threshold of 2\nShow me details about my multisig\nFund my multisig with 0.5 SOL\n```\n\n#### Bonding Curve Operations\n\n```\nInitialize the bonding curve protocol\nCreate a new bonding curve token named \"Community Token\" with symbol \"CMT\"\nGet information about the bonding curve for mint address xyz789\nBuy 2 WSOL worth of tokens from the bonding curve\nSell 100 tokens back to the bonding curve\nSimulate swapping 1 WSOL for tokens to see expected output\nCheck if a bonding curve is complete\nMigrate a completed bonding curve to Raydium\nList all available bonding curve tokens\n```\n\n#### Perana Pool Operations\n\n```\nList all available Perana pools\nGet information about the tripool\nSwap 10 USDC for USDT through the Perana pool\nAdd liquidity to the susd pool\nRemove liquidity from the tripool\n```\n\n#### Wallet Operations\n\n```\nShow my wallet balance\nCreate a new wallet\nGet token balances in my wallet\n```\n\n#### Utility Operations\n\n```\nLook up transaction signature xyz789\nWhat happened in transaction abc123?\n```\n\n### Demo\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch4\u003eWatch assetCLI in action with MCP-powered natural language commands\u003c/h4\u003e\n    \u003ca href=\"https://x.com/dorkydhruv/status/1901066331400925538\"\u003e\n    \u003cimg src=\"./docs/images/embed.png\" alt=\"assetCLI Demo Video\" width=\"600\"/\u003e\n  \u003c/a\u003e\n  \u003cp\u003eFollow us on \u003ca href=\"https://www.youtube.com/@assetCLI\" target=\"_blank\"\u003eYouTube\u003c/a\u003e for more demos and tutorials\u003c/p\u003e\n\u003c/div\u003e\n\n---\n\n## 🏗️ Project Structure\n\n```\nassetCLI/\n├── programs/\n│   └── bonding-curve/        # Solana program for bonding curves\n├── src/\n│   ├── mcp/                  # MCP tools and resources\n│   │   ├── bonding-curve.ts  # Bonding curve MCP tools\n│   │   ├── config-and-wallet.ts # Wallet configuration tools\n│   │   ├── multisig.ts       # Multisig MCP tools\n│   │   ├── perana-tools.ts   # Perana integration tools\n│   │   └── agent-tools.ts    # Solana-agent-kit DeFi tools\n│   ├── services/             # Core business logic\n│   │   ├── bonding-curve-service.ts  # Bonding curve implementation\n│   │   ├── multisig-service.ts       # Squads multisig implementation\n│   │   └── perana-service.ts         # Perana/Numeraire service\n│   ├── utils/                # Utility functions\n│   ├── types/                # TypeScript type definitions\n│   ├── debug/                # Debug scripts for testing\n│   └── mcp-server.ts         # MCP server implementation\n├── tests/                    # Test files\n└── dist/                     # Compiled output\n```\n\n## 🧩 Architecture\n\nThe application integrates multiple key components:\n\n1. **Bonding Curve Protocol**: For token launches with automatic liquidity and price discovery, supporting both SPL_TOKEN and TOKEN_22 standards\n2. **Raydium Integration**: Raydium CPI for CPMM pool creation and locking, with ordered pair validation\n3. **Metaplex Metadata**: On-chain metadata for project tokens\n4. **SystemAccount Signer PDA**: Secure, programmatic operations for the bonding curve\n5. **Custom Authority \u0026 Vault**: Flexible asset management for advanced use cases\n6. **Squads Multisig**: For multi-signature transaction approval and team treasury management\n7. **Perana/Numeraire**: For stable pool operations and liquidity management\n8. **[Model Context Protocol (MCP)](https://www.claudemcp.com/)**: For AI-assisted interactions and operations\n9. **Solana-Agent-Kit**: Extended DeFi and on-chain operations via MCP\n10. **Localnet Scripts**: For local development and testing, including program and account setup\n\nKey workflows include:\n\n1. **Token Launch**: Create a token with bonding curve economics, optionally managed by a Squads multisig\n2. **Bonding Phase**: Users buy tokens through the bonding curve, with prices increasing as more tokens are purchased\n3. **Completion \u0026 Migration**: Once the bonding curve goal is reached, automatic migration to Raydium DEX\n4. **Stable Pool Operations**: Interact with Perana's Numeraire pools for stable asset management\n5. **DeFi Operations**: Use solana-agent-kit for advanced on-chain actions\n\n## 🛠️ Development\n\nTo set up a development environment:\n\n```bash\n# Clone the repository\ngit clone https://github.com/assetCLI/assetCLI-init.git\ncd assetCLI-init\n\n# Install dependencies\npnpm install\n\n# Build the project\npnpm build\n```\n\n## 🔍 Troubleshooting\n\n- **Insufficient funds errors**: Ensure your wallet has enough SOL\n- **Transaction errors**: Verify that you're using correct account addresses\n- **\"Account not found\" errors**: The blockchain might be congested; try again\n- **MCP connection issues**: Verify the MCP server is running and accessible\n- **Natural language parsing errors**: Try using more specific language or make your request more explicit\n- **Bonding curve errors**: Check that you've initialized the bonding curve protocol\n- **BN conversion errors**: Ensure decimal amounts are handled properly\n- **Perana pool errors**: Verify you're using valid pool names or addresses\n- **CPMM/Curve errors**: Ensure ordered pairs and base assets are correct\n- **Localnet issues**: Use provided scripts for localnet setup and program deployment\n\n## 📜 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n---","funding_links":[],"categories":["MCP Servers"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDaoCLI%2FdaoCLI-init","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDaoCLI%2FdaoCLI-init","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDaoCLI%2FdaoCLI-init/lists"}