Notification, changed ui with all code#4
Open
HDR2503 wants to merge 12 commits intogrndd-systems:mainfrom
Open
Notification, changed ui with all code#4HDR2503 wants to merge 12 commits intogrndd-systems:mainfrom
HDR2503 wants to merge 12 commits intogrndd-systems:mainfrom
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
-Notification
-Changed ui