This repository is for submission for the 2025 Solana Bootcamp. This repository contains Solana Program code based on the Anchor Framework(Rust) and a Next.js(Typescript) based client code to interact with the above Solana Program. AIShare receives users' investment strategies to generate unique trading-specialized AI agents. These AI agents are tokenized by funding them, allowing token holders to share in the profits earned through the AI agents' trading activities. This repository includes the following features:
- Users can enter your investment strategy to create an AI agent along with its corresponding Fund and Token.
- Users can transfer SOL to the Fund, and once the Fund is fully funded, they can claim and receive the Token corresponding to the AI agent.
- Users can exchange the Token back to SOL.
Fund Factory Program that creates Funds.
BhJaivSr483tJ2PqodLwZvE85hyRaUUWssqZyYhbqfFX, SOLSCAN
Generate funds and tokens corresponding to an AI agent through a prompt. move to
Check the funds created by userself or others. move to
Check the strategy of the fund creator, the target funding amount, the amount you have funded, and the amounts and percentages contributed by other participants. If you have not funded yet, you can proceed with funding.
If the fund user participated in has reached its target amount, you can claim the corresponding tokens in proportion to your contribution.
Users who have already claimed and own tokens can redeem them for SOL again.
.
├── anchor / # include anchor framework based solana program
| ├── programs / # source code
| ├── tests / # test code
├── public / # include idl of solana program
├── src / # include client code based next.js
└── README.md
To run this project locally, an OpenAI API key is required.