It is a simple wallet application written in flutter. It helps you store and share cryptocurrencies.

Setup and Build Instructions

NOTE: Flutter should be pre-installed (Version 3.22)

  1. Clone the repository git clone https://github.com/TeeWrath/social-verse-solana.git
  2. Change directory cd social-verse-solana
  3. Update packages flutter pub get
  4. Run the project flutter run

App Features (Contains Screenshots too)

(click the arrows to view in detail)

Login

Create Wallet

Get wallet balance

Transfer balance

Request Airdrop

Retrieving and Using Flic Token

The Flic token is only obtained when user logs in, as in the response body we find a property named “token” which is the token we require. So to store this at that instance only, we do the following steps in the auth_controller.dart file

  1. Creating a variable to store the token
String flicToken = "";
  1. Creating a function to update the value of token as and when it is fetched from login response body
void _setToken(String tkn) {
    flicToken = tkn;
    print('This is the user Token $flicToken');
    notifyListeners();
  }