@chaoschain/sdk 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/README.md +2 -2
- package/dist/index.js +16548 -1233
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16541 -1229
- package/dist/index.mjs.map +1 -1
- package/dist/providers/storage/index.js +15082 -13
- package/dist/providers/storage/index.js.map +1 -1
- package/dist/providers/storage/index.mjs +15075 -12
- package/dist/providers/storage/index.mjs.map +1 -1
- package/package.json +22 -43
package/README.md
CHANGED
|
@@ -56,7 +56,7 @@ console.log(`✅ Agent #${agentId} registered on-chain`);
|
|
|
56
56
|
|
|
57
57
|
// 2. Execute x402 payment
|
|
58
58
|
const payment = await sdk.executeX402Payment({
|
|
59
|
-
toAgent: '
|
|
59
|
+
toAgent: '0x20E7B2A2c8969725b88Dd3EF3a11Bc3353C83F70',
|
|
60
60
|
amount: '1.5',
|
|
61
61
|
currency: 'USDC'
|
|
62
62
|
});
|
|
@@ -150,7 +150,7 @@ Native integration with Coinbase's x402 HTTP 402 protocol:
|
|
|
150
150
|
```typescript
|
|
151
151
|
// Execute payment
|
|
152
152
|
const payment = await sdk.executeX402Payment({
|
|
153
|
-
toAgent: '
|
|
153
|
+
toAgent: '0x20E7B2A2c8969725b88Dd3EF3a11Bc3353C83F70',
|
|
154
154
|
amount: '10.0',
|
|
155
155
|
currency: 'USDC',
|
|
156
156
|
serviceType: 'ai_analysis'
|