https://github.com/ronfflex/golden-bridge
A gold-pegged ERC20 token system with cross-chain bridging capabilities between Ethereum and BSC. Features Chainlink price feeds for gold pricing, VRF-powered lottery mechanics from transaction fees, and CCIP for secure cross-chain transfers.
https://github.com/ronfflex/golden-bridge
chainlink chainlink-ccip chainlink-price-feeds chainlink-vrf foundry openzeppelin solidity
Last synced: about 1 year ago
JSON representation
A gold-pegged ERC20 token system with cross-chain bridging capabilities between Ethereum and BSC. Features Chainlink price feeds for gold pricing, VRF-powered lottery mechanics from transaction fees, and CCIP for secure cross-chain transfers.
- Host: GitHub
- URL: https://github.com/ronfflex/golden-bridge
- Owner: Ronfflex
- Created: 2024-12-09T07:53:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-22T11:30:07.000Z (over 1 year ago)
- Last Synced: 2025-03-22T12:25:49.605Z (over 1 year ago)
- Topics: chainlink, chainlink-ccip, chainlink-price-feeds, chainlink-vrf, foundry, openzeppelin, solidity
- Language: Solidity
- Homepage:
- Size: 84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Golden Bridge
This ERC-20 token is backed to gold, with 1 token representing 1 gram of gold. Users mint tokens by sending ETH, using Chainlink Price Feeds for real-time pricing.
A 5% fee applies to mint and burn transactions, with 50% allocated to a lottery using Chainlink VRF for fairness. The token is also bridged between Ethereum and Binance Smart Chain (BSC) via Chainlink CCIP, ensuring seamless cross-chain transfers while the main implementation remains on Ethereum.
## Authors
- [@Coralie Boyer](https://github.com/coralieBo)
- [@Vincent Rainaud](https://github.com/Ronfflex)
## Installation
### Clone this repos with
```bash
git clone https://github.com/Ronfflex/Golden-bridge.git
```
## Build
### Build the code with
```bash
forge build
```
## Run
### Run the tests with
```bash
forge test
```
### Check the coverage with
```bash
forge coverage
```
### Run the scripts with
```bash
```