# 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
## 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
# 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
# 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`
# 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
# Pull Request Description
## Changes Made
Upgraded NPM dependencies to keep up to date.
The upgrades do not affect any specific SDKs, they upgrade the langchain
and openai SDK as well as other devDependencies
# Pull Request Description
Added a Telegram bot starter example, with steps on how to run and host
it successfully.
## Related Issue
Fixes#83
## Changes Made
This PR adds the following changes:
- Adds an example on how we can use agent kit in a telegram bot using
nextjs
-
## Implementation Details
- Used next js and ngrok or vercel to host the bot and telegram bot api
to have it.
## Transaction executed by agent
Yes it is able to do everything.
## Prompt Used
NA
## Additional Notes
NA
## Checklist
- [ x ] I have tested these changes locally
# Pull Request Description
## Related Issue
Implements #60
## Changes Made
This PR adds the following changes:
- Added `getBalanceOther` method in `SolanaAgentKit` class
- Implemented `get_balance_other` tool
## Implementation Details
- This tool enables the agent to query SOL and SPL token balances of
other wallets
## Prompt Used
```
Prompt: What is the SOL balance of HHELE9Q7LsARJACq7cMCkoPStjZUomn4JphdHUMyK3op?
-------------------
{"status":"success","balance":49.893951194,"wallet":"HHELE9Q7LsARJACq7cMCkoPStjZUomn4JphdHUMyK3op","token":"SOL"}
-------------------
The wallet balance of HHELE9Q7LsARJACq7cMCkoPStjZUomn4JphdHUMyK3op is approximately 49.89 SOL.
-------------------
Prompt: Now get the balance of sSo14endRuUbvQaJS3dq36Q829a3A6BEfoeeRGJywEh token for that same wallet
-------------------
{"status":"success","balance":60.338328396,"wallet":"HHELE9Q7LsARJACq7cMCkoPStjZUomn4JphdHUMyK3op","token":"sSo14endRuUbvQaJS3dq36Q829a3A6BEfoeeRGJywEh"}
-------------------
The balance of the token sSo14endRuUbvQaJS3dq36Q829a3A6BEfoeeRGJywEh in the wallet HHELE9Q7LsARJACq7cMCkoPStjZUomn4JphdHUMyK3op is approximately 60.34 tokens.
-------------------
```
## Checklist
- [x] I have tested these changes locally
- [x] I have updated the documentation
~~- [ ] I have added a transaction link~~
- [x] I have added the prompt used to test it