Commit graph

117 commits

Author SHA1 Message Date
Gulshan Yadav
d81b5fe81b feat(desktop-wallet): add NFT support
Add complete NFT (non-fungible token) functionality:

Backend (Rust/Tauri):
- nft_create_collection: Deploy new NFT collection contract
- nft_mint, nft_batch_mint: Mint single or multiple NFTs
- nft_transfer: Transfer NFT ownership
- nft_burn: Permanently destroy NFT
- nft_list_owned: List all NFTs owned by address
- nft_get_collection_info, nft_get_token_info: Query metadata
- nft_set_approval_for_all, nft_set_base_uri: Collection management

Frontend (React/TypeScript):
- NFT Zustand store with collection tracking
- NftsDashboard page with 5 tabs:
  - Gallery: Visual grid of owned NFTs with modal details
  - Collections: Track and manage NFT collections
  - Create: Deploy new collection with royalties and soulbound options
  - Mint: Mint new NFTs with metadata URIs
  - Transfer: Send NFTs to other addresses
- Navigation sidebar updated with NFTs link
- Route added for /nfts path

Features:
- Royalty configuration in basis points (e.g., 250 = 2.5%)
- Soulbound token support (non-transferable)
- Batch minting up to 100 NFTs
- Collection import by contract address
- NFT burn with confirmation dialog
2026-02-02 09:23:07 +05:30
Gulshan Yadav
a5e4fc1c21 feat(desktop-wallet): add smart contracts and tokens UI
Add complete frontend and backend implementation for smart contracts
and tokens management:

Backend (Rust/Tauri):
- Add contract_deploy, contract_call, contract_read, contract_get_info commands
- Add token_create, token_transfer, token_get_info, token_get_balance commands
- Add token_list_balances, token_mint, token_burn commands
- Add new error variants for validation and contract errors

Frontend (React/TypeScript):
- Add contracts Zustand store with persistence
- Add tokens Zustand store with persistence
- Add ContractsDashboard page with deploy/interact tabs
- Add TokensDashboard page with balances/create/transfer/manage tabs
- Update navigation sidebar with Contracts and Tokens links
- Add routes for new pages
2026-02-02 09:03:58 +05:30
Gulshan Yadav
88b09914c3 fix: resolve synor-compute clippy warnings
- Replace .clone() with dereference for Copy types
- Use #[derive(Default)] with #[default] attribute instead of manual impl
2026-02-02 08:00:01 +05:30
Gulshan Yadav
e24ce116d7 fix: resolve remaining clippy warnings
- Prefix unused parameters with underscore in stub function
- Replace .map().flatten() with .and_then()
2026-02-02 07:09:15 +05:30
Gulshan Yadav
7c7137c4f6 fix: resolve clippy warnings for Rust 1.93
- Replace manual modulo checks with .is_multiple_of()
- Use enumerate() instead of manual loop counters
- Use iterator .take() instead of index-based loops
- Use slice literals instead of unnecessary vec![]
- Allow too_many_arguments in IBC and bridge crates (protocol requirements)
- Allow assertions on constants in integration tests
2026-02-02 06:18:16 +05:30
Gulshan Yadav
dcd1cccc67 style: apply cargo fmt formatting 2026-02-02 05:58:22 +05:30
Gulshan Yadav
5126c33113 ui/ux 2026-02-02 05:12:01 +05:30
Gulshan Yadav
5cd6fdcb35 desktop wallet enhancements 2026-02-02 04:54:53 +05:30
Gulshan Yadav
01ff14c0a9 fix: use native ARM64 runner instead of cross-compilation
Some checks failed
Release / Build Release (x86_64-unknown-linux-gnu) (push) Failing after 2s
Release / Build Release (aarch64-unknown-linux-gnu) (push) Has been cancelled
Release / Build Release (aarch64-apple-darwin) (push) Has been cancelled
Release / Build Release (x86_64-apple-darwin) (push) Has been cancelled
Release / Build Release (x86_64-pc-windows-msvc) (push) Has been cancelled
Release / Create GitHub Release (push) Has been cancelled
Release / Publish to crates.io (push) Has been cancelled
- Use ubuntu-24.04-arm runner for native ARM64 builds
- Remove cross-compilation setup (OpenSSL issues in Docker)
- Native builds are more reliable and faster
2026-02-02 03:48:26 +05:30
Gulshan Yadav
b141158868 fix: use cross tool for ARM64 Linux cross-compilation
- Install and use cross-rs/cross for ARM64 builds
- Cross provides Docker containers with proper ARM64 sysroots
- Fixes OpenSSL not found error in cross-compilation
2026-02-02 03:32:14 +05:30
Gulshan Yadav
7e573c95c0 fix: update Tauri 2.0 dependencies and remove code signing
Some checks failed
Release Desktop Wallet / Build Wallet (macos-latest) (push) Has been cancelled
Release Desktop Wallet / Build Wallet (windows-latest) (push) Has been cancelled
Release Desktop Wallet / Build Wallet (Linux) (push) Has been cancelled
- Update Linux deps: webkit2gtk-4.1, libsoup-3.0, javascriptcoregtk-4.1
- Remove Apple code signing env vars (certificates not configured)
- Fix: libsoup-3.0 required by soup3-sys crate in Tauri 2.0
2026-02-02 03:10:42 +05:30
Gulshan Yadav
c58081b8c9 fix: wallet build failures - BigInt literal and icons
- Replace 0n BigInt literal with BigInt(0) for Safari 13 compatibility
- Generate proper app icons for Windows (.ico) and macOS (.icns)
2026-02-02 02:42:59 +05:30
Gulshan Yadav
33fd1a015f fix: faucet health check uses JSON-RPC instead of REST
The synord RPC server is JSON-RPC only, not REST. Changed health
check from GET /health to POST with synor_getInfo method.
2026-02-02 02:31:14 +05:30
Gulshan Yadav
cca23a4019 fix: resolve TypeScript errors in desktop wallet
- Remove unused MULTIPLIER variable in Send.tsx
- Remove unused Check import in Settings.tsx
- Add vite-env.d.ts for ImportMeta.env types
2026-02-02 02:26:08 +05:30
Gulshan Yadav
4c60907b70 fix: add missing library declarations in example and type files 2026-02-02 02:23:58 +05:30
Gulshan Yadav
327f2bf721 fix: correct rust-toolchain action name in release workflows
The GitHub Action is dtolnay/rust-toolchain, not dtolnay/rust-action.
2026-02-02 02:13:17 +05:30
Gulshan Yadav
8bdd28e455 fix: replace all unstable is_multiple_of with modulo operator
Rust's is_multiple_of is an unstable feature (issue #128101).
Replace with standard modulo operator for compatibility with stable Rust.
2026-02-02 01:28:26 +05:30
Gulshan Yadav
5ff415deb8 docs: add README with installation instructions and fix Docker builds
- Add comprehensive README with installation guides for:
  - Desktop wallet (macOS DMG, Windows MSI/EXE, Linux AppImage)
  - Node daemon (pre-built binaries and Docker)
  - Build from source instructions
  - CLI usage and RPC API examples
  - Configuration reference
- Fix Dockerfiles: simplify build context, use -p package flag
- Fix unstable Rust feature: replace is_multiple_of with modulo operator
2026-02-02 01:26:44 +05:30
Gulshan Yadav
3d161afd9d feat: add desktop node installation CI/CD and documentation
- Add Windows x86_64 build target to release.yml for synord/synor-cli
- Create release-wallet.yml workflow for Tauri desktop wallet builds
  - macOS (Intel + Apple Silicon), Windows, Linux support
  - Code signing integration (Apple + Windows certificates)
  - Tauri auto-update signing support
- Fix Dockerfiles to include src/ directory required by workspace
- Add CODE_SIGNING.md documentation for Apple/Windows certificates
2026-02-02 00:43:20 +05:30
Gulshan Yadav
97f42cb990 feat: add CLI commands, WebSocket channels, and API versioning
- Add CLI commands for DEX, IBC, ZK, and Compiler services
  - DEX: markets, orderbook, orders, liquidity pools
  - IBC: chains, transfers, packets, relayers
  - ZK: circuit compilation, proof generation (Groth16/PLONK/STARK)
  - Compiler: WASM compilation, ABI extraction, security scan

- Add WebSocket module for real-time event streaming
  - Block, transaction, address, contract event channels
  - Market and mining event streams
  - Subscription management with broadcast channels

- Implement API versioning strategy
  - URL path, header, and query parameter versioning
  - Version registry with deprecation support
  - Deprecation and sunset headers
2026-01-28 15:31:57 +05:30
Gulshan Yadav
8ab9c6c7a2 feat: add OpenAPI specification generation for gateway
Adds utoipa-based OpenAPI 3.1 documentation:
- OpenAPI module with API metadata, server info, and tags
- Security scheme definitions (API key and JWT bearer)
- ToSchema derives for response types
- JSON specification generation endpoint
2026-01-28 15:18:53 +05:30
Gulshan Yadav
f8c536b7cd feat: add unified API gateway crate with REST endpoints
Implements Phase 2 REST API foundation:
- Unified gateway server with Axum web framework
- Complete REST endpoints for all services:
  - Wallet (create, import, balance, sign, transactions)
  - RPC (blocks, transactions, network, mempool)
  - Storage (upload, download, pinning, CAR files)
  - DEX (markets, orders, pools, liquidity)
  - IBC (chains, channels, transfers, packets)
  - ZK (circuits, proofs, ceremonies)
  - Compiler (compile, ABI, analysis, validation)
- Authentication (JWT + API key)
- Rate limiting with tiered access
- CORS, security headers, request tracing
- Health check endpoints
- OpenAPI documentation scaffolding
2026-01-28 15:16:48 +05:30
Gulshan Yadav
03c1664739 feat: Implement standard API response types and health check endpoints
- Added `ApiResponse`, `ResponseMeta`, and related structures for standardized API responses.
- Created health check routes including basic health, liveness, and readiness checks.
- Introduced `AppState` for shared application state across routes.
- Developed wallet API endpoints for wallet management, address operations, balance queries, and transaction signing.
- Implemented RPC API endpoints for blockchain operations including block queries, transaction handling, and network information.
2026-01-28 15:03:36 +05:30
Gulshan Yadav
b9f1f013b3 docs: Add Phase 2 milestone for REST APIs, WebSockets, RPC, and CLI
Comprehensive planning document covering:
- REST API design with OpenAPI 3.1 specs
- WebSocket pub/sub architecture for real-time events
- JSON-RPC 2.0 implementation with batch support
- CLI tool (synor) with interactive mode
- Docker port assignments for all services
- Implementation timeline and success criteria
2026-01-28 14:45:30 +05:30
Gulshan Yadav
cf5130d9e4 feat(sdk): Add comprehensive examples for C, C++, C#, and Ruby SDKs
Add example code demonstrating all SDK services (Crypto, DEX, ZK, IBC,
Compiler) for the remaining languages:

- C SDK (5 examples): Using synor_* C API with explicit memory management
- C++ SDK (5 examples): Modern C++17 with RAII and designated initializers
- C# SDK (5 examples): Async/await patterns with .NET conventions
- Ruby SDK (5 examples): Ruby idioms with blocks and symbols

Each example covers:
- Crypto: Hybrid signatures, mnemonics, Falcon, SPHINCS+, KDF, hashing
- DEX: Markets, spot trading, perpetuals, liquidity, portfolio
- ZK: Circuits, Groth16, PLONK, STARK, recursive proofs, ceremonies
- IBC: Chains, channels, transfers, packets, relayer, monitoring
- Compiler: Compilation, optimization, ABI, analysis, validation, security
2026-01-28 14:44:04 +05:30
Gulshan Yadav
e169c492aa Add Swift examples for Synor DEX, IBC, and ZK SDKs
- Introduced DexExample.swift demonstrating decentralized exchange operations including spot trading, perpetual futures, liquidity provision, order book management, and portfolio tracking.
- Added IbcExample.swift showcasing inter-blockchain communication operations such as cross-chain transfers, channel management, packet handling, and relayer operations.
- Created ZkExample.swift illustrating zero-knowledge proof operations including circuit compilation, proof generation and verification, and trusted setup ceremonies.
2026-01-28 14:30:19 +05:30
Gulshan Yadav
9416d76108 Add IBC and ZK SDK examples for Rust
- Introduced `ibc_example.rs` demonstrating Inter-Blockchain Communication operations including cross-chain transfers, channel management, packet handling, and relayer operations.
- Introduced `zk_example.rs` showcasing Zero-Knowledge proof operations such as circuit compilation, proof generation and verification, and on-chain verification with multiple proving systems.
2026-01-28 14:15:51 +05:30
Gulshan Yadav
08a55aa80e feat(sdk): Add Crypto SDK for all 12 languages
Implements quantum-resistant cryptographic primitives across all SDK languages:
- Hybrid Ed25519 + Dilithium3 signatures (classical + post-quantum)
- BIP-39 mnemonic support (12, 15, 18, 21, 24 words)
- BIP-44 hierarchical key derivation (coin type 0x5359)
- Post-quantum algorithms: Falcon (FIPS 206), SPHINCS+ (FIPS 205)
- Key derivation: HKDF-SHA3-256, PBKDF2
- Hash functions: SHA3-256, BLAKE3, Keccak-256

Languages: JavaScript/TypeScript, Python, Go, Rust, Flutter/Dart, Java,
Kotlin, Swift, C, C++, C#/.NET, Ruby
2026-01-28 13:47:55 +05:30
Gulshan Yadav
2c534a18bb feat(sdk): Add Compiler SDK for all 12 languages
Implements WASM smart contract compilation, optimization, and ABI generation
across JavaScript/TypeScript, Python, Go, Rust, Flutter/Dart, Java, Kotlin,
Swift, C, C++, C#/.NET, and Ruby.

Features:
- Optimization levels: None, Basic, Size, Aggressive
- WASM section stripping with customizable options
- Contract validation against VM requirements
- ABI extraction and generation
- Contract metadata handling
- Gas estimation for deployment
- Security analysis and recommendations
- Size breakdown analysis

Sub-clients: Contracts, ABI, Analysis, Validation
2026-01-28 13:28:18 +05:30
Gulshan Yadav
eab599767c feat(sdk): Add ZK SDK for all 12 languages
Implement Zero-Knowledge proof SDK for ZK-Rollups and privacy:
- Proof systems: Groth16, PLONK, STARK
- Circuit types: Transfer, Batch, Deposit, Withdraw
- Rollup batch processing and state management
- Trusted setup ceremony operations
- Merkle proof verification

Languages: JS/TS, Python, Go, Rust, Flutter, Java, Kotlin, Swift, C, C++, C#, Ruby
2026-01-28 13:11:06 +05:30
Gulshan Yadav
97add23062 feat(sdk): implement IBC SDK for all 12 languages
Implement Inter-Blockchain Communication (IBC) SDK with full ICS
protocol support across all 12 programming languages:
- JavaScript/TypeScript, Python, Go, Rust
- Java, Kotlin, Swift, Flutter/Dart
- C, C++, C#/.NET, Ruby

Features:
- Light client management (Tendermint, Solo Machine, WASM)
- Connection handshake (4-way: Init, Try, Ack, Confirm)
- Channel management with ordered/unordered support
- ICS-20 fungible token transfers
- HTLC atomic swaps with hashlock (SHA256) and timelock
- Packet relay with timeout handling
2026-01-28 12:53:46 +05:30
Gulshan Yadav
e7dc8f70a0 feat(sdk): implement DEX SDK with perpetual futures for all 12 languages
Complete decentralized exchange client implementation featuring:
- AMM swaps (constant product, stable, concentrated liquidity)
- Liquidity provision with impermanent loss tracking
- Perpetual futures (up to 100x leverage, funding rates, liquidation)
- Order books with limit orders (GTC, IOC, FOK, GTD)
- Yield farming & staking with reward claiming
- Real-time WebSocket subscriptions
- Analytics (OHLCV, trade history, volume, TVL)

Languages: JS/TS, Python, Go, Rust, Java, Kotlin, Swift, Flutter,
C, C++, C#, Ruby
2026-01-28 12:32:04 +05:30
Gulshan Yadav
9478bc24e3 docs: add DEX service spec and SDK monetization strategy
DEX Service (13th service):
- AMM swaps with constant product formula
- Liquidity pools with LP tokens
- Multi-hop routing
- LP farming and staking
- Price oracles and analytics

SDK Monetization Strategy:
- Transaction fees (0.1-0.5% per operation)
- Tiered API pricing (Free/Developer/Enterprise)
- Token economics (burning 30% of fees)
- Staking rewards (40% of fees to stakers)
- Early holder benefits (validator rewards, governance)
2026-01-28 11:16:54 +05:30
Gulshan Yadav
5316995fb9 docs: add comprehensive SDK documentation
- Add detailed README.md with installation, quick start, and API examples
- Add CHANGELOG.md documenting all SDK implementations
- Cover all 12 services across 12 languages
- Include configuration, error handling, and WebSocket subscription docs
2026-01-28 10:53:52 +05:30
Gulshan Yadav
e2df38b003 feat(sdk): add C++ implementation files for all services
Complete C++ SDK with implementation stubs for:
- Database (KV, Document, Vector, TimeSeries stores)
- Hosting (domains, DNS, deployments, SSL)
- Bridge (cross-chain transfers, relayers)
- Mining (pool connection, device management)
- Economics (pricing, billing, staking)
- Governance (proposals, voting, DAO, vesting)
- Privacy (confidential tx, ring signatures, stealth addresses)
- Contract (deployment, interaction, events, multicall)

All 12 languages now have complete 12-service SDK coverage.
2026-01-28 10:49:39 +05:30
Gulshan Yadav
e65ea40af2 feat: implement Privacy and Contract SDKs for all 12 languages (Phase 5)
Privacy SDK features:
- Confidential transactions with Pedersen commitments
- Bulletproof range proofs for value validation
- Ring signatures for anonymous signing with key images
- Stealth addresses for unlinkable payments
- Blinding factor generation and value operations

Contract SDK features:
- Smart contract deployment (standard and CREATE2)
- Call (view/pure) and Send (state-changing) operations
- Event log filtering, subscription, and decoding
- ABI encoding/decoding utilities
- Gas estimation and contract verification
- Multicall for batched operations
- Storage slot reading

Languages implemented:
- JavaScript/TypeScript
- Python (async with httpx)
- Go
- Rust (async with reqwest/tokio)
- Java (async with OkHttp)
- Kotlin (coroutines with Ktor)
- Swift (async/await with URLSession)
- Flutter/Dart
- C (header-only interface)
- C++ (header-only with std::future)
- C#/.NET (async with HttpClient)
- Ruby (Faraday HTTP client)

All SDKs follow consistent patterns:
- Configuration with API key, endpoint, timeout, retries
- Custom exception types with error codes
- Retry logic with exponential backoff
- Health check endpoints
- Closed state management
2026-01-28 09:03:34 +05:30
Gulshan Yadav
6607223c9e feat(sdk): complete Phase 4 SDKs for all remaining languages
Add Economics, Governance, and Mining SDKs for:
- Java: Full SDK with CompletableFuture async operations
- Kotlin: Coroutine-based SDK with suspend functions
- Swift: Modern Swift SDK with async/await
- Flutter/Dart: Complete Dart SDK with Future-based API
- C: Header files and implementations with opaque handles
- C++: Modern C++17 with std::future and PIMPL pattern
- C#: Records, async/await Tasks, and IDisposable
- Ruby: Struct-based types with Faraday HTTP client

Also includes minor Dart lint fixes (const exceptions).
2026-01-28 08:33:20 +05:30
Gulshan Yadav
58e57db661 feat: add Economics, Governance, and Mining SDKs for core languages
Phase 4 implementation - adds three new service SDKs:

Economics SDK:
- Pricing calculations for all service types
- Billing and invoice management
- Staking with APY rewards and vesting
- Discount code system

Governance SDK:
- Proposal lifecycle (create, vote, execute, cancel)
- Voting power with delegation support
- DAO creation (token, multisig, hybrid types)
- Vesting schedules with cliff periods

Mining SDK:
- Stratum pool connections
- Block template retrieval and work submission
- Hashrate and earnings statistics
- GPU device management and configuration
- Worker management and algorithm switching

Languages: JavaScript, Python, Go, Rust
Total: 12 SDK packages
2026-01-27 02:39:27 +05:30
Gulshan Yadav
a874faef13 feat: complete Phase 3 SDKs for Swift, C, C++, C#, and Ruby
Implements Database, Hosting, and Bridge SDKs for remaining languages:

Swift SDKs:
- SynorDatabase with KV, Document, Vector, TimeSeries stores
- SynorHosting with domain, DNS, deployment, SSL operations
- SynorBridge with lock-mint and burn-unlock cross-chain flows

C SDKs:
- database.h/c - multi-model database client
- hosting.h/c - hosting and domain management
- bridge.h/c - cross-chain asset transfers

C++ SDKs:
- database.hpp - modern C++17 with std::future async
- hosting.hpp - domain and deployment operations
- bridge.hpp - cross-chain bridge with wait operations

C# SDKs:
- SynorDatabase.cs - async/await with inner store classes
- SynorHosting.cs - domain management and analytics
- SynorBridge.cs - cross-chain with BridgeException handling

Ruby SDKs:
- synor_database - Struct-based types with Faraday HTTP
- synor_hosting - domain, DNS, SSL, analytics
- synor_bridge - lock-mint/burn-unlock with retry logic

Phase 3 complete: Database/Hosting/Bridge now available in all 12 languages.
2026-01-27 02:23:07 +05:30
Gulshan Yadav
14cd439552 feat(sdk/kotlin): add Database, Hosting, and Bridge SDKs
- SynorDatabase: Multi-model database with KV, Document, Vector, TimeSeries stores
- SynorHosting: Domain management, DNS, deployments, SSL, analytics
- SynorBridge: Cross-chain transfers with lock-mint and burn-unlock patterns
2026-01-27 02:04:13 +05:30
Gulshan Yadav
dd01a06116 feat(sdk): add Database, Hosting, and Bridge SDKs for Flutter
Phase 3 SDK expansion - Flutter/Dart implementations:

- Database SDK: Multi-model database with Key-Value, Document,
  Vector, and Time Series stores
- Hosting SDK: Decentralized web hosting with domain management,
  DNS, deployments, and SSL provisioning
- Bridge SDK: Cross-chain asset transfers with lock-mint and
  burn-unlock patterns

All SDKs follow consistent patterns with:
- Async/await API using Futures
- Proper error handling with typed exceptions
- Configurable retry logic and timeouts
- Full type safety with Dart's type system
2026-01-27 02:00:41 +05:30
Gulshan Yadav
74b82d2bb2 Add Synor Storage and Wallet SDKs for Swift
- Implement SynorStorage class for decentralized storage operations including upload, download, pinning, and CAR file management.
- Create supporting types and models for storage operations such as UploadOptions, Pin, and StorageConfig.
- Implement SynorWallet class for wallet operations including wallet creation, address generation, transaction signing, and balance queries.
- Create supporting types and models for wallet operations such as Wallet, Address, and Transaction.
- Introduce error handling for both storage and wallet operations.
2026-01-27 01:56:45 +05:30
Gulshan Yadav
59a7123535 feat(sdk): implement Phase 1 SDKs for Wallet, RPC, and Storage
Implements comprehensive SDK support for three core services across
four programming languages (JavaScript/TypeScript, Python, Go, Rust).

## New SDKs

### Wallet SDK
- Key management (create, import, export)
- Transaction signing
- Message signing and verification
- Balance and UTXO queries
- Stealth address support

### RPC SDK
- Block and transaction queries
- Chain state information
- Fee estimation
- Mempool information
- WebSocket subscriptions for real-time updates

### Storage SDK
- Content upload and download
- Pinning operations
- CAR file support
- Directory management
- Gateway URL generation

## Shared Infrastructure

- JSON Schema definitions for all 11 services
- Common type definitions (Address, Amount, UTXO, etc.)
- Unified error handling patterns
- Builder patterns for configuration

## Package Updates

- JavaScript: Updated to @synor/sdk with module exports
- Python: Updated to synor-sdk with websockets dependency
- Go: Added gorilla/websocket dependency
- Rust: Added base64, urlencoding, multipart support

## Fixes

- Fixed Tensor Default trait implementation
- Fixed ProcessorType enum casing
2026-01-27 00:46:24 +05:30
Gulshan Yadav
7785dbe8f8 fix: remove unused imports and suppress warnings in various modules 2026-01-26 23:59:27 +05:30
Gulshan Yadav
780a6aaad0 feat: Enhance economics manager with flexible oracle configurations
- Added `with_production_oracle` and `with_oracle` methods to `EconomicsManager` for custom oracle setups.
- Introduced `record_compute_with_gpu` method in `MeteringService` to handle GPU-specific pricing.
- Enhanced `CircuitBreakerManager` to streamline price recording and state checking.
- Expanded `CrossChainOracle` with a builder pattern for easier configuration and added methods for managing pending packets.
- Introduced `PriceOracleBuilder` and `OracleFactory` for creating price oracles with various feeds.
- Added volume discount functionalities in `PricingEngine` for better pricing strategies.
- Improved `ContentResolver` with configuration management and health check features.
- Enhanced `ProverConfig` accessibility in `ProofSubmitter` and `Verifier` for better integration.
- Added utility methods in `SmtContext` for managing SMT-LIB scripts and assertions.
2026-01-26 23:37:45 +05:30
Gulshan Yadav
2f2d3cef50 fix: restore test imports removed by cargo fix 2026-01-26 22:03:40 +05:30
Gulshan Yadav
3a450ed768 fix: remove unused import in storage-node binary 2026-01-26 21:58:06 +05:30
Gulshan Yadav
7e3bbe569c fix: implement incomplete features and apply linter fixes
- Fixed TransferDirection import error in ethereum.rs tests
- Implemented math.tanh function for Flutter tensor operations
- Added DocumentStore CRUD methods (find_by_id, update_by_id, delete_by_id)
- Implemented database gateway handlers (get/update/delete document)
- Applied cargo fix across all crates to resolve unused imports/variables
- Reduced warnings from 320+ to 68 (remaining are architectural)

Affected crates: synor-database, synor-bridge, synor-compute,
synor-privacy, synor-verifier, synor-hosting, synor-economics
2026-01-26 21:43:51 +05:30
Gulshan Yadav
f50f77550a feat: implement incomplete gateway and network features
- Implemented Gateway HTTP request handler with method routing
  * Added handle(), handle_get(), handle_head(), handle_post(), handle_options()
  * Integrated GatewayRequest and HttpResponse types
  * Added create_upload_response() for upload functionality
- Integrated ContentRouter into StorageNetwork
  * Added router field to StorageNetwork struct
  * Added router() and router_mut() accessor methods
- Fixed dead code warnings for gateway handler components

This completes the gateway HTTP handling infrastructure and content routing.
Previously these types were defined but unused, causing dead code warnings.
2026-01-26 21:33:20 +05:30
Gulshan Yadav
63d2d44e75 chore: apply clippy auto-fixes to reduce warnings
- Applied clippy --fix to synor-storage (19 fixes)
- Applied clippy --fix to synor-zk (2 fixes)
- Simplified code patterns and removed redundant operations
2026-01-26 21:16:10 +05:30