diff --git a/Cargo.lock b/Cargo.lock index aa30ffd59eac..3b4e3cf28ae8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7288,6 +7288,13 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "via_btc_client" version = "0.1.0" +dependencies = [ + "async-trait", + "jsonrpsee", + "thiserror", + "zksync_config", + "zksync_types", +] [[package]] name = "vise" diff --git a/core/lib/via_btc_client/Cargo.toml b/core/lib/via_btc_client/Cargo.toml index 3265ff9352da..82a40a4b1b2f 100644 --- a/core/lib/via_btc_client/Cargo.toml +++ b/core/lib/via_btc_client/Cargo.toml @@ -3,12 +3,24 @@ name = "via_btc_client" description = "Via Network Bitcoin Inscription Standard Implementation" version.workspace = true edition.workspace = true -authors.workspace = true +authors = ["Via Network"] homepage.workspace = true repository.workspace = true license.workspace = true keywords.workspace = true categories.workspace = true +[[bin]] +name = "via_btc_example" +path = "examples/main.rs" + [dependencies] +zksync_types.workspace = true +zksync_config.workspace = true +thiserror.workspace = true +async-trait.workspace = true +jsonrpsee = { workspace = true, features = [ + "client", + "macros", +] } \ No newline at end of file diff --git a/core/lib/via_btc_client/examples/main.rs b/core/lib/via_btc_client/examples/main.rs new file mode 100644 index 000000000000..c8eddd32a69b --- /dev/null +++ b/core/lib/via_btc_client/examples/main.rs @@ -0,0 +1,4 @@ + +fn main () { + println!("Hello, world!"); +} \ No newline at end of file