Adapter Process
Last updated
Last updated
Process:
Users invoke the premint interface of ERC-20 to preprocess the specified inscriptions.
Apply to the Service Oracle for puzzles to be used for inscriptions custody.
Generate a Taproot Script for locking the inscriptions.
Transfer the inscriptions to the Taproot Script.
Submit a mint request to the smart contract to generate the ERC20 tokens.
Process:
Calculate the teleburn address by the locked inscriptions ID.
Invoke the preburn interface of smart contract.
Send the ERC20 tokens to the teleburn address for burn.
Service Oracle captures the burn event, releasing the corresponding puzzles for the locked inscriptions ID.
Users unlock the inscriptions and transfer it to the target address.
The multisignature mechanism can effectively implement the custody and lockup of inscriptions. However, in business operations, the process of transforming BRC-20 to ERC-20 in DeFi interactions leads to a change in token ownership. The unlocking rules of multisignature are fixed and cannot be changed. Choosing the puzzle method for lockup provides more flexibility while ensuring the same level of security as multisignature.