From e1672c5b60f278ec6106d01b41ec51cd17bf20ef Mon Sep 17 00:00:00 2001 From: ptisserand Date: Sat, 28 Dec 2024 11:11:01 +0100 Subject: [PATCH] docs: add missing step for .env file in mobile wallet tutorial (#426) --- docs/examples/mobile-wallet.mdx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/examples/mobile-wallet.mdx b/docs/examples/mobile-wallet.mdx index 56ea881f..3667f1fe 100644 --- a/docs/examples/mobile-wallet.mdx +++ b/docs/examples/mobile-wallet.mdx @@ -6,7 +6,7 @@ In this tutorial we will build a mobile wallet app. 1. Create a new flutter project -``` +```bash flutter create wallet_app ``` @@ -14,7 +14,7 @@ Run it locally with `flutter run` to make sure it is properly configured. 2. Install and run [`starknet-devnet`](https://0xspaceshard.github.io/starknet-devnet-rs/docs/running/install) -3. Add necessary dependnecies +3. Add necessary dependencies ```bash flutter pub add wallet_kit hive_flutter hooks_riverpod flutter_dotenv @@ -29,6 +29,12 @@ RPC="http://127.0.0.1:5050/rpc" > If you are building for Android, use `RPC="http://10.0.2.2:5050/rpc"` instead. +5. Add `.env` file in your `pubspec.yaml` +```yaml + assets: + - .env +``` + ## Let's write some code Let's start with a simple `main` function in your 'main.dart' file.