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

[WIP]Feat/zcash #1366

Merged
merged 77 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
c6a5fbe
feat: zcash basic support
soralit Aug 22, 2024
45a5272
feat: introduce pczt vendor crate
soralit Oct 29, 2024
938ba47
refactor: zcash crates
soralit Oct 29, 2024
7b2bfc8
fix: build
soralit Oct 30, 2024
9a18035
feat: update pczt data hash
soralit Oct 31, 2024
ac2ece9
feat: extend pczt functionality
soralit Oct 31, 2024
a612b34
feat: impl signer for pczt
soralit Oct 31, 2024
905f9f7
fix: pczt hash
soralit Nov 5, 2024
7fdb07d
fix: adjust transaction signing code
soralit Nov 5, 2024
b3e1b9a
feat: adopt pczt latest changes
soralit Nov 13, 2024
ec80558
feat: support pczt check and parse output ciphertext
soralit Nov 14, 2024
40b156d
feat: parst pczt transparent and orchard
soralit Nov 18, 2024
df4dbcf
feat: add zcash interfaces
soralit Nov 18, 2024
f25494f
feat: zcash ui
soralit Nov 19, 2024
ee311c6
feat: add rust structs
soralit Nov 21, 2024
ff00372
chore: reduce firmware size
soralit Nov 21, 2024
8a7e196
chore: update dep
soralit Nov 22, 2024
2d58467
feat: zcash basic transaction view
soralit Nov 26, 2024
783845d
feat: pull pczt latest changes
soralit Dec 6, 2024
c68244a
fix: correct sign hash and check
soralit Dec 9, 2024
3b98da7
chore: bump version
soralit Dec 10, 2024
5ac5d2c
fix: should not render transparent part when it is None
soralit Dec 11, 2024
33dfe7a
fix: omit pczt checking ATM
soralit Dec 11, 2024
6b0db39
fix: wrong total transfer value
soralit Dec 12, 2024
b8979c1
fix: pczt transaction signing and display issues
soralit Dec 12, 2024
049014a
fix: memo decode / an edge case of crash / use TRGN randomness when s…
soralit Dec 13, 2024
7b76767
feat: Use TRNG as a custom `getrandom` backend
str4d Dec 13, 2024
286f73b
zcash: Switch to obtaining randomness through `rand_core::OsRng`
str4d Dec 13, 2024
e6d109e
zcash: Replace vendored `zcash_protocol` with published crate
str4d Dec 13, 2024
2717029
zcash: Replace vendored `zcash_encoding` with published crate
str4d Dec 13, 2024
0b4e182
zcash: Replace vendored `zcash_address` with published crate
str4d Dec 13, 2024
9d7d6ea
zcash: Replace vendored `zip32` with published crate
str4d Dec 13, 2024
a29783e
zcash: Replace vendored Sinsemilla with `sinsemilla` crate
str4d Dec 13, 2024
d5923d3
fix: zcash memory leak
soralit Dec 13, 2024
b0ab795
fix: sign transparent input should return der signature with sighash …
soralit Dec 14, 2024
d3c483b
fix(zcash): shielding transaction display issue and modify tx_modifia…
soralit Dec 16, 2024
6dfe512
fix: unshielding transaction failed because of the hash calculation
soralit Dec 16, 2024
1ef4480
chore: update rust-toolchain
soralit Dec 16, 2024
99379eb
chore: update toolchain
soralit Dec 16, 2024
3c3cc5e
fix: judge dummy output
soralit Dec 16, 2024
ca92e5e
chore: upgrade toolchain for CI
soralit Dec 16, 2024
43ee41b
fix: unshielding transaction signing
soralit Dec 16, 2024
a9075ea
zcash: Remove vendored `zcash_encoding` files
str4d Dec 16, 2024
df5de09
zcash: Replace vendored `zcash_primitives` with `zcash_transparent`
str4d Dec 16, 2024
50109c9
zcash: Replace vendored `orchard` with upstream branch
str4d Dec 16, 2024
ddd20ba
zcash: Replace vendored `zcash_keys` with upstream branch
str4d Dec 16, 2024
ac1c0ec
zcash: Replace vendored `pczt` with upstream branch
str4d Dec 17, 2024
eaf9f30
zcash: Display user-facing addresses for outputs
str4d Dec 17, 2024
5934b1e
fix: change output is marked as invalid
soralit Dec 17, 2024
373df13
feat: add fee value display
soralit Dec 17, 2024
3034a28
chore: refine checking logic
soralit Dec 17, 2024
76d6a9d
fix(zcash): home page zec issue
soralit Dec 17, 2024
5539026
refactor(zcash): no hardcoded network
soralit Dec 17, 2024
90b26f5
style: run fmt
soralit Dec 17, 2024
7a179c9
style(zcash): optimize import
soralit Dec 17, 2024
b379e52
style(zcash): run cargo fix
soralit Dec 17, 2024
dd637e4
fix(bitcoin): issues happened after upgrade bitcoin
soralit Dec 17, 2024
f2fb1c3
fix: disable checking ATM
soralit Dec 17, 2024
aa0220a
fix: transaction signing failed issue
soralit Dec 17, 2024
2e2e5b9
feat: ui refinement for sapling part
soralit Dec 17, 2024
b0b01da
feat: ui refinement for sapling part
soralit Dec 17, 2024
0b79d5c
fix: zcash receive page issue
soralit Dec 18, 2024
4641f77
fix: unit test
soralit Dec 18, 2024
1a8bc53
feat: upgrade zcash dep
soralit Dec 18, 2024
bed660d
feat: support passphrase and slip39 to zcash
soralit Dec 18, 2024
fa3f10c
fix: ui issue
soralit Dec 18, 2024
6a04d69
fix: open checking logic
soralit Dec 18, 2024
3882c14
fix: disable zcash for passphrase and slip39 wallet for now
soralit Dec 18, 2024
2a7c871
chore: bump beta version
soralit Dec 18, 2024
6cc43e1
fix: build
soralit Dec 18, 2024
d41a8f2
fix: passphrase judge error
soralit Dec 18, 2024
337981f
fix: issues
soralit Dec 19, 2024
9a81ada
feat: allow p2sh transparent output and input. refactor ut
soralit Dec 19, 2024
05b1372
fix: amount calculation
soralit Dec 19, 2024
71bdfb8
fix: app crash
soralit Dec 19, 2024
79cc493
fix: connect wallet issue
soralit Dec 19, 2024
82a380c
fix: ui issues
soralit Dec 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: update dep
  • Loading branch information
soralit committed Dec 18, 2024
commit 8a7e196292f50f0e1f1c73dde572d61e84b7e365
1 change: 1 addition & 0 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
itertools = { version = "0.13.0", default-features = false, features = [
"use_alloc",
] }

bitcoin = { version = "0.32.4", default-features = false, features = [
"secp-recovery",
] }
Expand Down
10 changes: 6 additions & 4 deletions rust/zcash_vendor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,21 @@ pasta_curves = { version = "0.5.1", default-features = false, features = [
] }
subtle = { version = "2.6", default-features = false }
group = { version = "0.13.0" }
aes = {workspace = true}
aes = { workspace = true }
fpe = { version = "0.6", default-features = false, features = ["alloc"] }
f4jumble = { version = "0.1", default-features = false }
byteorder = { version = "1", default-features = false }
ripemd = { version = "0.1", default-features = false, features = ["oid"] }
bs58 = { version = "0.5", default-features = false, features = ["alloc"] }
bip32 = { path = "../../../crates/bip32", default-features = false, features = [
bip32 = { git = "https://github.com/KeystoneHQ/crates.git", tag = "no_std", default-features = false, features = [
"alloc",
"secp256k1-ffi",
] }
secp256k1 = { version = "0.29", default-features = false, features = ["alloc"] }
core2 = { workspace = true }
hex = { workspace = true }
bitvec = {version = "1.0.1", default-features = false, features = ["alloc"]}
chacha20poly1305 = {version = "0.10.1", default-features = false, features = ["alloc"]}
bitvec = { version = "1.0.1", default-features = false, features = ["alloc"] }
chacha20poly1305 = { version = "0.10.1", default-features = false, features = [
"alloc",
] }
#zcash end