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.
- 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).
- Clone the ark project and run it locally (follow README instructions):
git clone git@github.com:ArkProjectNFTs/ark-project.git
- 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()));
}