@valiron/sdk 0.10.0 → 0.11.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
@@ -41,6 +41,12 @@ console.log(snapshot.previousHash); // '0x0' (genesis)
41
41
  const monadValiron = new ValironSDK({ chain: 'monad' });
42
42
  await monadValiron.checkAgent('8348');
43
43
  await valiron.checkAgent('8348', { chain: 'base' });
44
+
45
+ // Solana — use chain: 'solana' with base-58 pubkey or sequential ID
46
+ const solanaValiron = new ValironSDK({ chain: 'solana' });
47
+ const profile = await solanaValiron.getAgentProfile('1226'); // sequential ID
48
+ console.log(profile.identity.name); // 'NoahScout_Bot.noah'
49
+ console.log(profile.onchainReputation.solana?.trustTier); // 'trusted'
44
50
  ```
45
51
 
46
52
  ## Methods
package/dist/types.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * Matches the actual edge-proxy /operator/* endpoints
6
6
  */
7
7
  /** Blockchain networks supported by the Valiron Operator API. */
8
- export type SupportedChain = "ethereum" | "monad" | "arbitrum" | "base" | "avalanche" | "celo" | "polygon" | "linea" | "abstract" | "bsc" | "gnosis" | "goat" | "mantle" | "megaeth" | "metis" | "optimism" | "scroll" | "skale_base" | "soneium" | "taiko" | "xlayer";
8
+ export type SupportedChain = "ethereum" | "monad" | "arbitrum" | "base" | "avalanche" | "celo" | "polygon" | "linea" | "abstract" | "bsc" | "gnosis" | "goat" | "mantle" | "megaeth" | "metis" | "optimism" | "scroll" | "skale_base" | "soneium" | "taiko" | "xlayer" | "base_sepolia" | "ethereum_sepolia" | "abstract_testnet" | "arbitrum_sepolia" | "avalanche_testnet" | "bsc_testnet" | "celo_testnet" | "linea_sepolia" | "mantle_testnet" | "megaeth_testnet" | "metis_sepolia" | "optimism_sepolia" | "polygon_amoy" | "scroll_sepolia" | "skale_base_sepolia" | "soneium_minato" | "taiko_hoodi" | "xlayer_testnet" | "hedera_testnet" | "arc_testnet" | "solana";
9
9
  export type RouteDecision = "prod" | "prod_throttled" | "sandbox" | "sandbox_only";
10
10
  export type RiskLevel = "GREEN" | "YELLOW" | "RED";
11
11
  export type MoodysRating = "AAA" | "AA" | "A" | "BAA" | "BA" | "B" | "CAA" | "CA" | "C";
@@ -42,6 +42,14 @@ export interface OnchainReputation {
42
42
  feedbackEntries: FeedbackEntry[];
43
43
  totalFeedback: number;
44
44
  error?: string;
45
+ /** Solana-specific ATOM engine metrics (only present for Solana agents via QuantuLabs). */
46
+ solana?: {
47
+ trustTier: string;
48
+ qualityScore: number;
49
+ confidence: number;
50
+ riskScore: number;
51
+ uniqueCallers: number;
52
+ };
45
53
  }
46
54
  export interface LocalReputation {
47
55
  exists: boolean;
@@ -78,6 +86,8 @@ export interface ChainContext {
78
86
  rpcUrl: string;
79
87
  identityRegistry: string;
80
88
  reputationRegistry: string;
89
+ /** Solana cluster identifier (only present for Solana). */
90
+ cluster?: "mainnet-beta" | "devnet";
81
91
  }
82
92
  /**
83
93
  * Response from `GET /operator/agent/:agentId`
package/docs/CHAINS.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Supported Chains
2
2
 
3
- Valiron operates across 21 blockchain networks. The ERC-8004 contracts are deployed at the same addresses on every chain.
3
+ Valiron operates across 41 blockchain networks. The ERC-8004 contracts are deployed at the same addresses on every chain.
4
4
 
5
5
  ## Contract Addresses (all chains)
6
6
 
@@ -34,6 +34,26 @@ Valiron operates across 21 blockchain networks. The ERC-8004 contracts are deplo
34
34
  | — | Soneium | `soneium` |
35
35
  | — | Taiko | `taiko` |
36
36
  | — | X Layer | `xlayer` |
37
+ | — | Base Sepolia | `base_sepolia` |
38
+ | — | Ethereum Sepolia | `ethereum_sepolia` |
39
+ | — | Abstract Testnet | `abstract_testnet` |
40
+ | — | Arbitrum Sepolia | `arbitrum_sepolia` |
41
+ | — | Avalanche Testnet | `avalanche_testnet` |
42
+ | — | BSC Testnet | `bsc_testnet` |
43
+ | — | Celo Testnet | `celo_testnet` |
44
+ | — | Linea Sepolia | `linea_sepolia` |
45
+ | — | Mantle Testnet | `mantle_testnet` |
46
+ | — | MegaETH Testnet | `megaeth_testnet` |
47
+ | — | Metis Sepolia | `metis_sepolia` |
48
+ | — | Optimism Sepolia | `optimism_sepolia` |
49
+ | — | Polygon Amoy | `polygon_amoy` |
50
+ | — | Scroll Sepolia | `scroll_sepolia` |
51
+ | — | SKALE Base Sepolia | `skale_base_sepolia` |
52
+ | — | Soneium Minato | `soneium_minato` |
53
+ | — | Taiko Hoodi | `taiko_hoodi` |
54
+ | — | X Layer Testnet | `xlayer_testnet` |
55
+ | — | Hedera Testnet | `hedera_testnet` |
56
+ | — | Arc Testnet | `arc_testnet` |
37
57
 
38
58
  ## Specifying a Chain
39
59
 
@@ -37,7 +37,13 @@ type SupportedChain =
37
37
  | "celo" | "polygon" | "linea" | "abstract" | "bsc"
38
38
  | "gnosis" | "goat" | "mantle" | "megaeth" | "metis"
39
39
  | "optimism" | "scroll" | "skale_base" | "soneium"
40
- | "taiko" | "xlayer";
40
+ | "taiko" | "xlayer" | "base_sepolia" | "ethereum_sepolia"
41
+ | "abstract_testnet" | "arbitrum_sepolia" | "avalanche_testnet"
42
+ | "bsc_testnet" | "celo_testnet" | "linea_sepolia"
43
+ | "mantle_testnet" | "megaeth_testnet" | "metis_sepolia"
44
+ | "optimism_sepolia" | "polygon_amoy" | "scroll_sepolia"
45
+ | "skale_base_sepolia" | "soneium_minato" | "taiko_hoodi"
46
+ | "xlayer_testnet" | "hedera_testnet" | "arc_testnet";
41
47
  ```
42
48
 
43
49
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valiron/sdk",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "Official TypeScript SDK for Valiron - Trust Layer for Agentic Economy",
5
5
  "repository": {
6
6
  "type": "git",