Regarding ICRC7 standard implementation in rust

In short, I wish to use icrc7 NFT standard tokens in my project, and there’s no docs or guide to implement that standard in rust, with the wasm and .did file like we do for icrc1 ledger setup.
But, although found some repos, which had code, and implementation like the yuku or other repos, but all of them give trap errors when tried to test with this one particular function: icrc7_tokens
Any solution to this?

Don’t use rust.

…20 characters…

:slight_smile:

…20 characters……

Thanks for this. But it’s in motoko so I don’t have the source code or the wasm file here to go with this.
But I’ve fixed this, I’ve used the yuku NFT implementation in rust only, but icrc7_tokens throws trap errors, which I’ve fixed. So, I guess there won’t be any issue, if I’m handling these errors, and using this nft in my projects.

‘git clone GitHub - PanIndustrial-Org/icrc_nft.mo: An example nft built on ICRC7/37/3 standards

‘dfx build icrc7’

That should get you a wasm.

Also /example/deploy.sh should get you a local nft you can play with.(should work with a rust binary as well).

1 Like