feat: langchain tool

This commit is contained in:
aryan
2024-12-19 06:27:59 +05:30
parent 1b7f657734
commit 6ab20f85cc
4 changed files with 1430 additions and 1177 deletions

View File

@@ -49,13 +49,13 @@ export class SolanaAgentKit {
}
async deployToken(
decimals: number = DEFAULT_OPTIONS.TOKEN_DECIMALS,
name: string,
uri: string,
symbol: string,
decimals: number = DEFAULT_OPTIONS.TOKEN_DECIMALS,
initialSupply?: number,
) {
return deploy_token(this, decimals, name, uri, symbol, initialSupply);
return deploy_token(this, name, uri, symbol, decimals, initialSupply);
}
async deployCollection(options: CollectionOptions) {