@rickydata/agent0-mcp 0.2.0 → 0.3.0
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.
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* 3. The derived key is used for agent0-sdk write operations
|
|
12
12
|
*/
|
|
13
13
|
import { hkdf } from "@noble/hashes/hkdf";
|
|
14
|
-
import { sha256 } from "@noble/hashes/
|
|
14
|
+
import { sha256 } from "@noble/hashes/sha256";
|
|
15
15
|
import { ethers } from "ethers";
|
|
16
16
|
/**
|
|
17
17
|
* The deterministic signing message used to derive the key.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet-derivation.js","sourceRoot":"","sources":["../../src/auth/wallet-derivation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"wallet-derivation.js","sourceRoot":"","sources":["../../src/auth/wallet-derivation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAOhC;;;;GAIG;AACH,MAAM,kBAAkB,GACtB,0DAA0D;IAC1D,oEAAoE;IACpE,6CAA6C;IAC7C,2CAA2C,CAAC;AAE9C;;GAEG;AACH,MAAM,UAAU,oBAAoB;IAClC,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,yBAAyB,CAAC,SAAiB;IACzD,IAAI,CAAC,SAAS,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9C,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;IAC9E,CAAC;IAED,6BAA6B;IAC7B,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IAE5C,yBAAyB;IACzB,6CAA6C;IAC7C,sDAAsD;IACtD,MAAM,IAAI,GAAG,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;IACxD,MAAM,IAAI,GAAG,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;IACtD,MAAM,eAAe,GAAG,IAAI,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;IAE/D,wCAAwC;IACxC,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;IACnD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IAE7C,OAAO;QACL,OAAO,EAAE,MAAM,CAAC,OAAO;QACvB,UAAU;KACX,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,yBAAyB,CACvC,SAAiB,EACjB,eAAuB;IAEvB,IAAI,CAAC;QACH,MAAM,SAAS,GAAG,MAAM,CAAC,aAAa,CAAC,kBAAkB,EAAE,SAAS,CAAC,CAAC;QACtE,OAAO,SAAS,CAAC,WAAW,EAAE,KAAK,eAAe,CAAC,WAAW,EAAE,CAAC;IACnE,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rickydata/agent0-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "MCP server wrapping Agent0 SDK for ERC-8004 trustless agent operations",
|
|
6
6
|
"type": "module",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
23
|
+
"@noble/hashes": "^1.7.0",
|
|
23
24
|
"agent0-sdk": "^1.7.1",
|
|
24
25
|
"cors": "^2.8.5",
|
|
25
26
|
"ethers": "^6.16.0",
|
|
@@ -27,7 +28,6 @@
|
|
|
27
28
|
"zod": "^3.24.0"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
30
|
-
"@noble/hashes": "^1.7.0",
|
|
31
31
|
"@types/cors": "^2.8.17",
|
|
32
32
|
"@types/express": "^5.0.0",
|
|
33
33
|
"@types/node": "^22.10.2",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* 3. The derived key is used for agent0-sdk write operations
|
|
12
12
|
*/
|
|
13
13
|
import { hkdf } from "@noble/hashes/hkdf";
|
|
14
|
-
import { sha256 } from "@noble/hashes/
|
|
14
|
+
import { sha256 } from "@noble/hashes/sha256";
|
|
15
15
|
import { ethers } from "ethers";
|
|
16
16
|
|
|
17
17
|
export interface DerivedWallet {
|