Commit Graph

517 Commits

Author SHA1 Message Date
shivaji43
40193b75e8 fix:deleted unncessary files 2025-01-13 17:37:05 +05:30
shivaji43
71bfbc6bd8 feat:added spl token support to priority fee transaction 2025-01-13 17:37:05 +05:30
shivaji43
be3f158aaa fix : able to send transaction with priority fee 2025-01-13 17:37:05 +05:30
shivaji43
53ee654202 feat:added webhooks for live notifications 2025-01-13 17:37:05 +05:30
shivaji43
e09c6b5d0b fix:added solana tool in createSolanaTools 2025-01-13 17:37:04 +05:30
shivaji43
4a270c4a0d feat: send transaction with proiority fee 2025-01-13 17:37:04 +05:30
shivaji43
2de1a7365d added helius api key to config type 2025-01-13 17:37:04 +05:30
shivaji43
79bcad3a39 fix:changed .env.example 2025-01-13 17:37:04 +05:30
shivaji43
96608fd7a9 fix: removed unnecessary logs 2025-01-13 17:37:04 +05:30
shivaji43
418f55178a feat:parsing transactions and getting all Assets 2025-01-13 17:37:04 +05:30
shivaji43
58a9edd7e2 refactored code 2025-01-13 17:37:04 +05:30
aryan
fcbb2e18c6 chore: docs + version 2025-01-13 03:33:04 +05:30
aryan
4c4cbb013e chore: update contribution docs, unify squads tools, add actions (#191)
# Pull Request Description

## Changes Made
This PR adds the following changes:
<!-- List the key changes made in this PR -->
- Update contribution docs on how to add your own tool
- Update docs
- Unify squads tools
- Add actions for squads tools
- Add other missing actions
- Cleanup code
  
## Transaction executed by agent 
<!-- If applicable, provide example usage, transactions, or screenshots
-->
Example transaction: 

## 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
- [ ] I have added a transaction link
- [ ] I have added the prompt used to test it
2025-01-12 22:55:23 +05:30
aryan
87db99a996 Implement Discord bot starter template (#129)
# Pull Request Description

## Changes Made
This PR introduces a starter template example project for creating a
Discord Bot built to interact with the user and perform actions using
the Solana Agent Kit.

## Implementation Details
The bot uses the latest version of discord.js and has an ability to
process DMs on Discord, perform actions using the agent kit and reply
back to the user.

[Link to demo
video](https://bafybeidjub6alzloxx2on5df6j5dhfse7txemivcbjohxzlqkxuz5ymqlm.ipfs.web3approved.com/?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjaWQiOiJiYWZ5YmVpZGp1YjZhbHpsb3h4Mm9uNWRmNmo1ZGhmc2U3dHhlbWl2Y2Jqb2h4emxxa3h1ejV5bXFsbSIsInByb2plY3RfdXVpZCI6IjRlOTEzNjIzLTI0N2ItNDAwMC1iNjUwLTgyNzI0MzBhMzk3MCIsImlhdCI6MTczNTk4Njc5Niwic3ViIjoiSVBGUy10b2tlbiJ9.vF6R99GnycpALTbPPmVJUXWvqXHYGkhfBIMaF1wVvkk)

## 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-12 14:32:55 +05:30
Arihant Bansal
bb6d51471c feat: fix merge 2025-01-12 09:52:11 +05:30
aryan
8e2fe87c1c Added advanced telegram bot examples (#193)
# Pull Request Description

## Related Issue
Fixes #192 

## Changes Made
This PR adds the following changes:

Now we have the below detailed examples in the tg bot examples:

1. **Basic TG Bot**: This guide explains how to run a simple Solana
Agent Kit on a Telegram bot for a single user.

2. **Advanced TG Bot**: This guide includes advanced features such as:
    - Storing chat history for each user in a PostgreSQL database.
    - Maintaining a unique wallet for each user in a Firebase database.
    - Managing the chats of multiple users simultaneously.

3. **Group TG Bot**: This example demonstrates how to create a Telegram
bot using the Solana Agent Kit by Send AI. It includes advanced features
such as:
    - Storing chat history for each user in a PostgreSQL database.
    - Maintaining a unique wallet for each user in a Firebase database.
- This special bot can be run in Telegram groups and handle private
conversations, such as wallet addresses, in private chats. It works in
groups, maintains a separate context for each user, responds to each
user by tagging them, and can handle multiple requests simultaneously.
It will only reply if the bot is tagged in the group or its message is
replied to.

## Checklist
- [ x ] I have tested these changes locally
2025-01-12 02:56:46 +05:30
aryan
eb25c6b07b feat: move to tsx (#194)
Doing this because couple of folks (including myself) have faced issues
running `pnpm run test` on our local machines. `ts-node` has an open
issue on this, where it occasionally won't execute ESM files with the
new Typescript version (post v5.5)
https://github.com/TypeStrong/ts-node/issues/2086
2025-01-12 02:55:58 +05:30
aryan
dca508bda6 Refactored code to separate files protocol wise (#180)
Refactored code to separate files on a protocol folder basis and updated
agent code to be more maintainable..
This pull request was created for
https://app.gib.work/bounties/0b78790e-6d48-4ec3-b67f-46c96dac6b7d in an
attempt to solve a bounty #173 . Payment for the bounty is immediately
sent to the contributor after merge.
2025-01-12 02:51:32 +05:30
Arihant Bansal
338cc410ea feat: move to tsx 2025-01-12 00:16:13 +05:30
Arpit Singh Bhatia
14d4d468bb Minor changes 2025-01-11 23:50:21 +05:30
Arihant Bansal
8eb9e9be81 chore: docs 2025-01-11 23:33:36 +05:30
Arihant Bansal
ba9f6a9423 feat: add rest of squads actions 2025-01-11 23:33:14 +05:30
Arihant Bansal
ea6430129b feat: add more squads actions 2025-01-11 23:24:58 +05:30
Arihant Bansal
cd72af002e feat: add squads actions 2025-01-11 23:15:37 +05:30
Arihant Bansal
b93b961a9e fix 2025-01-11 23:04:53 +05:30
Arihant Bansal
b8d02de046 chore: fix contribution docs 2025-01-11 22:59:21 +05:30
Arihant Bansal
83a7616367 chore: combine all multisig tools in one 2025-01-11 22:44:45 +05:30
Arihant Bansal
9aa74ceab0 chore: remove unnecessary commented function 2025-01-11 22:39:52 +05:30
Arihant Bansal
80fb0c4d5f fix 2025-01-11 22:38:46 +05:30
0xCipherCoder
a6f9b05e2a Updated protocol name instead of library name 2025-01-11 21:27:54 +05:30
0xCipherCoder
af85a502e0 Removed types in solayer 2025-01-11 14:42:51 +05:30
0xCipherCoder
48c81ac7e0 Added fix for the issue 2025-01-11 14:41:55 +05:30
0xCipherCoder
f1b8a118ac Merged main 2025-01-11 10:09:56 +05:30
0xCipherCoder
04a27f974c Merged main 2025-01-11 10:09:09 +05:30
aryan
677d17491c chore: docs + lint 2025-01-11 02:29:52 +05:30
aryan
88023dfe2d Update browser wallet for Whirlpools SDK (#182)
# Pull Request Description

## Related Issue
Fixes # (issue number)

## Changes Made
This PR adds the following changes:
- Created a custom Wallet class to support browser use of Orca tools


## Transaction executed by agent 
Example transaction:
https://solscan.io/tx/GNmgxM4ZRHURDWcgmhLmBrSG5RgF9yw5B4jzEXzWX2jpNvCbUsQyaMdkkH77au7pisJ89hJdrcs8dv54U8H3J8V?cluster=devnet

## Prompt Used
Using Devnet
```
i want to open a single sided position in pool 7MghXMotsf9CLr6Z9obV8g9Kt2y1Mqn6wXm2mdPhRnMe
```
then provide details

## Additional Notes

## Checklist
- [x] I have tested these changes locally
- [ ] I have updated the documentation
- [x] I have added a transaction link
- [x] I have added the prompt used to test it
2025-01-11 02:27:33 +05:30
calintje
e5e25b0ab0 Fix 2025-01-10 20:39:43 +01:00
0xCipherCoder
3548321198 Removed tooling added 2025-01-10 19:33:55 +05:30
0xCipherCoder
054f825b97 Removed tooling added 2025-01-10 19:33:07 +05:30
0xCipherCoder
76bfa9764b Removed tooling added 2025-01-10 19:29:58 +05:30
0xCipherCoder
85eabc2263 Removed tooling added 2025-01-10 19:15:37 +05:30
0xCipherCoder
7032ed7d99 Added refactoring changes for agent, action and tools 2025-01-10 17:34:13 +05:30
Damjan Dimitrov
793330b0a1 Merge branch 'main' into main 2025-01-10 11:35:22 +01:00
aryan
fc92d443cf adding 2/2 multisig \w agent & user (#88)
# Pull Request Description

## Related Issue
Fixes #149 

## Changes Made
This PR adds the following changes:
- added create squads multisig
- deposit to multisig
- tx from multisig
- create proposal from multisig
- approve proposal from multisig
- reject proposal from multisig
- exexute proposal from multisig
  
## Implementation Details
<!-- Provide technical details about the implementation -->
- added `@sqds/multisig` sdk

## Tests are added in comment below

## Transaction Links:

https://explorer.solana.com/tx/4weMdQnnkV3SW3JAngdpZz3WEeugWni2ep2MP71KTbtLGHTLF7ok2EVKZP9Ug8T4twqr9HsB3tjLUyrGLnngzYVS?cluster=devnet

https://explorer.solana.com/tx/4QUxE5VQGWZw1LCYbj3BYtzGfn2o45Zk71K8LBkTva8hAdv4o1jUNEwWmuQRMJpXY9yKKwiwD59tZRh6oXgd4Jzc?cluster=devnet

https://explorer.solana.com/tx/TVuzkLBkCtJ5PvroXLnnW1PTeLMQ4R9NeoiHeoHhsGR2gJX3cLjq1Ndq6DVD72dQLLbJM6CqnJZDYu9VSp4YbxV?cluster=devnet

https://explorer.solana.com/tx/62PDfY46rGFezTnVCbDHUeCMyoVCEfWdGJWkkDhFL1GoAcfznWgCYXo2DnSgpgZu59vvYuaNj5C32bjAkNnJZvtJ?cluster=devnet

https://explorer.solana.com/tx/3Pxvyo2MVEEbqcPcQ6Q6ErFTEu9EGHPwgciMuXUXzLsB8XTdyCZbxfrscxJbCbW8DgRVA6AomTXX6Uup9Bnubzpu?cluster=devnet

https://explorer.solana.com/tx/5MyWxoTUzL3Zb4rStXzqsX1Cp3L3ToQdYyPq2sDDHBHsJV9idoHZYcKQjzfmgkGdwg3mtJZdUeywuTGvhcdvzkGU?cluster=devnet

https://explorer.solana.com/tx/3haMJ9EoLfDA7H5ACPb1K1A9Eyezfx9DtB2eCUgNE38CkQd95KtZNEjRopaMva2bqtRvTzRNqkLVvbVcu2Gjzphs?cluster=devnet

https://explorer.solana.com/tx/4Rn1AD9bUGwQzN661pexyPEffp25bUujRUXk18NvfxinZD12rrBLdeASdtnb7QnDfgvwkfzwk2akgU4Sf8ek7XwR?cluster=devnet

## 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-10 05:18:08 +05:30
aryan
5ba7178399 Merge branch 'main' into feat/squads_multisig 2025-01-10 05:17:46 +05:30
aryan
6c66606d59 feat: change jup api to fetch token directly (#122)
# Pull Request Description

## Related Issue
Fixes # (issue number)

## Changes Made
This PR adds the following changes:
<!-- List the key changes made in this PR -->
- change jup api to fetch token directly
  
## Implementation Details
<!-- Provide technical details about the implementation -->
doc api: https://station.jup.ag/docs/token-list/token-list-api

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

## Prompt Used
<!-- If relevant, include the prompt or configuration used -->
```
Get token data from either a token address or ticker symbol
```

## Additional Notes
<!-- Any additional information that reviewers should know -->
<img width="1455" alt="image"
src="https://github.com/user-attachments/assets/1a95ec16-ad10-461e-8ca9-90f4f89616aa"
/>


## Checklist
- [x] I have tested these changes locally
- [ ] I have updated the documentation
- [ ] I have added a transaction link
- [x] I have added the prompt used to test it
2025-01-10 05:02:39 +05:30
A91y
06e025c1a8 Merge branch 'main' into feat/squads_multisig 2025-01-08 22:58:50 +05:30
aryan
75af298812 fix: lint 2025-01-08 22:43:27 +05:30
aryan
9540f48cd6 Feat: Add Docs to Readme (#162)
# Pull Request Description
Add Docs link to Readme
2025-01-07 20:24:00 +05:30
Scriptscrypt
e8338d1acc Fix: Readme 2025-01-07 20:21:28 +05:30