Commit graph

129 commits

Author SHA1 Message Date
Gulshan Yadav
0b249a1196 feat: add configuration files for MCP and update project documentation
Some checks failed
CI / Check (push) Failing after 2s
CI / Test (push) Failing after 2s
CI / Build (Linux x86_64) (push) Has been skipped
Security Audit / Vulnerability Scan (push) Failing after 2s
Security Audit / License & Security Policy (push) Failing after 2s
Security Audit / Static Analysis (Clippy) (push) Failing after 2s
Security Audit / Secret Detection (push) Failing after 2s
Security Audit / Check Outdated Dependencies (push) Failing after 2s
Security Audit / Unsafe Code Audit (push) Failing after 2s
Security Audit / Property-Based Testing (push) Failing after 2s
Security Audit / WASM Module Security (push) Failing after 2s
CI / Benchmarks (push) Has been skipped
CI / CI Success (push) Failing after 1s
2026-03-30 08:24:08 +05:30
Gulshan Yadav
d9fd97bb96 chore: migrate from GitHub to Forgejo (git.misar.io)
Some checks failed
CI / Check (push) Failing after 2s
CI / Test (push) Failing after 2s
CI / Build (Linux x86_64) (push) Has been skipped
Security Audit / Vulnerability Scan (push) Failing after 2s
Security Audit / License & Security Policy (push) Failing after 2s
Security Audit / Static Analysis (Clippy) (push) Failing after 2s
Security Audit / Secret Detection (push) Failing after 2s
Security Audit / Check Outdated Dependencies (push) Failing after 2s
Security Audit / Unsafe Code Audit (push) Failing after 2s
Security Audit / Property-Based Testing (push) Failing after 2s
Security Audit / WASM Module Security (push) Failing after 2s
CI / Benchmarks (push) Has been skipped
CI / CI Success (push) Failing after 1s
- Move .github/workflows/ to .forgejo/workflows/ (identical YAML, runner labels changed to self-hosted)
- Drop macOS/Windows CI matrix legs (no macOS/Windows runners on self-hosted act_runner)
- Update Cargo.toml repository URL to git.misar.io/misaradmin/synor
- Remove .github/dependabot.yml (not applicable on Forgejo)
2026-03-30 08:20:39 +05:30
Gulshan Yadav
563bfa3909 docs: add desktop wallet README and update main docs for v0.1.1
Some checks failed
CI / Check (ubuntu-latest) (push) Failing after 2s
CI / Test (ubuntu-latest) (push) Failing after 2s
Security Audit / Vulnerability Scan (push) Failing after 2s
Security Audit / License & Security Policy (push) Failing after 2s
Security Audit / Static Analysis (Clippy) (push) Failing after 2s
Security Audit / Secret Detection (push) Failing after 2s
Security Audit / Check Outdated Dependencies (push) Failing after 2s
Security Audit / Unsafe Code Audit (push) Failing after 2s
Security Audit / Property-Based Testing (push) Failing after 2s
Security Audit / WASM Module Security (push) Failing after 2s
CI / Check (macos-latest) (push) Has been cancelled
CI / Test (macos-latest) (push) Has been cancelled
CI / Build (ubuntu-latest) (push) Has been cancelled
CI / Build (macos-latest) (push) Has been cancelled
CI / Benchmarks (push) Has been cancelled
CI / CI Success (push) Has been cancelled
- Create comprehensive README for desktop-wallet with features, installation,
  development guide, project structure, and changelog
- Update main README with v0.1.1 version references
- Add link to desktop wallet README from main docs
- Document QR code feature, browser preview mode, and bug fixes
2026-02-02 17:07:13 +05:30
Gulshan Yadav
e572578c8c chore: bump desktop wallet version to 0.1.1
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
2026-02-02 16:48:44 +05:30
Gulshan Yadav
099cb8942b feat: add QR code generation on Receive page
- Add qrcode.react dependency for client-side QR generation
- Replace placeholder icon with actual QRCodeSVG component
- QR code encodes the primary wallet address
2026-02-02 16:45:43 +05:30
Gulshan Yadav
9cdccece34 fix: Tauri 2.0 plugin config and icon bit depth
- Remove deprecated empty plugin configs (store, dialog, etc.)
- Remove fs plugin scope (now handled by capabilities)
- Convert icons from 16-bit to 8-bit RGBA for Tauri compatibility
2026-02-02 16:12:03 +05:30
Gulshan Yadav
681f40cb5e fix: desktop wallet navigation and build issues
- Add escape options on unlock page (import/reset wallet)
- Add confirmation modal for wallet reset with warning
- Fix Rust build errors by adding once_cell and md5 dependencies
- Remove duplicate Arc import in commands.rs
- Browser mock mode improvements for 24-word mnemonic
2026-02-02 15:37:41 +05:30
Gulshan Yadav
b6522c21ef desktop to web wallet version 2026-02-02 15:16:29 +05:30
Gulshan Yadav
f08eb965c2 a 2026-02-02 15:00:13 +05:30
Gulshan Yadav
c32622f34f expansion of desktop wallet features. 2026-02-02 14:30:07 +05:30
Gulshan Yadav
81347ab15d feat(wallet): add comprehensive desktop wallet features
Add all-in-one desktop wallet with extensive feature set:

Infrastructure:
- Storage: IPFS-based decentralized file storage with upload/download
- Hosting: Domain registration and static site hosting
- Compute: GPU/CPU job marketplace for distributed computing
- Database: Multi-model database services (KV, Document, Vector, etc.)

Financial Features:
- Privacy: Confidential transactions with Pedersen commitments
- Bridge: Cross-chain transfers (Ethereum, Bitcoin, IBC/Cosmos)
- Governance: DAO proposals, voting, and delegation
- ZK-Rollup: L2 scaling with deposits, withdrawals, and transfers

UI/UX Improvements:
- Add ErrorBoundary component for graceful error handling
- Add LoadingStates components (spinners, skeletons, overlays)
- Add Animation components (FadeIn, SlideIn, CountUp, etc.)
- Update navigation with new feature sections

Testing:
- Add Playwright E2E smoke tests
- Test route accessibility and page rendering
- Verify build process and asset loading

Build:
- Fix TypeScript compilation errors
- Update Tauri plugin dependencies
- Successfully build macOS app bundle and DMG
2026-02-02 11:35:21 +05:30
Gulshan Yadav
63c52b26b2 feat(desktop-wallet): add comprehensive wallet features
Add 10 major features to complete the desktop wallet:
- Staking: Stake SYN tokens for rewards with pool management
- DEX/Swap: Built-in token swap interface with liquidity pools
- Address Book: Save and manage frequently used addresses
- DApp Browser: Interact with decentralized applications
- Hardware Wallet: Ledger/Trezor support for secure signing
- Multi-sig Wallets: Require multiple signatures for transactions
- Price Charts: Market data and real-time price tracking
- Notifications: Push notifications for transactions and alerts
- QR Scanner: Generate and parse payment QR codes
- Backup/Export: Encrypted wallet backup and recovery

Includes Tauri backend commands for all features, Zustand stores
for state management, and complete UI pages with navigation.
2026-02-02 09:57:55 +05:30
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