2024-04-21 23:45:24 +03:00
# <img height="22" src="https://github.com/ardocrat/grim/blob/master/android/app/src/main/ic_launcher-playstore.png?raw=true"> Grim <img height="20" src="https://github.com/mimblewimble/site/blob/master/assets/images/grin-logo.png?raw=true"> <img height="20" src="https://github.com/ardocrat/grim/blob/master/img/logo.png?raw=true">
2024-04-14 18:37:18 +03:00
Cross-platform GUI for [GRiN ツ ](https://grin.mw ) in [Rust ](https://www.rust-lang.org/ )
2024-05-01 03:46:39 +03:00
for maximum compatibility with original [Mimblewimble ](https://github.com/mimblewimble/grin ) implementation.
Initially supported platforms are Linux, Mac, Windows, limited Android and possible web support with help of [egui ](https://github.com/emilk/egui ) - immediate mode GUI library in pure Rust.
2024-04-14 13:05:01 +03:00
2024-04-14 17:01:51 +03:00
Named by the character [Grim ](http://harrypotter.wikia.com/wiki/Grim ) - the shape of a large, black, menacing, spectral giant dog.
2024-04-14 13:05:01 +03:00
2024-04-14 12:53:58 +03:00
## Build instructions
### Install Rust
2024-04-14 17:54:30 +03:00
Follow instructions on [Windows ](https://forge.rust-lang.org/infra/other-installation-methods.html ).
2024-04-14 12:53:58 +03:00
`curl https://sh.rustup.rs -sSf | sh`
### Desktop
To build and run application go to project directory and run:
2023-04-10 16:02:53 +03:00
```
2024-04-15 18:06:03 +03:00
cargo build --release
2024-07-02 16:40:07 +03:00
./target/release/grim-bin
2024-04-14 12:53:58 +03:00
```
2023-04-10 16:02:53 +03:00
2024-04-14 12:53:58 +03:00
### Android
#### Set up the environment
2023-04-10 16:02:53 +03:00
2024-04-14 13:20:22 +03:00
Install Android SDK / NDK / Platform Tools for your OS according to this [FAQ ](https://github.com/codepath/android_guides/wiki/installing-android-sdk-tools ).
2024-04-14 12:53:58 +03:00
#### Build the project
Run Android emulator or connect a real device. Command `adb devices` should show at least one device.
2024-06-19 15:40:07 +03:00
In the root of the repo run `./scripts/build_run_android.sh debug|release v7|v8` , where is `v7` , `v8` - device CPU architecture.
2024-04-14 12:53:58 +03:00
## License
2024-04-15 18:06:03 +03:00
Apache License v2.0.