ICRC-1 , ICRC-2 and ICRC-3 in rust

I have been trying to find ICRC-1, ICRC-2 or ICRC-3 implementation of tokens in rust icp , specifically using the latest ic_cdk version higher than 0.11.0 . Specifically i am trying to do the following…

  1. Implementing a token standard in rust
  2. A canister accepting payment of the token standard which i made in rust .
  3. A factory pattern such that a parent canister can create a token programmatically .

Here are some links that may be interesting:

I have noticed that Defi related things in ICP . is quite fragmented . There isn’t a smooth developer on boarding to creating tokens , factory tokens or swaps.

1 Like

We are currently looking for a reference ICRC2 repo in rust as well. Something like OpenZeppelin library in EVM ecosystem.

Is the official Rust implementation also used for SNS token canisters, it implements ICRC-1 and its extensions.

1 Like

Better late than never, but finally there is an ICRC3 implementation in Rust available!

You can find all the details here:
:link: Introducing bity_ic_icrc3: A Complete ICRC3 Implementation for Internet Computer Developers
:package: dfinity-rust-libraries/src/icrc3 at master · BitySA/dfinity-rust-libraries · GitHub

It is quite easy to integrate with, and what I like mostly - it also implements all the security related features (certificates, throttling mechanism)

1 Like