-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[Bitcoin/Rust] Add support for creating Ordinal NFT inscriptions #3297
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
Merged
Merged
Changes from 12 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
7f26b64
expand comment on MIME data prefix in the construction of ordinal ins…
lamafab 3f47bd6
add NFT module
lamafab 657560c
update comment on push_opcode
lamafab e8bdb90
add test for NFT inscription
lamafab 7f47e36
expand full list of inscription types
lamafab 5f8eca8
compare NFT inscription test data with expected values
lamafab d378fcb
avoid splitting expected values into individual consts, use slices di…
lamafab 6964c73
fix warnings
lamafab d0f6b46
rename new_image to just new
lamafab 2cf3146
add tw_build_nft_inscription FFI function
lamafab f638ad6
test tw_build_nft_inscription FFI function
lamafab ec17d25
test protobuf NFT inscriptions
lamafab 2e86ffc
rename ImageType to MimeType
lamafab 30d0324
rename TW::Rust::tw_build_brc20_inscribe_transfer to TW::Rust::tw_bui…
lamafab ed59769
bitcoin-nft-inscriptions
lamafab d277601
add Script::buildNftInscription to CXX files, include correct path to…
lamafab ab2e9dc
add CXX test for SignNftInscription
lamafab 6457bee
add CXX test SignNftInscriptionReveal
lamafab cf9cd63
expand C interfaces with NFT inscription construction
lamafab 86f3af6
track TWBitcoinOrdinalsMimeType.h
lamafab 7b8c2ad
add Swift tests for NFT inscription
lamafab f11a7c3
track TWOrdMimeType.h
lamafab fbcb90e
correctly set payload when reading from file
lamafab 982cf10
compare substrings
lamafab c51f42c
avoid var name reuse
lamafab 60a725c
add nft inscription hex data of image and expected output
lamafab c001d94
small cleanup
lamafab 46a3a2d
replace TW::Rust::MimeType with TWOrdMimeType
lamafab 1f8fdf7
pass raw integer to Rust, derived from enum variant
lamafab e914d59
reverse txId for Swift tests
lamafab 8907a12
trigger CI
lamafab a1e327a
run cargo fmt
lamafab 55fdd9d
revert Podlock and update rust/coverage.stats
lamafab 1ec2683
update wallet-core-kotlin version in kmp
lamafab cfb82d6
clear todos
lamafab 565bafb
rename tw_build_nft_inscription to tw_build_ordinal_nft_inscription
lamafab 01ae022
remove Foundation import in Swift tests
lamafab 7955882
add Ordinal prefix to Nft inscriptions where appropriate, deprecate M…
lamafab 4ad8656
pass mime type as string from C++ to Rust
lamafab 3513a67
rename tw_build_ordinal_nft_inscription to tw_bitcoin_build_nft_inscr…
lamafab d327527
update wallet-core-kotlin
lamafab 3d7e93f
update Pods in samples
lamafab c2af9e4
Merge branch 'master' into bitcoin-nft-inscriptions
lamafab 27606a5
run cargo fmt
lamafab 5668faa
update pods in swift/ and swift/Example
lamafab f7c3385
fix how mime type is passed in swift tests
lamafab 2b642ad
pass string directly to Rust functions
lamafab 876bdf0
undo pod changes in samples
lamafab 5c9f7cd
run cargo fmt
lamafab a72678f
embed image content and raw transaction in CPP file directly
lamafab 9a0b6b9
embed image as raw hex in Rust
lamafab 647bc65
add embedded data in CPP files into separate file
lamafab 03e8607
Merge branch 'embed-nft-data' into bitcoin-nft-inscriptions
lamafab File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.