i1skn / ironbelly

Grin 📱wallet you've deserved
https://ironbelly.app
Apache License 2.0
93 stars 18 forks source link

NO LONGER SUPPORTED!

Read more here: https://forum.grin.mw/t/ironbelly-is-spitting-fire-no-longer/11003

Ironbelly

Named after a species of dragon - Ukrainian Ironbelly. One of them guarded some of the oldest and deepest vaults in Gringotts. This wallet uses React-Native for the UI and official Grin source code written in Rust.

Contributing

Install Rust

curl https://sh.rustup.rs -sSf | sh

Set up the environment

Go to project directory and run:

cd rust
./scripts/init.sh // add needed targets for rust

iOS

Let's install Xcode build tools first

xcode-select --install

Build the project

Go to project directory and run:

cd rust
./scripts/build.sh release ios 
# All iOS related code lives in `ios/` directory
cd ../ios
sudo gem install cocoapods
pod install
cd ..
npm install
npm start # this will start React Native server

After all of these, please open ios/Ironbelly.xcworkspace in XCode and run Product -> Build (⌘B)

Android

Set up the environment

Install Android SDK / NDK / Platform Tools

brew cask install android-sdk android-ndk android-platform-tools

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. Now adb devices should show at least one device.

cd rust
./scripts/build.sh release android 
cd ..
npm install

Go to the root of the repo and run react-native run-android

Beta testing

iOS - Testflight

https://testflight.apple.com/join/GrqGPx9W

Android

https://play.google.com/store/apps/details?id=app.ironbelly

How to verify Android APK signature

  1. Download the key gpg --keyserver keys.openpgp.org --search-keys ivan@sorokin.io
  2. Verify gpg --verify Ironbelly-vX.Y.Z.B.apk.asc Ironbelly-vX.Y.Z.B.apk

License

Apache License v2.0.