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(sdk): implement BRC-20 #89

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from
Draft

Conversation

iamcrazycoder
Copy link
Contributor

What this PR does / why we need it:

This PR implements the BRC-20 tokens experiment which is a theoretical clone of ERC-20 on Ethereum. While, ERC-20 is completely based on smart contracts -- BRC-20 works on consensus of brc-20 indexers that tracks and maintains balances and transfers.

BRC-20 works on 3 process flows:

  1. Deploy: launch a new token on brc-20
  2. Mint: mint tokens from the available supply
  3. Transfer: transfer/trade tokens between two parties

All of the above 3 process flows have been implemented in this PR.

Note: There are many edge cases that haven't been tested yet, so please proceed to use this branch w/ caution.

@iamcrazycoder iamcrazycoder self-assigned this Oct 31, 2023
@iamcrazycoder iamcrazycoder marked this pull request as draft October 31, 2023 10:15
@iamcrazycoder iamcrazycoder force-pushed the nishant/add-brc2-support branch from 35662fb to 1c1113f Compare October 31, 2023 12:58
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.

1 participant