Skip to content

witnet/my-wit-wallet

Repository files navigation

myWitWallet

Build Status GPLv3 Licensed GitHub contributors Github last commit

myWitWallet is a non-custodial Witnet compatible wallet that allows you to send and receive Wit immediately.

Installation

From Github Releases

Go to the releases section and download the binary suitable for your system.

myWitWallet Development

This application is built using the Flutter framework.

Dependencies

You need to install Flutter to run the app in development mode. Depending on your operating system, you will be requested to comply with some requirements.

Running myWitWallet

# clone the repository
git clone [email protected]:witnet/my-wit-wallet.git

# cd into the cloned repository
cd my-wit-wallet

# install application dependencies
flutter pub get

# launch development application
flutter run

Formatter

Repair lint errors with (this operation modifies your files!) dart format .

Test

We use Flutter for testing.

# run unit tests
flutter test

Build

Production

flutter pub get
System Build commands Destination path
iOS flutter build ios --release --no-codesign ./build/ios/ipa/myWitWallet.ipa
android flutter build apk ./build/app/outputs/flutter-apk/myWitWallet.apk
macOS flutter build macos --release ./build/macos/Build/Products/Release/myWitWallet.app
windows flutter build windows .\build\windows\runner\Release
linux bash sudo apt-get update -y && sudo apt-get install -y ninja-build libgtk-3-dev flutter build linux --release ./build/linux/x64/release/bundle

Github Actions (continuous integration)

Release

Creating a tag in my-wit-wallet repo triggers a Github Actions workflow and generates a new release for linux, windows, macOS, android and iOs.

Troubleshooting

  • Use flutter doctor to check if you miss any dependencies to complete the Flutter configuration.
  • Use flutter clean to clean the generated build and the Flutter cache.
  • Use dart pub cache repair to reinstall all packages in the system cache.

License

GPL-3