Skip to content

Notification, changed ui with all code#4

Open
HDR2503 wants to merge 12 commits intogrndd-systems:mainfrom
HDR2503:all-code
Open

Notification, changed ui with all code#4
HDR2503 wants to merge 12 commits intogrndd-systems:mainfrom
HDR2503:all-code

Conversation

@HDR2503
Copy link
Collaborator

@HDR2503 HDR2503 commented Feb 9, 2026

-Notification
-Changed ui

HDR2503 and others added 12 commits December 9, 2025 16:39
- Implemented brand Font and Colors GS-40  GS-32
- Added imageds in Welcome block, Instruction  GS-42 GS-53
- Changed FAQ section GS-18
- Changed generetion key GS-13
- Changed Profile
Add WebRTC functionality for proof generation and exchange with desktop client:
- Add WebRTC AAR libraries (webrtc-core, webrtc-firebase)
- Integrate WebRTC flow into existing QR scanner (no new UI screens)
- Add WebRTCProofCoordinator for managing proof exchange flow
- Add Firebase configuration and auth support
- Fix nested parallel context issue in proof generation
- Add network security config for local development
- Update BaseConfig with development endpoints

This is a work-in-progress implementation. The flow works but needs:
- Additional testing and error handling
- UI feedback improvements
- Production endpoint configuration
- Code cleanup and optimization
Compute passport dataType dynamically from CircuitAAType structure:
- Use dg15DigestPositionShift + aaKeyPositionShift to calculate circuit size
- Build constant name: P_{ALGORITHM}_{HASH}_{SIZE}[_3]
- Example: P_RSA_SHA1_2688 where 2688 = 2432 + 256

Compute zkType from circuit name:
- Convert registerIdentity_X to Z_NOIR_PASSPORT_X
- Apply keccak256 hash using ABI encoding (Hash.sha3String)

Both values now computed correctly instead of using hardcoded constants.
- Add PlonkProof.fromHexString() for automatic public signal detection
- Replace manual proof parsing in ExtIntegratorApiManager with universal function
- Translate Russian comments to English
- Document proof structure: N pub signals * 32 bytes + 2144 bytes proof data

Benefits:
- Works with any circuit (registration, query, etc.)
- Cleaner code: 1 line instead of 30 lines of manual parsing
- Automatically calculates number of public signals
- Better error handling and documentation
- Update contract addresses and RPC URLs for Eden testnet
- Change chainId to 3735928814 for Eden network
- Add current_date field from contract instead of generating locally
- Use real issueTimestamp and identityCounter values
- Fix PlonkProof parser to dynamically detect public signals count
- Fix zkPoints extraction to avoid duplicate 0x prefix
-debagging Ui
-removed unnecessary code
- Update RELAYER_URL to Cloud Run service for both TestNet and Mainnet
- Sync MainnetConfig with TestNet (Eden testnet endpoints and contracts)
- Reorder registerIdentityLight circuits
- Update applicationId to com.grnddsystems.celestials
- Rename package directories and update all imports
- Update google-services.json with new Firebase app
- Rename project to Celestials
- Update WebRTC AAR libraries (race condition fix, TURN servers, reconnect support)
- Add NoirLock global mutex to prevent concurrent native proof generation crashes
- Add duplicate flow protection and state reset on disconnect in WebRTCProofCoordinator
- Add per-step timing logs to query proof generation pipeline for performance profiling
# Conflicts:
#	app/src/main/assets/masters_asset.pem
#	app/src/main/java/com/grnddsystems/celestials/api/ext_integrator/ext_int_action_preview/handlers/light_proof_handler/LightProofHandler.kt
#	app/src/main/java/com/grnddsystems/celestials/manager/ProofGenerationManager.kt
#	app/src/main/java/com/grnddsystems/celestials/manager/RegistrationManager.kt
#	app/src/main/java/com/grnddsystems/celestials/modules/main/MainScreen.kt
#	app/src/main/java/com/grnddsystems/celestials/modules/main/MainScreenRoutes.kt
#	app/src/main/java/com/grnddsystems/celestials/modules/passportScan/nfc/NfcScanBottomSheet.kt
#	app/src/main/java/com/grnddsystems/celestials/modules/passportScan/nfc/ReadEDocStep.kt
#	app/src/main/java/com/grnddsystems/celestials/modules/profile/ProfileScreen.kt
#	app/src/main/java/com/grnddsystems/celestials/modules/profile/ProfileViewModel.kt
#	app/src/main/java/com/grnddsystems/celestials/modules/votes/voteProcessScreen/VoteProcessInfoScreen.kt
#	app/src/main/java/com/grnddsystems/celestials/ui/theme/RarimeColors.kt
#	app/src/main/java/com/grnddsystems/celestials/ui/theme/RarimeTypography.kt
#	app/src/main/java/com/grnddsystems/celestials/util/AddressFormatter .kt
#	app/src/main/java/com/rarilabs/rarime/BaseConfig.kt
#	app/src/main/java/com/rarilabs/rarime/api/ext_integrator/ExtIntegratorApiManager.kt
#	app/src/main/java/com/rarilabs/rarime/modules/FAQ/FAQScreen.kt
#	app/src/main/java/com/rarilabs/rarime/modules/home/v3/HomeScreen.kt
#	app/src/main/java/com/rarilabs/rarime/modules/intro/IntroScreen.kt
#	app/src/main/java/com/rarilabs/rarime/modules/intro/IntroViewModel.kt
#	app/src/main/java/com/rarilabs/rarime/ui/components/AppLogo.kt
-Notification
-Changed ui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants