From df386a8cbd3e5245307bdf53047e0874ab8de80c Mon Sep 17 00:00:00 2001 From: krill Date: Tue, 31 Dec 2024 12:02:55 +0900 Subject: [PATCH 1/4] :memo: fix typos --- README.md | 4 ++-- examples/tg-bot-starter/README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c917201..78259f9 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Anyone - whether an SF-based AI researcher or a crypto-native builder - can brin - Launch on Pump via PumpPortal - Raydium pool creation (CPMM, CLMM, AMMv4) - Orca Whirlpool integration - - Meteora Dynamic AMM, DLMM Pool, and Alpga Vault + - Meteora Dynamic AMM, DLMM Pool, and Alpha Vault - Openbook market creation - Register and Resolve SNS - Jito Bundles @@ -55,7 +55,7 @@ Anyone - whether an SF-based AI researcher or a crypto-native builder - can brin - Register/resolve Alldomains - **Solana Blinks** - - Lending by Lulon (Best APR for USDC) + - Lending by Lulo (Best APR for USDC) - Send Arcade Games - JupSOL staking diff --git a/examples/tg-bot-starter/README.md b/examples/tg-bot-starter/README.md index 3d54e91..2c0e760 100644 --- a/examples/tg-bot-starter/README.md +++ b/examples/tg-bot-starter/README.md @@ -20,5 +20,5 @@ You can check [here](https://help.zoho.com/portal/en/kb/desk/support-channels/in - You can host it on Vercel too as we have used NextJs in this. - Once the URL is set successfully, you will see this ``` {"ok":true,"result":true,"description":"Webhook was set"} ``` -Done!!! Congrtulations you just hosted Solana Agent Kit on a Telegram bot. +Done!!! Congratulations you just hosted Solana Agent Kit on a Telegram bot. From 0e6b78b971ab7b56b18188cd584cf8e67854f095 Mon Sep 17 00:00:00 2001 From: krill Date: Tue, 31 Dec 2024 12:04:11 +0900 Subject: [PATCH 2/4] :truck: fix more typos; rename example --- .../{persistance-agent => persistent-agent}/.env.example | 0 .../{persistance-agent => persistent-agent}/README.md | 8 ++++---- examples/{persistance-agent => persistent-agent}/index.ts | 0 .../{persistance-agent => persistent-agent}/package.json | 0 .../pnpm-lock.yaml | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename examples/{persistance-agent => persistent-agent}/.env.example (100%) rename examples/{persistance-agent => persistent-agent}/README.md (92%) rename examples/{persistance-agent => persistent-agent}/index.ts (100%) rename examples/{persistance-agent => persistent-agent}/package.json (100%) rename examples/{persistance-agent => persistent-agent}/pnpm-lock.yaml (100%) diff --git a/examples/persistance-agent/.env.example b/examples/persistent-agent/.env.example similarity index 100% rename from examples/persistance-agent/.env.example rename to examples/persistent-agent/.env.example diff --git a/examples/persistance-agent/README.md b/examples/persistent-agent/README.md similarity index 92% rename from examples/persistance-agent/README.md rename to examples/persistent-agent/README.md index e451c29..1ba4d37 100644 --- a/examples/persistance-agent/README.md +++ b/examples/persistent-agent/README.md @@ -15,7 +15,7 @@ To use this feature, ensure you have the following: 1. **PostgreSQL Database URL**: Create and host ur PostgreSQL databse and enter the URL. It will be of the format "postgresql://user:password@localhost:5432/db" -## Before applying persistance +## Without persistence ``` Available modes: 1. chat @@ -27,7 +27,7 @@ Starting chat mode... Type 'exit' to end. Prompt: i am arpit Hello Arpit! How can I assist you today? Prompt: ^С -® arpitsingh Mac persistance-agent & ts-node index.ts +® arpitsingh Mac persistent-agent & ts-node index.ts Starting Agent... Available modes: 1. chat @@ -39,7 +39,7 @@ Starting chat mode... Type 'exit' to end. Prompt: do u know my name I don't know your name yet. If you'd like, you can share it. ``` -## After applying persistence +## With persistence ``` Available modes: 1. chat @@ -51,7 +51,7 @@ Starting chat mode... Type 'exit' to end. Prompt: i am arpit Hello Arpit! How can I assist you today? Prompt: ^С -® arpitsingh Mac persistance-agent & ts-node index.ts +® arpitsingh Mac persistent-agent & ts-node index.ts Starting Agent... Available modes: 1. chat diff --git a/examples/persistance-agent/index.ts b/examples/persistent-agent/index.ts similarity index 100% rename from examples/persistance-agent/index.ts rename to examples/persistent-agent/index.ts diff --git a/examples/persistance-agent/package.json b/examples/persistent-agent/package.json similarity index 100% rename from examples/persistance-agent/package.json rename to examples/persistent-agent/package.json diff --git a/examples/persistance-agent/pnpm-lock.yaml b/examples/persistent-agent/pnpm-lock.yaml similarity index 100% rename from examples/persistance-agent/pnpm-lock.yaml rename to examples/persistent-agent/pnpm-lock.yaml From 38a88239caba4a439f49fc61ccadbf8d33d0a225 Mon Sep 17 00:00:00 2001 From: krill Date: Tue, 31 Dec 2024 12:26:17 +0900 Subject: [PATCH 3/4] :necktie: fix typo in func name --- src/langchain/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/langchain/index.ts b/src/langchain/index.ts index abd7f88..4f10a9c 100644 --- a/src/langchain/index.ts +++ b/src/langchain/index.ts @@ -796,7 +796,7 @@ export class SolanaCompressedAirdropTool extends Tool { } } -export class SolanaClosePostition extends Tool { +export class SolanaClosePosition extends Tool { name = "orca_close_position"; description = `Closes an existing liquidity position in an Orca Whirlpool. This function fetches the position details using the provided mint address and closes the position with a 1% slippage. @@ -1644,7 +1644,6 @@ export class SolanaListNFTForSaleTool extends Tool { } } - export class SolanaCancelNFTListingTool extends Tool { name = "solana_cancel_nft_listing"; description = `Cancel an NFT listing on Tensor Trade. @@ -1706,7 +1705,7 @@ export function createSolanaTools(solanaKit: SolanaAgentKit) { new SolanaRaydiumCreateClmm(solanaKit), new SolanaRaydiumCreateCpmm(solanaKit), new SolanaOpenbookCreateMarket(solanaKit), - new SolanaClosePostition(solanaKit), + new SolanaClosePosition(solanaKit), new SolanaOrcaCreateCLMM(solanaKit), new SolanaOrcaCreateSingleSideLiquidityPool(solanaKit), new SolanaOrcaFetchPositions(solanaKit), From fcdf174ce87196323e177cf4559172262daa854d Mon Sep 17 00:00:00 2001 From: krill Date: Tue, 31 Dec 2024 12:25:24 +0900 Subject: [PATCH 4/4] :memo: fix some more typos and grammar --- src/langchain/index.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/langchain/index.ts b/src/langchain/index.ts index 4f10a9c..e044c3b 100644 --- a/src/langchain/index.ts +++ b/src/langchain/index.ts @@ -46,7 +46,7 @@ export class SolanaBalanceTool extends Tool { export class SolanaBalanceOtherTool extends Tool { name = "solana_balance_other"; - description = `Get the balance of a Solana wallet or token account different from the agent's wallet. + description = `Get the balance of a Solana wallet or token account which is different from the agent's wallet. If no tokenAddress is provided, the SOL balance of the wallet will be returned. @@ -1078,7 +1078,7 @@ export class SolanaOrcaOpenSingleSidedPosition extends Tool { export class SolanaRaydiumCreateAmmV4 extends Tool { name = "raydium_create_ammV4"; - description = `Raydium's Legacy AMM that requiers an OpenBook marketID + description = `Raydium's Legacy AMM that requires an OpenBook marketID Inputs (input is a json string): marketId: string (required) @@ -1104,7 +1104,7 @@ export class SolanaRaydiumCreateAmmV4 extends Tool { return JSON.stringify({ status: "success", - message: "Create raydium amm v4 pool successfully", + message: "Raydium amm v4 pool created successfully", transaction: tx, }); } catch (error: any) { @@ -1149,7 +1149,7 @@ export class SolanaRaydiumCreateClmm extends Tool { return JSON.stringify({ status: "success", - message: "Create raydium clmm pool successfully", + message: "Raydium clmm pool created successfully", transaction: tx, }); } catch (error: any) { @@ -1197,7 +1197,7 @@ export class SolanaRaydiumCreateCpmm extends Tool { return JSON.stringify({ status: "success", - message: "Create raydium cpmm pool successfully", + message: "Raydium cpmm pool created successfully", transaction: tx, }); } catch (error: any) { @@ -1239,7 +1239,7 @@ export class SolanaOpenbookCreateMarket extends Tool { return JSON.stringify({ status: "success", - message: "Create openbook market successfully", + message: "Openbook market created successfully", transaction: tx, }); } catch (error: any) {