This repository serves as a template for Flutter projects calling into native Rust
libraries via flutter_rust_bridge.
To begin, ensure that you have a working installation of the following items:
- Flutter SDK
- Rust language
- Appropriate Rust targets for cross-compiling to your device
- For Android targets:
- Install cargo-ndk
- Install Android NDK 22, then put its path in one of the
gradle.properties, e.g.:
echo "ANDROID_NDK=.." >> ~/.gradle/gradle.properties
- Web is not supported yet.
Then go ahead and run flutter run! When you're ready, refer to our documentation
here
to learn how to write and use binding code.
.env
TEST_ENV=true
BACKEND_API_URL=http://localhost:2000
RELAY_URL=http://localhost:8000
TELEGRAM_BOT=tookey_dev_bot
NODE_URL=https://data-seed-prebsc-2-s3.binance.org:8545/