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`
This commit is contained in:
aryan
2024-12-31 14:52:13 +05:30
committed by GitHub
8 changed files with 15 additions and 16 deletions

View File

@@ -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

View File

@@ -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

View File

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

View File

@@ -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.
@@ -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.
@@ -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) {
@@ -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),