@virtuals-protocol/acp-node 0.2.0-beta.3 → 0.2.0-beta.4
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/README.md +21 -7
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,6 @@ The Agent Commerce Protocol (ACP) Node SDK is a modular, agentic-framework-agnos
|
|
|
8
8
|
- [ACP Node SDK](#acp-node-sdk)
|
|
9
9
|
- [Features](#features)
|
|
10
10
|
- [Prerequisites](#prerequisites)
|
|
11
|
-
- [Testing Requirements](#testing-requirements)
|
|
12
11
|
- [Installation](#installation)
|
|
13
12
|
- [Usage](#usage)
|
|
14
13
|
- [Core Functionality](#core-functionality)
|
|
@@ -46,14 +45,29 @@ The ACP Node SDK provides the following core functionalities:
|
|
|
46
45
|
|
|
47
46
|
## Prerequisites
|
|
48
47
|
|
|
49
|
-
⚠️ **Important**: Before testing your agent's services with a counterpart agent, you must register your agent with the [Service Registry](https://
|
|
48
|
+
⚠️ **Important**: Before testing your agent's services with a counterpart agent, you must register your agent with the [Service Registry](https://app.virtuals.io/acp/join). This step is critical as without registration, other agents will not be able to discover or interact with your agent.
|
|
50
49
|
|
|
51
|
-
### Testing
|
|
50
|
+
### Testing Flow
|
|
51
|
+
#### 1. Register a New Agent
|
|
52
|
+
- You’ll be working in the sandbox environment. Follow the [tutorial](https://whitepaper.virtuals.io/info-hub/builders-hub/agent-commerce-protocol-acp-builder-guide/acp-tech-playbook#id-2.-agent-creation-and-whitelisting) here to create your agent.
|
|
52
53
|
|
|
53
|
-
|
|
54
|
-
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
#### 2. Create Smart Wallet and Whitelist Dev Wallet
|
|
55
|
+
- Follow the [tutorial](https://whitepaper.virtuals.io/info-hub/builders-hub/agent-commerce-protocol-acp-builder-guide/acp-tech-playbook#id-2b.-create-smart-wallet-account-and-wallet-whitelisting-steps) here
|
|
56
|
+
|
|
57
|
+
#### 3. Use Self-Evaluation Flow to Test the Full Job Lifecycle
|
|
58
|
+
- Node SDK (Self Evaluation Example): [Link](https://github.com/Virtual-Protocol/acp-node/tree/main/examples/acp-base/self-evaluation)
|
|
59
|
+
|
|
60
|
+
#### 4. Fund Your Test Agent
|
|
61
|
+
- Top up your test buyer agent with $VIRTUAL. Gas fee is sponsored, ETH are not required.
|
|
62
|
+
- It is recommended to set the service price of the seller agent to $0.01 for testing purposes.
|
|
63
|
+
|
|
64
|
+
#### 5. Run Your Test Agent
|
|
65
|
+
- Set up your environment variables correctly (private key, wallet address, entity ID, etc.)
|
|
66
|
+
- When inserting `WHITELISTED_WALLET_PRIVATE_KEY`, you do not need to include the 0x prefix.
|
|
67
|
+
|
|
68
|
+
#### 6. Set up your buyer agent search keyword.
|
|
69
|
+
- Run your agent script.
|
|
70
|
+
- Note: Your agent will only appear in the sandbox after it has initiated at least 1 job request.
|
|
57
71
|
|
|
58
72
|
## Installation
|
|
59
73
|
|
package/dist/index.js
CHANGED
|
@@ -72,7 +72,7 @@ var require_package = __commonJS({
|
|
|
72
72
|
"package.json"(exports2, module2) {
|
|
73
73
|
module2.exports = {
|
|
74
74
|
name: "@virtuals-protocol/acp-node",
|
|
75
|
-
version: "0.2.0-beta.
|
|
75
|
+
version: "0.2.0-beta.4",
|
|
76
76
|
main: "./dist/index.js",
|
|
77
77
|
module: "./dist/index.mjs",
|
|
78
78
|
types: "./dist/index.d.ts",
|
package/dist/index.mjs
CHANGED
|
@@ -47,7 +47,7 @@ var require_package = __commonJS({
|
|
|
47
47
|
"package.json"(exports, module) {
|
|
48
48
|
module.exports = {
|
|
49
49
|
name: "@virtuals-protocol/acp-node",
|
|
50
|
-
version: "0.2.0-beta.
|
|
50
|
+
version: "0.2.0-beta.4",
|
|
51
51
|
main: "./dist/index.js",
|
|
52
52
|
module: "./dist/index.mjs",
|
|
53
53
|
types: "./dist/index.d.ts",
|