A Flutter template for building amazing decentralized applications.
Sophon
Nuxify's very own template for building decentralized apps (dApps) with Flutter and Dart.
Interacts with a Greeter Smart Contract found here:
Template architecture closely resembles our other Flutter template:
Demo
Download the Sophon demo app from Google Play Store:
Coming soon in Apple App Store.
MetaMask
Download MetaMask mobile here:
Flutter Version Manager (FVM)
We recommend using FVM to manage Flutter versions as you may switch from different Flutter versions depending on the projects compatibility. Follow the guide here:
Build steps
All these steps are assuming you're using VS Code as your editor.
- Make sure that the Flutter SDK is installed on your machine.
- The installation of the SDK requires plenty of other software such as Android Studio and Xcode (if you're developing in Mac). Ensure that you have these too.
- You can run the project in multiple ways:
- Android Emulator (Open Android Studio -> Configure -> AVD Manager)
- iOS Simulator (Run
in the Terminal)-a Simulator - Physical device (Connect phone to your development machine)
- Run the command `
makeon the Terminal. This will automatically run a sequence of commands such as <pre><code class="lang-make">install</code></pre> that are necessary for running the project.
- Create a .env
file in the root of the folder, copy the contents of.env.example` and fill it with the corresponding data. Greeter contract address can be found at the top of this README file.
- Voila! The project should now be running on your designated simulator/device.
See Makefile for other commands.
Made with ❤️ at Nuxify