grim/README.md

38 lines
1.3 KiB
Markdown
Raw Normal View History

# Grim
Cross-platform GUI for [Grin](https://github.com/mimblewimble/grin) on [Rust](https://stackoverflow.blog/2020/01/20/what-is-rust-and-why-is-it-so-popular/) with focus on usability and availability to be used by anyone, anywhere. Named by character [Grim](https://harrypotter.fandom.com/wiki/Grim) - giant, spectral dog that haunts churchyards.
## Build instructions
### Install Rust
`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
```
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
Install Android SDK / NDK / Platform Tools
```
brew cask install android-sdk android-ndk android-platform-tools
2023-04-10 16:02:53 +03:00
```
Add to your `.bashprofile` or `.zshrc`:
```
export ANDROID_HOME="$(brew --prefix)/share/android-sdk"
export PATH=$PATH:$ANDROID_HOME/emulator:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools
export ANDROID_NDK_HOME="$(brew --prefix)/share/android-ndk"
```
#### Build the project
Run Android emulator or connect a real device. Command `adb devices` should show at least one device.
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
Apache License v2.0.