I have added code gen scripts to automate all stuff related to adding function from rust to react-native.
For it you need to install all deps for yoroi-mobile, nightly rust, aarch64-apple-ios-sim target ( rustup target add aarch64-apple-ios-sim ) , python 3.9. After all preparation you need to change CSL version in rust/Cargo.toml (if it necessary) and run generate.sh from repo root.
I have added code gen scripts to automate all stuff related to adding function from rust to react-native. For it you need to install all deps for yoroi-mobile, nightly rust, aarch64-apple-ios-sim target (
rustup target add aarch64-apple-ios-sim
) , python 3.9. After all preparation you need to change CSL version in rust/Cargo.toml (if it necessary) and run generate.sh from repo root.