Skip to content

Commit

Permalink
Merge pull request #18 from willemolding/willem/memo-based-withdrawals
Browse files Browse the repository at this point in the history
Memo based withdrawals
  • Loading branch information
willemolding authored Apr 9, 2024
2 parents 6013db8 + ccd5d29 commit af584bb
Show file tree
Hide file tree
Showing 8 changed files with 324 additions and 95 deletions.
186 changes: 169 additions & 17 deletions Cargo.lock

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

18 changes: 14 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ zebra-consensus = { workspace = true }
tiny-cash = { path = "tiny-cash" }
cartezcash-lightwalletd = { path = "cartezcash-lightwalletd" }
tower-cartesi = { path = "tower-cartesi" }
base58check = "0.1.0"
zcash_address = "0.3.2"
zcash_keys = { version = "0.2.0", features = ["orchard"] }
zcash_primitives = "0.15.0"


[workspace]
Expand All @@ -45,10 +49,16 @@ members = [ "cartezcash-lightwalletd", "tiny-cash", "tower-cartesi"]
[workspace.dependencies]

# patched zebra crates to support TinyCash network and expose things we need
zebra-consensus = { git = "https://github.com/willemolding/zebra", rev = "a8d1aa146fc702878ca84f63fe5c32898ffbdfcc", default-features = false }
zebra-state = { git = "https://github.com/willemolding/zebra", rev = "a8d1aa146fc702878ca84f63fe5c32898ffbdfcc", default-features = false }
zebra-test = { git = "https://github.com/willemolding/zebra", rev = "a8d1aa146fc702878ca84f63fe5c32898ffbdfcc", default-features = false }
zebra-chain = { git = "https://github.com/willemolding/zebra", rev = "a8d1aa146fc702878ca84f63fe5c32898ffbdfcc", default-features = false }
# zebra-consensus = { git = "https://github.com/willemolding/zebra", rev = "a8d1aa146fc702878ca84f63fe5c32898ffbdfcc", default-features = false }
# zebra-state = { git = "https://github.com/willemolding/zebra", rev = "a8d1aa146fc702878ca84f63fe5c32898ffbdfcc", default-features = false }
# zebra-test = { git = "https://github.com/willemolding/zebra", rev = "a8d1aa146fc702878ca84f63fe5c32898ffbdfcc", default-features = false }
# zebra-chain = { git = "https://github.com/willemolding/zebra", rev = "a8d1aa146fc702878ca84f63fe5c32898ffbdfcc", default-features = false }

zebra-consensus = { path = "../zebra/zebra-consensus", default-features = false }
zebra-state = { path = "../zebra/zebra-state", default-features = false }
zebra-test = { path = "../zebra/zebra-test", default-features = false }
zebra-chain = { path = "../zebra/zebra-chain", default-features = false }


[patch.crates-io]
# Ring needed to be patched as while the current version supports riscv, the version used by Zebra doesn't.
Expand Down
Loading

0 comments on commit af584bb

Please sign in to comment.