@agentxv2/sdk 0.3.1 → 0.5.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.
- package/README.md +14 -5
- package/dist/index.js +25 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -6
- package/dist/index.mjs.map +1 -1
- package/dist/react.js +25 -6
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +25 -6
- package/dist/react.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -183,12 +183,21 @@ Client Publisher MCP Server
|
|
|
183
183
|
│◄── Return result ──────────────────┤
|
|
184
184
|
```
|
|
185
185
|
|
|
186
|
-
##
|
|
186
|
+
## Supported Chains
|
|
187
187
|
|
|
188
|
-
|
|
|
189
|
-
|
|
190
|
-
|
|
|
191
|
-
|
|
|
188
|
+
| Network | Chain ID | RPC | Status |
|
|
189
|
+
|---------|----------|-----|--------|
|
|
190
|
+
| Sepolia (Testnet) | 11155111 | `https://ethereum-sepolia-rpc.publicnode.com` | Active |
|
|
191
|
+
| **OxaChain L1** | **19505** | `http://43.156.99.215:18545` | **Mainnet** |
|
|
192
|
+
|
|
193
|
+
Auto-detected via `KNOWN_CHAINS[chainId]`. Pass `chainId` in AgentX constructor or use the default.
|
|
194
|
+
|
|
195
|
+
## On-Chain Contracts
|
|
196
|
+
|
|
197
|
+
| Contract | Sepolia | OxaChain L1 |
|
|
198
|
+
|----------|---------|-------------|
|
|
199
|
+
| IdentityRegistry | `0xe94a...96e5F` | `0x0292...3902` |
|
|
200
|
+
| SubscriptionManager v3 | `0xC15f...7E63` | `0x37BA...E249` |
|
|
192
201
|
|
|
193
202
|
## License
|
|
194
203
|
|
package/dist/index.js
CHANGED
|
@@ -2125,19 +2125,38 @@ var CONFIG_ABI = {
|
|
|
2125
2125
|
}
|
|
2126
2126
|
};
|
|
2127
2127
|
var KNOWN_CHAINS = {
|
|
2128
|
-
// Sepolia
|
|
2129
|
-
//
|
|
2128
|
+
// Sepolia Testnet
|
|
2129
|
+
// v3 (deployed 2026-07-13): platformFee=250bps(2.5%), ReentrancyGuard, audit fixes
|
|
2130
2130
|
11155111: {
|
|
2131
2131
|
chainId: 11155111,
|
|
2132
2132
|
contracts: {
|
|
2133
2133
|
identityRegistry: "0xe94ad380d3F8d08a7590eda0C84f354a93F96e5F",
|
|
2134
2134
|
subscriptionManager: "0xC15fE80b9d800abb72121F353a6ae6d6E9077E63",
|
|
2135
|
-
paymentGateway: "
|
|
2136
|
-
a2aProtocolRegistry: "
|
|
2137
|
-
reputationRegistry: "
|
|
2138
|
-
configurationRegistry: "
|
|
2135
|
+
paymentGateway: "0x59eA58c0089314C0fCc86A4ff646fb6dAE571C96",
|
|
2136
|
+
a2aProtocolRegistry: "0xEdb0022c250B38e281B3EF1418037889fC5C6092",
|
|
2137
|
+
reputationRegistry: "0xeb6B410ea71b8d9dA0c96f6A91d35027CE143DC9",
|
|
2138
|
+
configurationRegistry: "0x68DcE00e4C9077c94BC68016cD14B09557faEA6c"
|
|
2139
2139
|
},
|
|
2140
2140
|
ipfsGateways: ["ipfs.io", "gateway.pinata.cloud", "dweb.link", "cf-ipfs.com"]
|
|
2141
|
+
},
|
|
2142
|
+
// OxaChain L1 Mainnet
|
|
2143
|
+
// Chain ID 19505, Clique PoA, Shanghai+Cancun, gas token T0x
|
|
2144
|
+
// Deployer: 0x8E869A0624fF9e766Df71b5B08897d00E4d260ba
|
|
2145
|
+
// RPC: http://43.156.99.215:18545
|
|
2146
|
+
// Explorer: http://43.156.99.215:18400
|
|
2147
|
+
// All 6 core contracts deployed 2026-07-14
|
|
2148
|
+
19505: {
|
|
2149
|
+
chainId: 19505,
|
|
2150
|
+
contracts: {
|
|
2151
|
+
identityRegistry: "0xbf5F9db266c8c97E3334466C88597Eb758AfE212",
|
|
2152
|
+
subscriptionManager: "0x019AC9d945467478Dd371CDbD70cb2f325800E6B",
|
|
2153
|
+
paymentGateway: "0x0000000000000000000000000000000000000000",
|
|
2154
|
+
a2aProtocolRegistry: "0x61b7E7Eed21F013e35a90FC5de5c352780ec5169",
|
|
2155
|
+
reputationRegistry: "0x6a18C2664E1b42063860d864b6448b824d7B843F",
|
|
2156
|
+
configurationRegistry: "0x07280674ccc2898Fd038A9e3C22005CA83ffD2F8"
|
|
2157
|
+
},
|
|
2158
|
+
ipfsGateways: ["ipfs.io", "gateway.pinata.cloud", "dweb.link", "cf-ipfs.com"],
|
|
2159
|
+
rpcUrl: "http://43.156.99.215:18545"
|
|
2141
2160
|
}
|
|
2142
2161
|
};
|
|
2143
2162
|
var ConfigurationRegistry = class {
|