How to build a mobile NFT marketplace for Starknet

In this tutorial, we will build a mobile NFT marketplace for Starknet. The marketplace will allow users to mint, buy, and sell NFTs.

We will use the Ark protocol.

  1. Create a new flutter project
flutter create nft_marketplace

Run it locally with flutter run to make sure it is properly configured (run on IOS or Android, web and desktop not yet supported).

  1. Clone the ark project and run it locally (follow README instructions):
git clone git@github.com:ArkProjectNFTs/ark-project.git
  1. Install wallet_kit and its dependencies:
flutter pub add flutter_riverpod hive_flutter wallet_kit

Modify the main entrypoint to setup hive and riverpod (required for wallet_kit):

void main() async {
  await Hive.initFlutter();
  runApp(const ProviderScope(child: MyApp()));
}