Skip to content

feat(frontend): add React frontend for Golden Bridge dApp#2

Open
Ronfflex wants to merge 9 commits intomainfrom
frontend
Open

feat(frontend): add React frontend for Golden Bridge dApp#2
Ronfflex wants to merge 9 commits intomainfrom
frontend

Conversation

@Ronfflex
Copy link
Owner

Implement complete frontend application for the Golden Bridge gold-backed tokenization platform with the following features:

  • Wallet connection using Reown AppKit (WalletConnect)
  • GoldToken operations: mint, burn, and transfer GLD tokens
  • Lottery participation and reward claiming interface
  • Cross-chain bridge for token transfers via Chainlink CCIP
  • Admin panel for contract owners with pause/unpause and upgrade controls
  • Network easy switch between Sepolia and BSC Testnet
  • Responsive UI with educational tooltips and step indicators

Tech stack: React 19, TypeScript, Vite, ethers.js v6, CSS Modules

Implement complete frontend application for the Golden Bridge
gold-backed tokenization platform with the following features:

- Wallet connection using Reown AppKit (WalletConnect)
- GoldToken operations: mint, burn, and transfer GLD tokens
- Lottery participation and reward claiming interface
- Cross-chain bridge for token transfers via Chainlink CCIP
- Admin panel for contract owners with pause/unpause and upgrade controls
- Network easy switch between Sepolia and BSC Testnet
- Responsive UI with educational tooltips and step indicators

Tech stack: React 19, TypeScript, Vite, ethers.js v6, CSS Modules
@codecov
Copy link

codecov bot commented Nov 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements a comprehensive React frontend for the Golden Bridge dApp, providing a user-friendly interface for gold-backed token operations, lottery participation, and cross-chain bridging. The implementation uses modern React patterns with TypeScript, integrating Reown AppKit for wallet connectivity and ethers.js v6 for blockchain interactions.

Key Changes:

  • Complete React 19 + TypeScript + Vite setup with proper configuration
  • Custom hooks for contract interactions (useGoldToken, useLotterie, useTokenBridge, useAdmin, useNetwork)
  • Comprehensive UI component library with accessibility features
  • Dashboard with step-by-step user onboarding and educational tooltips
  • Admin panel for contract owners with pause/unpause functionality

Reviewed changes

Copilot reviewed 70 out of 72 changed files in this pull request and generated no comments.

Show a summary per file
File Description
package.json Defines dependencies including React 19, ethers 6.15.0, and Reown AppKit 1.8.14
tsconfig files TypeScript configuration with strict mode and modern ES2020 target
vite.config.ts Vite configuration with React plugin
src/types/* Type definitions for contracts (GoldToken, Lotterie, TokenBridge)
src/config/* Environment variables, network configs, contract addresses, Reown setup
src/hooks/* Custom React hooks for contract interactions and network management
src/components/ui/* Reusable UI components (Button, Input, Card, Alert, Tooltip, etc.)
src/components/Dashboard Main dashboard with onboarding flow and step indicators
src/components/GoldToken Mint/burn/transfer interface with educational content
src/components/Lotterie Lottery participation and rewards claiming
src/components/TokenBridge Cross-chain bridge interface using Chainlink CCIP
src/components/Admin Admin panel for contract owners
src/styles/globals.css Global CSS with design tokens and utility classes
abi/* Contract ABI files for ethers.js integration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@openzeppelin-code
Copy link

openzeppelin-code bot commented Dec 4, 2025

feat(frontend): add React frontend for Golden Bridge dApp

Generated at commit: e7c3bac6d16741f3d6885ef70807a93ae9cdd559

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
1
1
0
1
9
12
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

…am of randomDraw & huge gas improvement for fulfillRandomWords by using getUserByIndex instead of getUsers
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.

2 participants