All projects

Gold Staking & Lending Pool with zk-Proofs & Chainlink

A decentralized staking and lending protocol for gold-backed tokens using zk-proofs and Chainlink services on the Chainlink Runtime Environment (CRE).

DeFi & Tokenization CRE & AI

What it is

The application allows users to stake their tokenized gold and earn yields, or borrow against it.
Components:

  • Tokenized Gold: This refers to a digital representation of physical gold on a blockchain. Each token is typically backed by an equivalent amount of physical gold held in a vault, providing a bridge between the traditional gold market and the DeFi space.
  • Staking Pool: Users deposit their tokenized gold into this smart contract, making it available for lending. In return for staking, they receive a share of the interest generated from loans or other rewards.
  • Lending Pool: This is where borrowers can access loans by providing other cryptocurrencies as collateral, or by borrowing against their staked gold. The terms of the loan (interest rates, collateral requirements) are governed by a smart contract.
  • zk-Proofs: Circom circuits verify collateral & stake ownership without revealing amounts
  • Chainlink Data Feeds: Real-time gold prices for accurate LTV calculations
  • Chainlink VRF: Cryptographically fair random selection for reward distributions
  • Chainlink Automation: Automated liquidation monitoring and execution
  • CRE Settlement: Decentralized settlement orchestration across all pools

Problems it Solves

  • By tokenizing gold and combining Chainlink oracles to verify reserves and zk-Proofs for solvency, it can provide a more transparent and auditable system than the traditional gold market.
  • Tokenized gold enhances gold's divisibility and transferability on a blockchain, while staking and lending pools unlock its liquidity for DeFi activities.
  • While holding physical gold typically does not generate income, staking tokenized gold enables holders to earn yield.
  • zk-Proofs can enable borrowers to demonstrate compliance with collateral requirements without publicly disclosing the exact value of their assets, striking a balance between regulatory needs and user privacy.
  • A blockchain-based system with tokenized gold makes gold ownership and lending more accessible to a wider global audience, lowering entry barriers.

How it Works

The project was built using VS Code running on my Ubuntu Desktop. It was written in Solidity and compiled with Hardhat. React was used to build the GUI front end.

Links

Created by

  • Deverick Crippen