@kasarlabs/argent-mcp 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lib/utils/AccountManager.d.ts +1 -1
- package/build/lib/utils/AccountManager.js +10 -2
- package/build/lib/utils/AccountManager.js.map +1 -1
- package/build/tools/createAccount.d.ts +2 -35
- package/build/tools/createAccount.js +6 -29
- package/build/tools/createAccount.js.map +1 -1
- package/build/tools/deployAccount.d.ts +2 -27
- package/build/tools/deployAccount.js +5 -23
- package/build/tools/deployAccount.js.map +1 -1
- package/package.json +5 -5
|
@@ -4,6 +4,6 @@ export declare class AccountManager implements BaseUtilityClass {
|
|
|
4
4
|
constructor(provider: any);
|
|
5
5
|
createAccount(accountClassHash: string): Promise<AccountDetails>;
|
|
6
6
|
deployAccount(accountClassHash: string, accountDetails: AccountDetails): Promise<TransactionResult>;
|
|
7
|
-
estimateAccountDeployFee(accountClassHash: string, accountDetails: AccountDetails): Promise<import("starknet").
|
|
7
|
+
estimateAccountDeployFee(accountClassHash: string, accountDetails: AccountDetails): Promise<import("starknet").EstimateFeeResponseOverhead>;
|
|
8
8
|
}
|
|
9
9
|
export declare const wrapAccountCreationResponse: (response: string) => string;
|
|
@@ -26,7 +26,11 @@ export class AccountManager {
|
|
|
26
26
|
}
|
|
27
27
|
async deployAccount(accountClassHash, accountDetails) {
|
|
28
28
|
try {
|
|
29
|
-
const account = new Account(
|
|
29
|
+
const account = new Account({
|
|
30
|
+
provider: this.provider,
|
|
31
|
+
address: accountDetails.contractAddress,
|
|
32
|
+
signer: accountDetails.privateKey,
|
|
33
|
+
});
|
|
30
34
|
const axSigner = new CairoCustomEnum({
|
|
31
35
|
Starknet: { pubkey: accountDetails.publicKey },
|
|
32
36
|
});
|
|
@@ -54,7 +58,11 @@ export class AccountManager {
|
|
|
54
58
|
}
|
|
55
59
|
async estimateAccountDeployFee(accountClassHash, accountDetails) {
|
|
56
60
|
try {
|
|
57
|
-
const account = new Account(
|
|
61
|
+
const account = new Account({
|
|
62
|
+
provider: this.provider,
|
|
63
|
+
address: accountDetails.contractAddress,
|
|
64
|
+
signer: accountDetails.privateKey,
|
|
65
|
+
});
|
|
58
66
|
const axSigner = new CairoCustomEnum({
|
|
59
67
|
Starknet: { pubkey: accountDetails.publicKey },
|
|
60
68
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountManager.js","sourceRoot":"","sources":["../../../src/lib/utils/AccountManager.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,EAAE,EACF,WAAW,EACX,kBAAkB,EAClB,eAAe,GAChB,MAAM,UAAU,CAAC;AAclB,MAAM,OAAO,cAAc;IACzB,YAAmB,QAAa;QAAb,aAAQ,GAAR,QAAQ,CAAK;IAAG,CAAC;IAUpC,KAAK,CAAC,aAAa,CAAC,gBAAwB;QAC1C,IAAI,CAAC;YACH,MAAM,UAAU,GAAG,KAAK,CAAC,aAAa,EAAE,CAAC;YACzC,MAAM,SAAS,GAAG,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;YAExD,MAAM,QAAQ,GAAG,IAAI,eAAe,CAAC,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,CAAC,CAAC;YAC1E,MAAM,UAAU,GAAG,IAAI,WAAW,CAAU,kBAAkB,CAAC,IAAI,CAAC,CAAC;YACrE,MAAM,mBAAmB,GAAG,QAAQ,CAAC,OAAO,CAAC;gBAC3C,KAAK,EAAE,QAAQ;gBACf,QAAQ,EAAE,UAAU;aACrB,CAAC,CAAC;YAEH,MAAM,eAAe,GAAG,IAAI,CAAC,gCAAgC,CAC3D,SAAS,EACT,gBAAgB,EAChB,mBAAmB,EACnB,CAAC,CACF,CAAC;YAEF,OAAO;gBACL,eAAe;gBACf,UAAU;gBACV,SAAS;aACV,CAAC;QACJ,CAAC;QAAC,OA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BAAiB,IAAI,CAAC,SAAS,kBAAkB,IAAI,CAAC,UAAU,EAAE;aAChK,CAAC,CAAC;QACL,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,QAAQ,CAAC;IAClB,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -1,35 +1,2 @@
|
|
|
1
|
-
import { onchainRead } from '@kasarlabs/ask-starknet-core';
|
|
2
|
-
export declare const CreateArgentAccount: (env: onchainRead) => Promise<
|
|
3
|
-
status: string;
|
|
4
|
-
wallet: string;
|
|
5
|
-
publicKey: string;
|
|
6
|
-
privateKey: string;
|
|
7
|
-
contractAddress: string;
|
|
8
|
-
error?: undefined;
|
|
9
|
-
} | {
|
|
10
|
-
status: string;
|
|
11
|
-
error: string;
|
|
12
|
-
wallet?: undefined;
|
|
13
|
-
publicKey?: undefined;
|
|
14
|
-
privateKey?: undefined;
|
|
15
|
-
contractAddress?: undefined;
|
|
16
|
-
}>;
|
|
17
|
-
export declare const CreateArgentAccountSignature: () => Promise<{
|
|
18
|
-
status: string;
|
|
19
|
-
transaction_type: string;
|
|
20
|
-
wallet: string;
|
|
21
|
-
publicKey: string;
|
|
22
|
-
privateKey: string;
|
|
23
|
-
contractAddress: string;
|
|
24
|
-
deployFee: string;
|
|
25
|
-
error?: undefined;
|
|
26
|
-
} | {
|
|
27
|
-
status: string;
|
|
28
|
-
error: string;
|
|
29
|
-
transaction_type?: undefined;
|
|
30
|
-
wallet?: undefined;
|
|
31
|
-
publicKey?: undefined;
|
|
32
|
-
privateKey?: undefined;
|
|
33
|
-
contractAddress?: undefined;
|
|
34
|
-
deployFee?: undefined;
|
|
35
|
-
}>;
|
|
1
|
+
import { onchainRead, toolResult } from '@kasarlabs/ask-starknet-core';
|
|
2
|
+
export declare const CreateArgentAccount: (env: onchainRead) => Promise<toolResult>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { RpcProvider } from 'starknet';
|
|
2
1
|
import { ARGENT_CLASS_HASH } from '../lib/constant/contract.js';
|
|
3
2
|
import { AccountManager } from '../lib/utils/AccountManager.js';
|
|
4
3
|
export const CreateArgentAccount = async (env) => {
|
|
@@ -7,34 +6,12 @@ export const CreateArgentAccount = async (env) => {
|
|
|
7
6
|
const accountDetails = await accountManager.createAccount(ARGENT_CLASS_HASH);
|
|
8
7
|
return {
|
|
9
8
|
status: 'success',
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
catch (error) {
|
|
17
|
-
return {
|
|
18
|
-
status: 'failure',
|
|
19
|
-
error: error instanceof Error ? error.message : 'Unknown error',
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
export const CreateArgentAccountSignature = async () => {
|
|
24
|
-
try {
|
|
25
|
-
const provider = new RpcProvider({ nodeUrl: process.env.STARKNET_RPC_URL });
|
|
26
|
-
const accountManager = new AccountManager(provider);
|
|
27
|
-
const accountDetails = await accountManager.createAccount(ARGENT_CLASS_HASH);
|
|
28
|
-
const suggestedMaxFee = await accountManager.estimateAccountDeployFee(ARGENT_CLASS_HASH, accountDetails);
|
|
29
|
-
const maxFee = suggestedMaxFee.suggestedMaxFee * 2n;
|
|
30
|
-
return {
|
|
31
|
-
status: 'success',
|
|
32
|
-
transaction_type: 'CREATE_ACCOUNT',
|
|
33
|
-
wallet: 'AX',
|
|
34
|
-
publicKey: accountDetails.publicKey,
|
|
35
|
-
privateKey: accountDetails.privateKey,
|
|
36
|
-
contractAddress: accountDetails.contractAddress,
|
|
37
|
-
deployFee: maxFee.toString(),
|
|
9
|
+
data: {
|
|
10
|
+
wallet: 'AX',
|
|
11
|
+
publicKey: accountDetails.publicKey,
|
|
12
|
+
privateKey: accountDetails.privateKey,
|
|
13
|
+
contractAddress: accountDetails.contractAddress,
|
|
14
|
+
},
|
|
38
15
|
};
|
|
39
16
|
}
|
|
40
17
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAccount.js","sourceRoot":"","sources":["../../src/tools/createAccount.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createAccount.js","sourceRoot":"","sources":["../../src/tools/createAccount.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAWhE,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,EACtC,GAAgB,EACK,EAAE;IACvB,IAAI,CAAC;QACH,MAAM,cAAc,GAAG,IAAI,cAAc,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QACxD,MAAM,cAAc,GAClB,MAAM,cAAc,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;QAExD,OAAO;YACL,MAAM,EAAE,SAAS;YACjB,IAAI,EAAE;gBACJ,MAAM,EAAE,IAAI;gBACZ,SAAS,EAAE,cAAc,CAAC,SAAS;gBACnC,UAAU,EAAE,cAAc,CAAC,UAAU;gBACrC,eAAe,EAAE,cAAc,CAAC,eAAe;aAChD;SACF,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO;YACL,MAAM,EAAE,SAAS;YACjB,KAAK,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe;SAChE,CAAC;IACJ,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -1,29 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { accountDetailsSchema } from '../schemas/schema.js';
|
|
3
|
-
import { onchainRead } from '@kasarlabs/ask-starknet-core';
|
|
4
|
-
export declare const DeployArgentAccount: (env: onchainRead, params: z.infer<typeof accountDetailsSchema>) => Promise<
|
|
5
|
-
status: string;
|
|
6
|
-
wallet: string;
|
|
7
|
-
transaction_hash: string | undefined;
|
|
8
|
-
contract_address: string | undefined;
|
|
9
|
-
error?: undefined;
|
|
10
|
-
} | {
|
|
11
|
-
status: string;
|
|
12
|
-
error: string;
|
|
13
|
-
wallet?: undefined;
|
|
14
|
-
transaction_hash?: undefined;
|
|
15
|
-
contract_address?: undefined;
|
|
16
|
-
}>;
|
|
17
|
-
export declare const DeployArgentAccountSignature: (params: z.infer<typeof accountDetailsSchema>) => Promise<{
|
|
18
|
-
status: string;
|
|
19
|
-
wallet: string;
|
|
20
|
-
transaction_hash: string | undefined;
|
|
21
|
-
contract_address: string | undefined;
|
|
22
|
-
error?: undefined;
|
|
23
|
-
} | {
|
|
24
|
-
status: string;
|
|
25
|
-
error: string;
|
|
26
|
-
wallet?: undefined;
|
|
27
|
-
transaction_hash?: undefined;
|
|
28
|
-
contract_address?: undefined;
|
|
29
|
-
}>;
|
|
3
|
+
import { onchainRead, toolResult } from '@kasarlabs/ask-starknet-core';
|
|
4
|
+
export declare const DeployArgentAccount: (env: onchainRead, params: z.infer<typeof accountDetailsSchema>) => Promise<toolResult>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { RpcProvider } from 'starknet';
|
|
2
1
|
import { ARGENT_CLASS_HASH } from '../lib/constant/contract.js';
|
|
3
2
|
import { AccountManager } from '../lib/utils/AccountManager.js';
|
|
4
3
|
export const DeployArgentAccount = async (env, params) => {
|
|
@@ -7,28 +6,11 @@ export const DeployArgentAccount = async (env, params) => {
|
|
|
7
6
|
const tx = await accountManager.deployAccount(ARGENT_CLASS_HASH, params);
|
|
8
7
|
return {
|
|
9
8
|
status: 'success',
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
catch (error) {
|
|
16
|
-
return {
|
|
17
|
-
status: 'failure',
|
|
18
|
-
error: error instanceof Error ? error.message : 'Unknown error',
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
export const DeployArgentAccountSignature = async (params) => {
|
|
23
|
-
try {
|
|
24
|
-
const provider = new RpcProvider({ nodeUrl: process.env.STARKNET_RPC_URL });
|
|
25
|
-
const accountManager = new AccountManager(provider);
|
|
26
|
-
const tx = await accountManager.deployAccount(ARGENT_CLASS_HASH, params);
|
|
27
|
-
return {
|
|
28
|
-
status: 'success',
|
|
29
|
-
wallet: 'AX',
|
|
30
|
-
transaction_hash: tx.transactionHash,
|
|
31
|
-
contract_address: tx.contractAddress,
|
|
9
|
+
data: {
|
|
10
|
+
wallet: 'AX',
|
|
11
|
+
transaction_hash: tx.transactionHash,
|
|
12
|
+
contract_address: tx.contractAddress,
|
|
13
|
+
},
|
|
32
14
|
};
|
|
33
15
|
}
|
|
34
16
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployAccount.js","sourceRoot":"","sources":["../../src/tools/deployAccount.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"deployAccount.js","sourceRoot":"","sources":["../../src/tools/deployAccount.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAahE,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,EACtC,GAAgB,EAChB,MAA4C,EACvB,EAAE;IACvB,IAAI,CAAC;QACH,MAAM,cAAc,GAAG,IAAI,cAAc,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QACxD,MAAM,EAAE,GAAG,MAAM,cAAc,CAAC,aAAa,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;QAEzE,OAAO;YACL,MAAM,EAAE,SAAS;YACjB,IAAI,EAAE;gBACJ,MAAM,EAAE,IAAI;gBACZ,gBAAgB,EAAE,EAAE,CAAC,eAAe;gBACpC,gBAAgB,EAAE,EAAE,CAAC,eAAe;aACrC;SACF,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO;YACL,MAAM,EAAE,SAAS;YACjB,KAAK,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe;SAChE,CAAC;IACJ,CAAC;AACH,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kasarlabs/argent-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"build"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@kasarlabs/ask-starknet-core": "0.1.
|
|
19
|
+
"@kasarlabs/ask-starknet-core": "0.1.3",
|
|
20
20
|
"@langchain/core": "^0.3.75",
|
|
21
|
-
"@modelcontextprotocol/sdk": "
|
|
21
|
+
"@modelcontextprotocol/sdk": "1.22.0",
|
|
22
22
|
"dotenv": "^16.4.7",
|
|
23
|
-
"starknet": "
|
|
23
|
+
"starknet": "8.6.0",
|
|
24
24
|
"winston": "^3.17.0",
|
|
25
25
|
"zod": "^3.24.2"
|
|
26
26
|
},
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "bfb4d4b055bbfa15b8e745d414adf52ac5e158fb"
|
|
43
43
|
}
|