@sentinelysolana/sdk 1.0.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/dist/index.js ADDED
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ /**
3
+ * ============ ORACULO_V2_MARKET SDK: MAIN ENTRY POINT ============
4
+ *
5
+ * Official TypeScript SDK for Sentinely V2
6
+ * Abstracts complex Solana/Anchor/MPP details behind clean DX
7
+ *
8
+ * @example
9
+ * ```typescript
10
+ * import { SentinelySDK } from '@sentinely/sdk';
11
+ *
12
+ * const sdk = new SentinelySDK({
13
+ * rpcUrl: 'https://devnet.helius-rpc.com/?api-key=YOUR_KEY',
14
+ * keypair: { publicKey: Uint8Array, secretKey: Uint8Array },
15
+ * });
16
+ *
17
+ * // Institutional vault
18
+ * await sdk.vault.initializeVault({ maxPositionBps: 500 });
19
+ * await sdk.vault.deposit({ amountUsdc: 10000 });
20
+ * const state = await sdk.vault.getVaultState();
21
+ *
22
+ * // AI predictions with invisible MPP payments
23
+ * const signal = await sdk.oracle.queryKalshiSignal({
24
+ * marketTicker: 'FED_RATES_MAR26',
25
+ * });
26
+ *
27
+ * // Immutable audit trails
28
+ * const reasoning = await sdk.compliance.getTradeReasoning(txHash);
29
+ * ```
30
+ */
31
+ var __importDefault = (this && this.__importDefault) || function (mod) {
32
+ return (mod && mod.__esModule) ? mod : { "default": mod };
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.SentinelySDK = exports.ComplianceClient = exports.OracleClient = exports.VaultClient = void 0;
36
+ exports.createSDK = createSDK;
37
+ const vault_1 = __importDefault(require("./clients/vault"));
38
+ exports.VaultClient = vault_1.default;
39
+ const oracle_1 = __importDefault(require("./clients/oracle"));
40
+ exports.OracleClient = oracle_1.default;
41
+ const compliance_1 = __importDefault(require("./clients/compliance"));
42
+ exports.ComplianceClient = compliance_1.default;
43
+ /**
44
+ * Main SDK class combining all three clients
45
+ *
46
+ * Provides unified interface for:
47
+ * 1. Vault management (deposits, risk limits)
48
+ * 2. Oracle queries (Kalshi predictions)
49
+ * 3. Compliance audits (Irys reasoning)
50
+ */
51
+ class SentinelySDK {
52
+ /**
53
+ * Initialize the Sentinely SDK
54
+ *
55
+ * @param config - Configuration with RPC, keypair, and program ID
56
+ *
57
+ * @example
58
+ * ```typescript
59
+ * const sdk = new SentinelySDK({
60
+ * rpcUrl: 'https://devnet.helius-rpc.com',
61
+ * keypair: {
62
+ * publicKey: new Uint8Array([...]),
63
+ * secretKey: new Uint8Array([...]),
64
+ * },
65
+ * programId: 'A7FnyNVtkcRMEkhaBjgtKZ1Z7Mh4N9XLBN8AGneXNK2F',
66
+ * });
67
+ * ```
68
+ */
69
+ constructor(config) {
70
+ this.vault = new vault_1.default(config);
71
+ this.oracle = new oracle_1.default(config);
72
+ this.compliance = new compliance_1.default(config);
73
+ }
74
+ /**
75
+ * Health check: Verify all clients are properly initialized
76
+ *
77
+ * @returns Whether SDK is ready
78
+ */
79
+ async isHealthy() {
80
+ try {
81
+ // Test vault connectivity
82
+ await this.vault.getVaultState();
83
+ return true;
84
+ }
85
+ catch {
86
+ return false;
87
+ }
88
+ }
89
+ /**
90
+ * Get SDK version
91
+ */
92
+ static get version() {
93
+ return '1.0.0';
94
+ }
95
+ }
96
+ exports.SentinelySDK = SentinelySDK;
97
+ // Default export
98
+ exports.default = SentinelySDK;
99
+ /**
100
+ * Create SDK instance with minimal config
101
+ * (utility function for quick initialization)
102
+ */
103
+ function createSDK(config) {
104
+ return new SentinelySDK(config);
105
+ }
106
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;;;;;;AAoGH,8BAEC;AApGD,4DAA0C;AAMxC,sBANK,eAAW,CAML;AALb,8DAA4C;AAM1C,uBANK,gBAAY,CAML;AALd,sEAAoD;AAMlD,2BANK,oBAAgB,CAML;AAmBlB;;;;;;;GAOG;AACH,MAAa,YAAY;IAUvB;;;;;;;;;;;;;;;;OAgBG;IACH,YAAY,MAAuB;QACjC,IAAI,CAAC,KAAK,GAAG,IAAI,eAAW,CAAC,MAAM,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,IAAI,gBAAY,CAAC,MAAM,CAAC,CAAC;QACvC,IAAI,CAAC,UAAU,GAAG,IAAI,oBAAgB,CAAC,MAAM,CAAC,CAAC;IACjD,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,SAAS;QACb,IAAI,CAAC;YACH,0BAA0B;YAC1B,MAAM,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC;YACjC,OAAO,IAAI,CAAC;QACd,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;IAED;;OAEG;IACH,MAAM,KAAK,OAAO;QAChB,OAAO,OAAO,CAAC;IACjB,CAAC;CACF;AAtDD,oCAsDC;AAED,iBAAiB;AACjB,kBAAe,YAAY,CAAC;AAE5B;;;GAGG;AACH,SAAgB,SAAS,CAAC,MAAuB;IAC/C,OAAO,IAAI,YAAY,CAAC,MAAM,CAAC,CAAC;AAClC,CAAC"}
@@ -0,0 +1,234 @@
1
+ /**
2
+ * ============ ORACULO_V2MARKET SDK TYPES ============
3
+ *
4
+ * Core type definitions for the Sentinely SDK
5
+ * Maintains strict type safety across all clients
6
+ */
7
+ /**
8
+ * Configuration for SDK initialization
9
+ * Supports both backend (keypair) and frontend (wallet adapter) modes
10
+ */
11
+ export interface SentinelyConfig {
12
+ /** Solana RPC endpoint (Devnet) */
13
+ rpcUrl: string;
14
+ /** Backend mode: Keypair for transaction signing (mutually exclusive with signTransaction) */
15
+ keypair?: {
16
+ publicKey: Uint8Array;
17
+ secretKey: Uint8Array;
18
+ };
19
+ /** Frontend mode: Wallet adapter signTransaction function (non-custodial) */
20
+ signTransaction?: (transaction: any) => Promise<any>;
21
+ /** User's public key (required if using signTransaction, auto-derived from keypair otherwise) */
22
+ publicKey?: string;
23
+ /** NeuralVault program ID */
24
+ programId?: string;
25
+ /** Optional: Custom Irys gateway URL */
26
+ irysGatewayUrl?: string;
27
+ /** Optional: Custom MCP gateway URL */
28
+ mcpGatewayUrl?: string;
29
+ /** Optional: Commitment level (default: confirmed) */
30
+ commitment?: 'processed' | 'confirmed' | 'finalized';
31
+ }
32
+ /**
33
+ * Vault initialization parameters
34
+ */
35
+ export interface VaultInitParams {
36
+ /** Maximum position size in basis points (0-10000) */
37
+ maxPositionBps: number;
38
+ /** Risk level (0-100) */
39
+ riskLevel: number;
40
+ /** Optional: Vault bump seed (auto-generated if not provided) */
41
+ bump?: number;
42
+ }
43
+ /**
44
+ * Risk limit configuration
45
+ */
46
+ export interface RiskLimits {
47
+ /** Maximum position size in basis points */
48
+ maxPositionBps: number;
49
+ /** Risk tolerance level (0-100) */
50
+ riskLevel?: number;
51
+ }
52
+ /**
53
+ * Deposit parameters
54
+ */
55
+ export interface DepositParams {
56
+ /** Amount in USDC (will be converted to cents internally) */
57
+ amountUsdc: number;
58
+ /** Optional: Maximum slippage (in BPS, default: 100 = 1%) */
59
+ maxSlippage?: number;
60
+ }
61
+ /**
62
+ * Kalshi market signal query
63
+ */
64
+ export interface KalshiSignalQuery {
65
+ /** Market ticker (e.g., "FED_RATES_MAR26") */
66
+ marketTicker: string;
67
+ /** Optional: Maximum price willing to pay (BPS) */
68
+ maxPriceBps?: number;
69
+ /** Optional: Timeout in milliseconds (default: 30000) */
70
+ timeoutMs?: number;
71
+ }
72
+ /**
73
+ * Kalshi market signal response
74
+ */
75
+ export interface KalshiSignal {
76
+ /** Market ticker */
77
+ marketTicker: string;
78
+ /** AI predicted side (YES or NO) */
79
+ side: 'YES' | 'NO';
80
+ /** Predicted amount in USDC */
81
+ amount: number;
82
+ /** Confidence level (0-100) */
83
+ confidence: number;
84
+ /** Risk score (0-100) */
85
+ riskScore: number;
86
+ /** AI reasoning for the prediction */
87
+ reasoning: string;
88
+ /** Timestamp of prediction */
89
+ timestamp: number;
90
+ /** Unique prediction ID for audit trail */
91
+ predictionId: string;
92
+ /** Kalshi context (market snapshot + top traders) */
93
+ kalshiContext: {
94
+ marketSnapshot: {
95
+ yesBidBps: number;
96
+ noBidBps: number;
97
+ isLive: boolean;
98
+ };
99
+ topTradersConsensus: {
100
+ consensusSide: 'YES' | 'NO';
101
+ consensusBps: number;
102
+ };
103
+ };
104
+ }
105
+ /**
106
+ * Trade reasoning from audit trail
107
+ */
108
+ export interface TradeReasoning {
109
+ /** Solana transaction hash */
110
+ txHash: string;
111
+ /** Market ticker */
112
+ marketTicker: string;
113
+ /** Tier 3 sentiment score (-100 to +100) */
114
+ tier3Sentiment: number;
115
+ /** Tier 2 formatted intent */
116
+ tier2Intent: {
117
+ side: 'YES' | 'NO';
118
+ amount: number;
119
+ confidence: number;
120
+ riskScore: number;
121
+ reasoning: string;
122
+ };
123
+ /** Tier 1 risk assessment */
124
+ tier1RiskLevel: 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL';
125
+ /** Kalshi market snapshot at time of trade */
126
+ kalshiSnapshot: {
127
+ yesBidBps: number;
128
+ noBidBps: number;
129
+ isLive: boolean;
130
+ timestamp: number;
131
+ };
132
+ /** Top traders consensus */
133
+ topTradersConsensus: {
134
+ consensusSide: 'YES' | 'NO';
135
+ consensusBps: number;
136
+ traderCount: number;
137
+ };
138
+ /** Audit trail metadata */
139
+ auditMetadata: {
140
+ createdAt: string;
141
+ tier2Model: string;
142
+ irysTxId: string;
143
+ auditHash: string;
144
+ };
145
+ /** Compliance checklist */
146
+ complianceChecklist: string[];
147
+ }
148
+ /**
149
+ * Vault state snapshot
150
+ */
151
+ export interface VaultState {
152
+ /** Vault public key */
153
+ pubkey: string;
154
+ /** Current USDC balance (in cents) */
155
+ balanceCents: number;
156
+ /** Maximum position size (BPS) */
157
+ maxPositionBps: number;
158
+ /** Risk level (0-100) */
159
+ riskLevel: number;
160
+ /** Whether vault is active */
161
+ isActive: boolean;
162
+ /** Total fee harvested (in cents) */
163
+ totalFeesCents: number;
164
+ /** Last updated timestamp */
165
+ lastUpdated: number;
166
+ }
167
+ /**
168
+ * MPP payment status
169
+ */
170
+ export interface PaymentStatus {
171
+ /** Whether payment was successful */
172
+ success: boolean;
173
+ /** Transaction hash */
174
+ txHash?: string;
175
+ /** Amount paid (in cents) */
176
+ amountPaidCents?: number;
177
+ /** Error message if failed */
178
+ error?: string;
179
+ /** Timestamp */
180
+ timestamp: number;
181
+ }
182
+ /**
183
+ * SDK error with context
184
+ */
185
+ export interface SentinelyError {
186
+ /** Error code */
187
+ code: string;
188
+ /** Human-readable message */
189
+ message: string;
190
+ /** Additional context */
191
+ context?: Record<string, unknown>;
192
+ /** Original error (if available) */
193
+ originalError?: Error;
194
+ }
195
+ /**
196
+ * Deposit response with transaction details
197
+ */
198
+ export interface DepositResponse {
199
+ /** Transaction hash */
200
+ txHash: string;
201
+ /** Amount deposited (in USDC) */
202
+ amountUsdc: number;
203
+ /** New vault balance (in USDC) */
204
+ newBalanceUsdc: number;
205
+ /** Timestamp */
206
+ timestamp: number;
207
+ }
208
+ /**
209
+ * Risk limit update response
210
+ */
211
+ export interface RiskUpdateResponse {
212
+ /** Transaction hash */
213
+ txHash: string;
214
+ /** Updated max position (BPS) */
215
+ maxPositionBps: number;
216
+ /** Updated risk level */
217
+ riskLevel: number;
218
+ /** Timestamp */
219
+ timestamp: number;
220
+ }
221
+ /**
222
+ * Vault initialization response
223
+ */
224
+ export interface VaultInitResponse {
225
+ /** Vault public key */
226
+ vaultPubkey: string;
227
+ /** Vault token account */
228
+ vaultTokenAccount: string;
229
+ /** Initialization transaction hash */
230
+ txHash: string;
231
+ /** Timestamp */
232
+ timestamp: number;
233
+ }
234
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;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;IAEhB,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAElC,oCAAoC;IACpC,aAAa,CAAC,EAAE,KAAK,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,uBAAuB;IACvB,MAAM,EAAE,MAAM,CAAC;IAEf,iCAAiC;IACjC,UAAU,EAAE,MAAM,CAAC;IAEnB,kCAAkC;IAClC,cAAc,EAAE,MAAM,CAAC;IAEvB,gBAAgB;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,uBAAuB;IACvB,MAAM,EAAE,MAAM,CAAC;IAEf,iCAAiC;IACjC,cAAc,EAAE,MAAM,CAAC;IAEvB,yBAAyB;IACzB,SAAS,EAAE,MAAM,CAAC;IAElB,gBAAgB;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,uBAAuB;IACvB,WAAW,EAAE,MAAM,CAAC;IAEpB,0BAA0B;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAE1B,sCAAsC;IACtC,MAAM,EAAE,MAAM,CAAC;IAEf,gBAAgB;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB"}
package/dist/types.js ADDED
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * ============ ORACULO_V2MARKET SDK TYPES ============
4
+ *
5
+ * Core type definitions for the Sentinely SDK
6
+ * Maintains strict type safety across all clients
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
package/package.json ADDED
@@ -0,0 +1,86 @@
1
+ {
2
+ "name": "@sentinelysolana/sdk",
3
+ "version": "1.0.0",
4
+ "description": "Official TypeScript SDK for Sentinely V2 - AI-powered prediction market oracle on Solana",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./dist/index.js",
10
+ "require": "./dist/index.js",
11
+ "types": "./dist/index.d.ts"
12
+ },
13
+ "./vault": {
14
+ "import": "./dist/clients/vault.js",
15
+ "require": "./dist/clients/vault.js",
16
+ "types": "./dist/clients/vault.d.ts"
17
+ },
18
+ "./oracle": {
19
+ "import": "./dist/clients/oracle.js",
20
+ "require": "./dist/clients/oracle.js",
21
+ "types": "./dist/clients/oracle.d.ts"
22
+ },
23
+ "./compliance": {
24
+ "import": "./dist/clients/compliance.js",
25
+ "require": "./dist/clients/compliance.js",
26
+ "types": "./dist/clients/compliance.d.ts"
27
+ }
28
+ },
29
+ "files": [
30
+ "dist",
31
+ "README.md",
32
+ "LICENSE"
33
+ ],
34
+ "scripts": {
35
+ "build": "tsc --declaration --declarationMap --sourceMap",
36
+ "build:watch": "tsc --watch --declaration --declarationMap --sourceMap",
37
+ "typecheck": "tsc --noEmit",
38
+ "test": "jest",
39
+ "test:watch": "jest --watch",
40
+ "test:coverage": "jest --coverage",
41
+ "lint": "eslint src",
42
+ "lint:fix": "eslint src --fix",
43
+ "prepublishOnly": "npm run typecheck && npm run test && npm run build"
44
+ },
45
+ "keywords": [
46
+ "solana",
47
+ "prediction-market",
48
+ "kalshi",
49
+ "dflow",
50
+ "web3",
51
+ "blockchain",
52
+ "oracle",
53
+ "ai",
54
+ "multi-llm"
55
+ ],
56
+ "author": "Sentinely Contributors",
57
+ "license": "MIT",
58
+ "publishConfig": {
59
+ "access": "public"
60
+ },
61
+ "repository": {
62
+ "type": "git",
63
+ "url": "https://github.com/DarkMagician256/Sentinely.git",
64
+ "directory": "packages/sdk-ts"
65
+ },
66
+ "dependencies": {
67
+ "@solana/web3.js": "^1.95.0",
68
+ "@project-serum/anchor": "^0.29.0",
69
+ "@solana/spl-token": "^0.4.5",
70
+ "bs58": "^5.0.0",
71
+ "tweetnacl": "^1.0.3"
72
+ },
73
+ "devDependencies": {
74
+ "@types/jest": "^29.5.0",
75
+ "@types/node": "^20.0.0",
76
+ "@typescript-eslint/eslint-plugin": "^6.0.0",
77
+ "@typescript-eslint/parser": "^6.0.0",
78
+ "eslint": "^8.0.0",
79
+ "jest": "^29.5.0",
80
+ "ts-jest": "^29.5.0",
81
+ "typescript": "^5.0.0"
82
+ },
83
+ "engines": {
84
+ "node": ">=18.0.0"
85
+ }
86
+ }