@agentxv2/sdk 0.3.1 → 0.4.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 CHANGED
@@ -183,12 +183,21 @@ Client Publisher MCP Server
183
183
  │◄── Return result ──────────────────┤
184
184
  ```
185
185
 
186
- ## On-Chain Contracts (Sepolia)
186
+ ## Supported Chains
187
187
 
188
- | Contract | Address |
189
- |----------|---------|
190
- | IdentityRegistry | `0xe94ad380d3F8d08a7590eda0C84f354a93F96e5F` |
191
- | SubscriptionManager | `0x62AB377BEA26Fa1818dfB0c71ef5b272dc9376f5` |
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,8 +2125,8 @@ var CONFIG_ABI = {
2125
2125
  }
2126
2126
  };
2127
2127
  var KNOWN_CHAINS = {
2128
- // Sepolia
2129
- // Sepolia v2 (deployed 2026-07-13): platformFee=500bps(5%), multi-currency, trial escrow
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: {
@@ -2138,6 +2138,24 @@ var KNOWN_CHAINS = {
2138
2138
  configurationRegistry: "0x0000000000000000000000000000000000000000"
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
+ 19505: {
2148
+ chainId: 19505,
2149
+ contracts: {
2150
+ identityRegistry: "0x0292af212Ce34bbCd95BbC69F4F8c9f7ae123902",
2151
+ subscriptionManager: "0x37BA9DdfE66Aa86f920a34Ae0ae268342151E249",
2152
+ paymentGateway: "0x0000000000000000000000000000000000000000",
2153
+ a2aProtocolRegistry: "0x0000000000000000000000000000000000000000",
2154
+ reputationRegistry: "0x0000000000000000000000000000000000000000",
2155
+ configurationRegistry: "0x0000000000000000000000000000000000000000"
2156
+ },
2157
+ ipfsGateways: ["ipfs.io", "gateway.pinata.cloud", "dweb.link", "cf-ipfs.com"],
2158
+ rpcUrl: "http://43.156.99.215:18545"
2141
2159
  }
2142
2160
  };
2143
2161
  var ConfigurationRegistry = class {