Skip to content

Commit 38cc076

Browse files
committed
update icrc3 - fix typo
1 parent 4af9060 commit 38cc076

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

src/icrc3_c2c_client/Cargo.toml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[package]
2+
name = "bity-ic-icrc3-c2c-client"
3+
version = "0.1.0"
4+
edition = "2021"
5+
license = "MIT"
6+
description = "bity icrc3 c2c client"
7+
repository = "https://github.com/BitySA/dfinity-rust-libraries"
8+
keywords = ["dfinity", "internet-computer", "ic", "canister", "subcanister"]
9+
authors = ["Bity Team", "Gautier Wojda <[email protected]>"]
10+
documentation = "https://docs.rs/bity-ic-icrc3-c2c-client"
11+
12+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
13+
14+
[dependencies]
15+
# bity-ic-canister-client = { path = "../canister_client" }
16+
bity-ic-canister-client = "0.2.4"
17+
bity-ic-icrc3 = "0.4.8"
18+
bity-ic-types = "0.1.1"
19+
ic-cdk = { workspace = true }
20+
candid = { workspace = true }
21+
serde = { workspace = true }

src/icrc3_c2c_client/src/lib.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
use bity_ic_canister_client::generate_candid_c2c_call;
2+
use bity_ic_icrc3::types::*;
3+
4+
generate_candid_c2c_call!(icrc3_get_blocks);
5+
generate_candid_c2c_call!(icrc3_get_properties);
6+
generate_candid_c2c_call!(icrc3_supported_block_types);
7+
generate_candid_c2c_call!(icrc3_get_archives);
8+
generate_candid_c2c_call!(icrc3_get_tip_certificate);

0 commit comments

Comments
 (0)