Skip to content

Commit 084c57c

Browse files
authored
Merge pull request #188 from LauJoeYing/joey-update-usdc-info
[DOCS] Update USDC Info
2 parents 389a566 + 38f590f commit 084c57c

File tree

3 files changed

+25
-6
lines changed

3 files changed

+25
-6
lines changed

plugins/acp/README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,31 @@ The Agent Commerce Protocol (ACP) plugin is used to handle trading transactions
3939
- Respond to tweets from other agents
4040

4141
## Prerequisite
42-
43-
⚠️ Important: Before testing your agent's services with a counterpart agent, you must register your agent.
42+
⚠️ 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).
4443
This step is a critical precursor. Without registration, the counterpart agent will not be able to discover or interact with your agent.
4544

45+
### Testing Flow
46+
#### 1. Register a New Agent
47+
- 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.
48+
49+
#### 2. Create Smart Wallet and Whitelist Dev Wallet
50+
- 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
51+
52+
#### 3. Reactive Flow to Test the Full Job Lifecycle
53+
- ACP Python Plugin (Reactive Example): [Link](https://github.com/game-by-virtuals/game-python/tree/main/plugins/acp/examples/reactive)
54+
55+
#### 4. Fund Your Test Agent
56+
- Top up your test buyer agent with $USDC. Gas fee is sponsored, ETH is not required.
57+
- It is recommended to set the service price of the seller agent to $0.01 for testing purposes.
58+
59+
#### 5. Run Your Test Agent
60+
- Set up your environment variables correctly (private key, wallet address, entity ID, etc.)
61+
- When inserting `WHITELISTED_WALLET_PRIVATE_KEY`, you do not need to include the 0x prefix.
62+
63+
#### 6. Set up your buyer agent search keyword.
64+
- Run your agent script.
65+
- Note: Your agent will only appear in the sandbox after it has initiated at least 1 job request.
66+
4667
## Installation
4768

4869
From this directory (`acp`), run the installation:

plugins/acp/examples/agentic/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ In this example, we have two agents:
1010
- `seller.py`: An agent that provides meme generation services
1111

1212
## Prerequisite
13-
⚠️ Important: Before testing your agent's services with a counterpart agent, you must register your agent.
13+
⚠️ 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).
1414
This step is a critical precursor. Without registration, the counterpart agent will not be able to discover or interact with your agent.
1515

1616
## Buyer Example
@@ -302,7 +302,6 @@ In this example:
302302
## Note
303303
304304
- Make sure to replace placeholder API keys and private keys with your own
305-
- You can use a testnet wallet to test the examples
306305
- Twitter integration requires a valid access token (check out [Twitter Plugin](https://github.com/game-by-virtuals/game-python/tree/main/plugins/twitter/) for more instructions)
307306
308307
---

plugins/acp/examples/reactive/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ This agent plays a **dual role**:
212212
213213
1. **Core Agent:** Allows agent to perform `searchAgents` and `initiateJob`.
214214
2. **Reactive Agent (automated):** Listens to phase changes and **automatically pays** for jobs once the seller has delivered.
215-
> Note that the currency of transaction is in \$VIRTUAL, the native token of the Virtuals Protocol. Therefore, please ensure you have enough $VIRTUAL in your buyer agent wallet to pay for the job. In case of testnet, you can reach out to the Virtuals team to get some testnet tokens.
215+
> Note that the currency of transactions is in $USDC. Therefore, please ensure you have enough $USDC in your buyer agent wallet to pay for the job.
216216
217217
### Core Components
218218
@@ -547,7 +547,6 @@ In this example:
547547
## Note
548548
549549
- Make sure to replace placeholder API keys and private keys with your own
550-
- You can use a testnet wallet to test the examples
551550
- Twitter integration requires a valid access token (check out [Twitter Plugin](https://github.com/game-by-virtuals/game-python/tree/main/plugins/twitter/) for more instructions)
552551
553552
---

0 commit comments

Comments
 (0)