grim/README.md

36 lines
1.6 KiB
Markdown
Raw Normal View History

2024-04-14 17:17:17 +03:00
# <img height="22" src="https://github.com/ardocrat/grim/blob/master/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-04-14 17:54:30 +03:00
for maximum compatibility with original [Mimblewimble](https://github.com/mimblewimble) implementation.
Initially supported platforms are Linux, Mac, Windows, limited Android and possible web support with help of [egui](https://github.com/emilk/egui) - 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
## 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).
`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
./target/release/grim
```
2023-04-10 16:02:53 +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).
#### Build the project
Run Android emulator or connect a real device. Command `adb devices` should show at least one device.
2024-04-14 13:20:22 +03:00
In the root of the repo run `./build_run_android.sh release arch`, where is `arch` is `v7` or `v8` based on device CPU architecture.
## License
2024-04-15 18:06:03 +03:00
Apache License v2.0.