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

feat: brc21 proof of concept #1157

Closed
wants to merge 14 commits into from
Closed

feat: brc21 proof of concept #1157

wants to merge 14 commits into from

Conversation

nud3l
Copy link
Member

@nud3l nud3l commented Aug 3, 2023

Description

Adds a BRC21 proof of concept implementation. BRC21 are tokens that can be transferred on Bitcoin similar to BRC20 but that are originating on another chain.

The POC implements:

  • Inscribe minting INTR onto Bitcoin regtest
  • Parse the minting inscription in a smart contract and verify the Bitcoin transaction inclusion via the Interlay BTC relay
  • Inscribe the burning of INTR onto Bitcoin regtest
  • Parse the redeeming inscription in a smart contract and verify the Bitcoin transaction inclusion via the Interlay BTC relay

Reference: https://interlay-labs.gitbook.io/brc-21/

Changes

  • Adds access to the BTC relay via the contracts pallet
  • Adds support for rust-bitcoin types within the bitcoin crate
  • Adds the BRC21 proof of concept

Checklist

N/A

@nud3l nud3l changed the title feat: wip brc21 base contract without btc integration feat: brc21 proof of concept Aug 7, 2023
@nud3l
Copy link
Member Author

nud3l commented Aug 25, 2023

Moved the contract and docs to https://github.com/bob-collective/bob

@nud3l nud3l closed this Aug 25, 2023
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