forked from Near-Bridge-Lab/btc-bridge
-
Notifications
You must be signed in to change notification settings - Fork 3
feat: shielded TX support #6
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 95 commits
Commits
Show all changes
118 commits
Select commit
Hold shift + click to select a range
8b7e96e
provide metadata for nBTC
olga24912 5bffba6
fix satoshi bridge cargo toml
olga24912 21d3776
address -> script_pubkey
olga24912 a1db442
btc-p2wpkh -> utxo_chain
olga24912 b887eeb
remove btc_network
olga24912 7002936
draft zcash tx impl
olga24912 68883e2
fix consenses decode
olga24912 0f484cd
zcash_primitives
olga24912 5ebffa2
fix cargo toml
olga24912 2883749
test for script
olga24912 1f8932c
fix get output
olga24912 673da64
change signhash
olga24912 0307c59
Refactor transaction type
karim-en 31a2e7f
Bump zcash_primitives version
karim-en 6be07c5
Convert btc tx into zcash tx
karim-en 0e96dd0
Set `final_script_sig`
karim-en 527e439
Fix sighash
karim-en c78f4cf
fix
karim-en ff8d87a
fix sequence
olga24912 6a2f5e7
zcash build
olga24912 db2dc1d
add zcash features
olga24912 bdd78e5
AddressInner -> Address
olga24912 b6a54b2
new line
olga24912 c3cc9d9
test parse address
olga24912 15fa72b
test from pubkey
olga24912 dbbd678
improve tests
olga24912 e72188e
fix warnings
olga24912 d1f47ff
check zcash fee
olga24912 b467c49
safe expiry height
olga24912 15e0bd1
fix expiry_height
olga24912 31633fd
add rbf
olga24912 2f7cca2
fix sequence
olga24912 986564b
extract expire_height for cancel_withdraw
olga24912 ec69040
fix cancel active utxo managment
olga24912 1b124ca
fix active utxo managment
olga24912 cb67c3d
utxo_mamagment extract block height
olga24912 725f5bc
gap into config
olga24912 8380486
Replace last_block_header with last_block_height
karim-en dc4136d
construct output for zcash
olga24912 8caa61c
add simple try from address
olga24912 d471465
parse unified address
olga24912 dcf242c
script pubkey
olga24912 28bb108
fmt for unified address
olga24912 b1871d8
fix find receiver in list
olga24912 bda96c5
fix warnings
olga24912 b7531b0
safe psbt wraper
olga24912 36dcef4
deserialize
olga24912 c351bdf
move het hash to sign
olga24912 08cca99
extract tx byte
olga24912 86d3d76
save signature
olga24912 7d8601c
incapsulate psbt
olga24912 f5a2b2d
separate transaction
olga24912 b2d1eeb
separate expiry hight
olga24912 e6424da
separate psbt creation
olga24912 03b98ba
separate chain specific functions
olga24912 23c6dcd
separate zcash functions
olga24912 a292d73
separate zcash
olga24912 35f0f3c
fix btc
olga24912 54515e4
fix warnings
olga24912 1fffdc4
optimize get min fee
olga24912 4374342
remove psbt for zcash
olga24912 2a7c2dd
remove unsed function
olga24912 a69a203
add get_input_num and get_output_num
olga24912 91accdf
fix satoshi bridge
olga24912 d643f47
fix new
olga24912 f3638d0
make psbt field private
olga24912 a7fed6d
reduce copy past
olga24912 d629183
reduce copypast
olga24912 9429bb4
fix test contract config for zcash
olga24912 7ad9489
don't panic
olga24912 e93e376
fmt
olga24912 57762bd
reduce include
olga24912 4344a0e
updaye zcash_protocol
olga24912 0c7595f
fix chain id
olga24912 0182643
remove default
olga24912 68c072c
add version
olga24912 3482f1a
fix bitcoin connector
olga24912 8087bbb
remove bytes_to_btc_transaction
olga24912 5ec8b1d
don't use fully-qualified name
olga24912 d3bfdb1
fix bitcoin tests
olga24912 f1250b7
fix check block heigth for branch id
olga24912 f4ca9b9
save block height
olga24912 ca251c7
fix
olga24912 cbe475b
fix make
olga24912 4a3d3e5
fix valid confiramtions range
olga24912 f3103dd
Bump version
karim-en 641d411
fix: use `U128` type for amount in `ft_on_transfer_callback`
frolvanya 7e9057a
provide max gas fee
olga24912 3100dfa
Merge branch 'omni-main' into zcash_support
olga24912 e778abc
Add orchard support
karim-en 2c4dc0a
Add comments
karim-en 852f39f
Add comment
karim-en c8114f5
fix outputs checks
olga24912 945f087
Calculate sighash with `orchard_bundle`
karim-en 43475c5
Implement Orchard Bundle Validation for Zcash Withdrawals (#20)
r-near 3612052
Avoid extra clone of Orchard bundle
karim-en 0be10b6
Replace panic with panic_str
karim-en 95cd8ef
Bump version
karim-en 0e88488
Fix clippy
karim-en 2a7d703
Fix build variant
karim-en 2960fb9
Fix orchard tests
karim-en c4341aa
Run lint and tests to CI
karim-en b347aef
Merge branch 'omni-main' into orchard_tx
karim-en 2f0a2b8
Revert default
karim-en 4db11cf
Remove added ci
karim-en ac14727
Remove unused fmt
karim-en 089cc58
Fix tests
karim-en c9ec7e4
Fix orchard test
karim-en 39f3c17
Fix orchard test
karim-en 561e38e
Add missed `safe_deposit`
karim-en a80df03
add different wasm path
olga24912 cf0a130
fix orchard tests
olga24912 56f7687
fix test_base
olga24912 70dd014
fix check predecessor account id
olga24912 a07ebe1
fix test
olga24912 c43a72c
fix check outputs number
olga24912 629a189
unwrap -> expect
olga24912 dd4487c
extract expiry height check
olga24912 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
Large diffs are not rendered by default.
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
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.