Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add missing step for .env file in mobile wallet tutorial #426

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions docs/examples/mobile-wallet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ In this tutorial we will build a mobile wallet app.

1. Create a new flutter project

```
```bash
flutter create wallet_app
```

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
Expand All @@ -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.
Expand Down
Loading