Thanks to visit codestin.com
Credit goes to github.com

Skip to content

tedkimdev/ai-shares

 
 

Repository files navigation

AIShares 2025 Solana Bootcamp Submission Repository

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:

  1. Users can enter your investment strategy to create an AI agent along with its corresponding Fund and Token.
  2. 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.
  3. Users can exchange the Token back to SOL.

Program

Fund Factory Program that creates Funds.

BhJaivSr483tJ2PqodLwZvE85hyRaUUWssqZyYhbqfFX, SOLSCAN

Screenshot

Generate funds and tokens corresponding to an AI agent through a prompt. move to image

Check the funds created by userself or others. move to image

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. image

If the fund user participated in has reached its target amount, you can claim the corresponding tokens in proportion to your contribution. image

Users who have already claimed and own tokens can redeem them for SOL again. image

Program Entities

image

Diagram

Architecture image

State image

Directory Structure

  .
  ├── 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

Notification

To run this project locally, an OpenAI API key is required.

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.6%
  • Rust 11.3%
  • Other 1.1%