forked from hush/silentdragonlite-cli
Aditya Kulkarni
5 years ago
18 changed files with 104 additions and 135 deletions
@ -0,0 +1,75 @@ |
|||
[package] |
|||
name = "zecwalletlitelib" |
|||
version = "0.1.0" |
|||
edition = "2018" |
|||
|
|||
[dependencies] |
|||
tower-grpc = { git = "https://github.com/tower-rs/tower-grpc" } |
|||
futures = "0.1" |
|||
bytes = "0.4" |
|||
base58 = "0.1.0" |
|||
log = "0.4" |
|||
log4rs = "0.8.3" |
|||
dirs = "2.0.2" |
|||
http = "0.1" |
|||
prost = "0.5" |
|||
tokio = "0.1" |
|||
tower-request-modifier = { git = "https://github.com/tower-rs/tower-http" } |
|||
tower-util = "0.1" |
|||
hex = "0.3" |
|||
protobuf = "2" |
|||
byteorder = "1" |
|||
rand = "0.5.6" |
|||
json = "0.12.0" |
|||
tiny-bip39 = "0.6.2" |
|||
secp256k1 = "=0.15.0" |
|||
sha2 = "0.8.0" |
|||
ripemd160 = "0.8.0" |
|||
ring = "0.14.0" |
|||
lazy_static = "1.2.0" |
|||
tower-service = "0.2" |
|||
tokio-rustls = "0.10.0-alpha.3" |
|||
webpki = "0.19.1" |
|||
webpki-roots = "0.16.0" |
|||
tower-h2 = { git = "https://github.com/tower-rs/tower-h2" } |
|||
rust-embed = "5.1.0" |
|||
|
|||
[dependencies.bellman] |
|||
git = "https://github.com/adityapk00/librustzcash.git" |
|||
rev = "0743dadcd017b60a0ac7123d04f0d6e7ce1e8016" |
|||
default-features = false |
|||
features = ["groth16"] |
|||
|
|||
[dependencies.pairing] |
|||
git = "https://github.com/adityapk00/librustzcash.git" |
|||
rev = "0743dadcd017b60a0ac7123d04f0d6e7ce1e8016" |
|||
|
|||
[dependencies.zcash_client_backend] |
|||
git = "https://github.com/adityapk00/librustzcash.git" |
|||
rev = "0743dadcd017b60a0ac7123d04f0d6e7ce1e8016" |
|||
default-features = false |
|||
|
|||
[dependencies.zcash_primitives] |
|||
git = "https://github.com/adityapk00/librustzcash.git" |
|||
rev = "0743dadcd017b60a0ac7123d04f0d6e7ce1e8016" |
|||
default-features = false |
|||
features = ["transparent-inputs"] |
|||
|
|||
[dependencies.zcash_proofs] |
|||
git = "https://github.com/adityapk00/librustzcash.git" |
|||
rev = "0743dadcd017b60a0ac7123d04f0d6e7ce1e8016" |
|||
default-features = false |
|||
|
|||
[dependencies.ff] |
|||
git = "https://github.com/adityapk00/librustzcash.git" |
|||
rev = "0743dadcd017b60a0ac7123d04f0d6e7ce1e8016" |
|||
features = ["ff_derive"] |
|||
|
|||
[build-dependencies] |
|||
tower-grpc-build = { git = "https://github.com/tower-rs/tower-grpc", features = ["tower-hyper"] } |
|||
|
|||
[dev-dependencies] |
|||
rand_core = "0.5.1" |
|||
|
|||
[profile.release] |
|||
debug = false |
@ -1,7 +1,7 @@ |
|||
use std::collections::HashMap; |
|||
use json::{object}; |
|||
|
|||
use crate::LightClient; |
|||
use crate::lightclient::LightClient; |
|||
|
|||
pub trait Command { |
|||
fn help(&self) -> String; |
@ -0,0 +1,19 @@ |
|||
#[macro_use] |
|||
extern crate rust_embed; |
|||
|
|||
pub mod lightclient; |
|||
pub mod grpcconnector; |
|||
pub mod lightwallet; |
|||
pub mod commands; |
|||
|
|||
|
|||
#[derive(RustEmbed)] |
|||
#[folder = "zcash-params/"] |
|||
pub struct SaplingParams; |
|||
|
|||
pub const ANCHOR_OFFSET: u32 = 4; |
|||
|
|||
|
|||
pub mod grpc_client { |
|||
include!(concat!(env!("OUT_DIR"), "/cash.z.wallet.sdk.rpc.rs")); |
|||
} |
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue