feat: added langchain class, refactored methods to use tlb parser, wrote and ran tests

This commit is contained in:
adpthegreat
2024-12-21 20:53:00 +01:00
parent beaf061929
commit cdec8ed32d
15 changed files with 884 additions and 154 deletions

View File

@@ -7,7 +7,7 @@
"scripts": {
"build": "tsc",
"docs": "typedoc src --out docs",
"test": "ts-node test/index.ts",
"test": "ts-node test/**/*.ts",
"generate": "ts-node src/utils/keypair.ts"
},
"engines": {
@@ -32,6 +32,7 @@
"@metaplex-foundation/umi": "^0.9.2",
"@metaplex-foundation/umi-bundle-defaults": "^0.9.2",
"@metaplex-foundation/umi-web3js-adapters": "^0.9.2",
"@onsol/tldparser": "^0.6.7",
"@orca-so/common-sdk": "0.6.4",
"@orca-so/whirlpools-sdk": "^0.13.12",
"@raydium-io/raydium-sdk-v2": "0.1.95-alpha",
@@ -39,6 +40,7 @@
"@solana/web3.js": "^1.95.4",
"bn.js": "^5.2.1",
"bs58": "^6.0.0",
"chai": "^5.1.2",
"decimal.js": "^10.4.3",
"dotenv": "^16.4.5",
"form-data": "^4.0.1",
@@ -48,6 +50,7 @@
},
"devDependencies": {
"@types/bn.js": "^5.1.5",
"@types/chai": "^5.0.1",
"@types/node": "^22.9.0",
"ts-node": "^10.9.2",
"typescript": "^5.7.2"