Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Locked Quai/Qi coinbase for LMT and Wrapped Qi #2401

Open
wants to merge 6 commits into
base: goldenage
Choose a base branch
from

Conversation

jdowning100
Copy link
Contributor

@jdowning100 jdowning100 commented Dec 17, 2024

This PR adds functionality for miners to create tranches or groupings of locked Quai or Qi and allow a contract to manage it for them - for example, to mint them an NFT that represents that value so that it can be traded. This PR also adds functionality for users to wrap their Qi for use in the EVM. Users can send Qi UTXOs to a user-specified smart contract on Quai that mints them wrapped Qi tokens that can be used with smart contracts. It is the responsibility of the smart contract to maintain its own solvency via the NFTs or ERC20 tokens they give out. The balance of every smart contract is stored to disk via our lockup precompile, so a smart contract cannot attempt to mint more Qi or Quai than they have available.

@jdowning100 jdowning100 force-pushed the coinbase-redemption-global branch from 02e6ce8 to b2b1fad Compare December 17, 2024 23:02
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