Commit Graph

326 Commits

Author SHA1 Message Date
aryan
b3a02fe24b Merge branch 'main' into main 2025-01-03 22:55:22 +05:30
aryan
bfa7872a81 Add batch order from Manifest (#114)
# Pull Request Description

## Related Issue

## Changes Made
This PR adds the following changes:
<!-- List the key changes made in this PR -->
- Adds batch order functionality from Manifest for easier market making
  
## Implementation Details
<!-- Provide technical details about the implementation -->
- Allow pattern based prompts for easier quote production

## Transaction executed by agent 
<!-- If applicable, provide example usage, transactions, or screenshots
-->
Example transaction:
https://solscan.io/tx/64P3YHsC4Zh9GKmT6EubHfy8pEc2vYNPYF8NApb8P4LD57to1WisQfQZ7vFhwup3UgJqtGCmiRy7TW6VCrkmNTHP

## Prompt Used
<!-- If relevant, include the prompt or configuration used -->

![image](https://github.com/user-attachments/assets/d62d8908-5de5-4784-adf3-8a3a2afa3ae7)

## Additional Notes
<!-- Any additional information that reviewers should know -->

## Checklist
- [x] I have tested these changes locally
- [x] I have updated the documentation
- [x] I have added a transaction link
- [x] I have added the prompt used to test it
2025-01-03 02:10:26 +05:30
aryan
566480344e typo fix Update README.md (#119)
# Pull Request Title  
**Fix Typo in `README.md`**

## Description  
This pull request corrects a minor typo in the `README.md` file for the
`persistent-agent` example. Specifically, "ur PostgreSQL databse" was
corrected to "your PostgreSQL database" for improved readability and
professionalism.

### Changes Made:
- **File Modified:** `examples/persistent-agent/README.md`
- **Summary of Changes:**  
  - Corrected "databse" to "database."

## Checklist  
- [x] Typos corrected to enhance clarity and professionalism.
- [x] Verified that the overall instructions remain accurate and
unchanged.

## Additional Notes  
This change is purely editorial and does not affect the functionality or
structure of the code.

---

**Allow edits by maintainers:** [x]
2025-01-03 02:05:49 +05:30
teenager-ETH
f1c5213742 typo fix Update README.md 2025-01-02 19:46:36 +01:00
DonDuala
e8f8e453e5 Add batch order from Manifest 2025-01-01 18:35:14 -04:00
simplysabir
376eaadffe fix: latest pull 2025-01-01 17:17:24 +05:30
aryan
42b64f2264 Fix/actions (#106)
# Pull Request Description

## Changes Made
This PR adds the following changes:
- Fixes the naming for each action 
  
## Checklist
- [ Y] I have tested these changes locally
- [ Y] I have updated the documentation
2025-01-01 03:44:58 +05:30
aryan
ff26c252fd fix: pkg for actions 2025-01-01 03:43:14 +05:30
aryan
e2f1536774 fix: naming 2025-01-01 03:37:56 +05:30
aryan
18b719012b fix: pkg version 2025-01-01 03:23:17 +05:30
aryan
31713f9fac chore: docs 2025-01-01 03:22:52 +05:30
aryan
16f7dc62a5 feat: Implement framework-independent Action interface (#72)
This PR implements a framework-independent Action interface inspired by
Eliza, making the tools more flexible and reusable across different
frameworks.

Changes:
- Created independent actions under `src/actions/`
- Implemented Zod validation for type safety
- Converted all LangChain tools to use actions
- Added natural language matching with similes
- Improved error handling and response formats
2025-01-01 03:05:53 +05:30
aryan
9bf1755c75 Merge branch 'main' into gib-bounty-sol756670 2025-01-01 03:04:34 +05:30
aryan
e438f8e4fa fix: dependency 2025-01-01 02:56:34 +05:30
aryan
42e8e4758a wip: langchain 2025-01-01 02:51:40 +05:30
aryan
15034ac749 chore: docs 2025-01-01 02:41:49 +05:30
aryan
52a38bab2a Add Limit Orders Support from Manifest (#100)
# Pull Request Description
Add support for Agents to be able to create limit orders on Manifest.
Implements create market and place limit order. Can consider adding
cancel and other features in follow ups.

## Changes Made
This PR adds the following changes:
- support for manifest limit orders and market creation
  
## Implementation Details
- use manifest-sdk

## Transaction executed by agent 
<!-- If applicable, provide example usage, transactions, or screenshots
-->
Example transaction: 
Create Market:
https://solscan.io/tx/59HgraXSzpmNtDovUfBUErjBwc2ggLtwfaYmrXdwR88HES6pLWHQWobHR85WmR3gHMavoEKLshCyJqx3Y6BZu8ku
Place limit order:
https://solscan.io/tx/41d2CGSGdqkxXbuBDJwBniN3E9tN6hW7Tmo7oHQ1N1p5szejYhugKTLHaMNwS6KVp3DhMcTmZpkJMoWwKEpJAuf5

## Prompt Used
<!-- If relevant, include the prompt or configuration used -->
```
```

## Checklist
- [x] I have tested these changes locally
- [x] I have updated the documentation
- [x] I have added a transaction link
- [x] I have added the prompt used to test it
2025-01-01 02:20:36 +05:30
DonDuala
8cc8d37d28 Update docs 2024-12-31 16:43:42 -04:00
DonDuala
a23156895f Merge branch 'main' into manifest 2024-12-31 14:53:50 -04:00
aryan
4d6d44afe3 depreceated issue (#105)
# Pull Request Description

## Changes Made
This PR adds the following changes:
- The config object was introduced
- The old constructor was marked as deprecated 

## Checklist
- [ Y] I have tested these changes locally
- [ Y] I have updated the documentation
2024-12-31 23:56:57 +05:30
aryan
f1e4fb21ac depreceated issue 2024-12-31 23:54:31 +05:30
aryan
e17e2138c4 Feat: add langchain nextjs template (#68)
## Related Issue
Fixes #58 

## Changes Made
This PR adds the following changes:
<!-- List the key changes made in this PR -->
- I added an examples directory with a README file which can be used to
list templates, projects and examples built by the team and community
  
## Implementation Details
<!-- Provide technical details about the implementation -->
- The template link contained in the README is a template I created
using the Nextjs and Langchain template.
- The template includes a proper implementation of the Solana Agent Kit
and Langchain response streaming.

## Additional Notes
<!-- Any additional information that reviewers should know -->
I believe that examples should be left out of library repos, not just
because of bundle size but because the repo itself can get quite big and
maintaining a monorepo never scales well.

## Checklist
- [x] I have tested these changes locally
- [x] I have updated the documentation
2024-12-31 23:31:38 +05:30
Fahri Bilici
2a08017dcd adding missing actions 2024-12-31 17:54:33 +01:00
DonDuala
3d50b4bc3d Merge branch 'main' into manifest 2024-12-31 09:07:47 -04:00
aryan
e623da114e Add Jup Fees to the platform (#98)
# Pull Request Description

## Related Issue
Fixes # (issue number)

## Changes Made
This PR adds the following changes:
<!-- List the key changes made in this PR -->
- Added jupReferralAccount to allow devs to set Fee Accounts on trade
API (optional parameter)
- Added jupFeeBps to allow devs to set fee in bps  (optional parameter)
  
## Implementation Details
<!-- Provide technical details about the implementation -->
- Added optional Parameter to trade API

## Transaction executed by agent 
<!-- If applicable, provide example usage, transactions, or screenshots
-->
Example transaction: 

https://solscan.io/tx/35b1wz1LjU5pEALq6m5Q6Gyc3QB3ejvsjNAYoy9PdHu9WP8SzGLjHi59sRPj8hvtntVMDMEguWuu273FZ3EbUSoZ
## Prompt Used
<!-- If relevant, include the prompt or configuration used -->
```
```

## Additional Notes
<!-- Any additional information that reviewers should know -->

## Checklist
- [x] I have tested these changes locally
- [x] I have updated the documentation
- [x] I have added a transaction link
- [ ] I have added the prompt used to test it
2024-12-31 16:29:40 +05:30
aryan
5048f19c50 feat: config 2024-12-31 16:28:23 +05:30
YCrydev
a20894807b push 2024-12-31 11:38:13 +01:00
YCrydev
c56b03d69f Merge remote-tracking branch 'upstream/main' into jup-referral-fee 2024-12-31 11:33:18 +01:00
aryan
a4548c2280 Fix some typos and grammar (#104)
# Pull Request Description

Not sure if you are interested in PRs fixing typo and grammar, but I
thought it a good way to start with the repo (so here we are 🤗)

## Changes Made
This PR adds the following changes:
<!-- List the key changes made in this PR -->

- Fixed some obvious typos and grammar
- Renamed persistance-agent to more natural persistent-agent 

## Additional Notes
<!-- Any additional information that reviewers should know -->

## Checklist
- [x] I have tested these changes locally
- [ ]  I have updated the documentation
* I did not update the documentation yet, as there were many changes
when I ran `npm run docs`
2024-12-31 14:52:13 +05:30
krill
fcdf174ce8 📝 fix some more typos and grammar 2024-12-31 12:35:12 +09:00
krill
38a88239ca 👔 fix typo in func name 2024-12-31 12:34:44 +09:00
krill
0e6b78b971 🚚 fix more typos; rename example 2024-12-31 12:04:11 +09:00
krill
df386a8cbd 📝 fix typos 2024-12-31 12:02:55 +09:00
YCrydev
7429943942 update 2024-12-31 02:56:21 +01:00
Fahri Bilici
1b601b839d adapting langchain to use actions 2024-12-31 01:17:53 +01:00
DonDuala
0dea94c5b5 Add cancel and withdraw functionality 2024-12-30 17:59:32 -04:00
Fahri Bilici
c00515f3d2 Fix formatting issues and removing unusued libaries 2024-12-30 22:31:15 +01:00
aryan
9500b68e1a Add: tensor trade support (#93)
# Pull Request Description
Add Tensor Trade SDK support for NFT trading operations

## Related Issue
Fixes #20

## Changes Made
This PR adds the following changes:
- Added `tensor_trade.ts` file in `src/tools` with NFT trading
functions:
  - `listNFTForSale`
  - `buyNFT`
  - `cancelListing`
- Integrated Tensor Trade functions into Langchain tools
- Added proper error handling and validation for NFT operations

## Implementation Details
- Integrated `@tensor-oss/tensorswap-sdk` for Tensor Trade Swap
- Added support for listing, buying, and canceling NFT listings
- Implemented proper transaction building and signing
- Added validation checks for NFT ownership and wallet balance
- Supports both compressed and non-compressed NFTs

## Transaction executed by agent 
Test transaction on mainnet:

## Prompt Used
I want to list my NFT for sale on Tensor Trade
NFT Mint Address: [NFT_MINT_ADDRESS]
Price: 1 SOL
Expiry Time: 3600

## Additional Notes
- Will add more comprehensive error handling based on testing results

## Checklist
- [x] I have tested these changes locally
- [ ] I have updated the documentation
- [ ] I have added transaction links
- [x] I have added the prompt used to test it
2024-12-31 02:52:33 +05:30
aryan
ba61f1db4b Merge branch 'main' into feature/tensor-sdk 2024-12-31 02:51:29 +05:30
michaelessiet
b13985f31d fix: deploy to vercel readme button 2024-12-30 22:19:38 +01:00
aryan
9b8bd14cf5 chore: deploy to vercel 2024-12-31 02:39:56 +05:30
Fahri Bilici
3b4fddd65a fixing tool calling bug 2024-12-30 21:38:31 +01:00
DonDuala
2246367a86 Fix limit orders 2024-12-30 16:06:34 -04:00
Lautaro Suarez
05effae52a Merge branch 'main' into feature/tensor-sdk 2024-12-30 14:04:12 -03:00
Lautaro
9fba6484b5 Fix: remove buyNFT not working with sdk 2024-12-30 14:00:55 -03:00
DonDuala
3153fd3c88 remove whirlpool solana kit 2024-12-30 12:51:32 -04:00
DonDuala
8ec1ea5f65 Merge branch 'main' into manifest 2024-12-30 12:50:13 -04:00
DonDuala
eaa4b1b155 Delete yarn.lock 2024-12-30 12:47:27 -04:00
DonDuala
6295396ba9 Add SolanaLimitOrderTool 2024-12-30 12:46:54 -04:00
Michael Essiet
6e6bad0482 Merge branch 'main' into example/nextjs-langchain 2024-12-30 12:26:55 +01:00