Skip to content

nusantarachain/nuchain-app

Repository files navigation

Nuchain App

This is Nuchain Mobile App built with Flutter, based on Polkawallet.

Run

You don't flutter run you run with flavor:

$ flutter run --flavor prod lib/main.dart

Generate Model

Models written in flutter autogenerated by using json serialization library, to regenerate the code please type:

$ ./etc/script/gen_code.sh

For delete existing conflicting output:

$ ./etc/script/gen_code.sh --delete-conflicting-outputs

Build

For build apk:

$ flutter build apk --flavor prod lib/main.dart