Welcome to the Mobile Team Repo
This repository is a monorepo that we manage using Yarn workspaces.
| Package | Description |
|---|---|
| @avalabs/core-mobile | Core Mobile app |
| @avalabs/k2-alpine | Mobile Design System |
| eslint-plugin-avalabs-mobile | Shared ESLint plugin |
| @avalabs/tsconfig-mobile | Shared TypeScript config |
-
Yarn — the repo pins Yarn 3.6.4 in
.yarn/releases(viayarnPath), so any modern Yarn launcher delegates to it:corepack enableor, if you prefer Homebrew:
brew install yarn(Yarn >= 1.22 forwards to the pinned version automatically).
Everything else (Xcode, Android Studio, Ruby, AWS CLI, …) is only needed to build the app itself — see the core-mobile README.
-
Clone the repo
git clone git@github.com:ava-labs/core-mobile.git && cd core-mobile -
Install dependencies for all packages and run their setup scripts
In the root directory, run:
yarn install && yarn setup -
Follow the specific instructions in each package to build/run it:
- core-mobile — the wallet app
- k2-alpine — the design system / Storybook
-
You can use these shortcuts to quickly run a command for
packages/core-mobileandpackages/k2-alpineyarn core <COMMAND> yarn k2 <COMMAND> e.g yarn core start && yarn core ios -
To quickly remove all the node_modules folders, you can run
./scripts/remove-node-modules.sh