{"id":29342985,"url":"https://github.com/blixtwallet/noah","last_synced_at":"2025-07-18T03:02:16.735Z","repository":{"id":303080392,"uuid":"1004595968","full_name":"BlixtWallet/noah","owner":"BlixtWallet","description":"A self custodial Ark Wallet","archived":false,"fork":false,"pushed_at":"2025-07-05T14:28:41.000Z","size":3374,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-05T15:52:21.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlixtWallet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-18T22:01:57.000Z","updated_at":"2025-07-05T14:28:45.000Z","dependencies_parsed_at":"2025-07-05T16:06:15.996Z","dependency_job_id":null,"html_url":"https://github.com/BlixtWallet/noah","commit_stats":null,"previous_names":["blixtwallet/noah"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BlixtWallet/noah","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlixtWallet%2Fnoah","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlixtWallet%2Fnoah/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlixtWallet%2Fnoah/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlixtWallet%2Fnoah/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlixtWallet","download_url":"https://codeload.github.com/BlixtWallet/noah/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlixtWallet%2Fnoah/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264257663,"owners_count":23580469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-08T11:11:30.821Z","updated_at":"2025-07-08T11:11:34.218Z","avatar_url":"https://github.com/BlixtWallet.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Noah's Ark 🚢\n\nNoah is a modern, self-custodial mobile wallet for Ark, a Bitcoin Layer 2 protocol. It is built with React Native and Expo.\n\n---\n\n## Table of Contents\n\n- [✨ Core Technologies](#-core-technologies)\n- [🚀 Getting Started](#-getting-started)\n  - [Using Nix (Recommended)](#using-nix-recommended)\n  - [Bare Expo Setup](#bare-expo-setup)\n- [⚡️ Local Ark Regtest Environment](#️-local-ark-regtest-environment)\n- [🏃 Running the Application](#-running-the-application)\n- [📦 Building for Production](#-building-for-production)\n- [📜 License](#-license)\n\n---\n\n## ✨ Core Technologies\n\n- **Framework**: React Native \u0026 Expo\n- **Runtime \u0026 Package Manager**: Bun\n- **Language**: TypeScript\n- **Styling**: NativeWind (Tailwind CSS for React Native)\n- **State Management**: Zustand\n- **Navigation**: React Navigation\n- **Data Fetching**: TanStack Query\n- **Local Storage**: MMKV\n- **Native Modules**: Nitro (Ark)\n- **Development Environment**: Nix\n\n---\n\n## 🚀 Getting Started\n\nYou can set up the development environment using Nix (recommended) or by manually installing the dependencies.\n\n### Using Nix (Recommended)\n\nThis project uses [Nix](https://nixos.org/) to provide a reproducible development environment. While most dependencies are managed by Nix, you will still need to install a few tools manually.\n\n**Prerequisites:**\n\n1.  **Install Nix**: Follow the [official installation guide](https://docs.determinate.systems/).\n2.  **Install direnv**: This tool will automatically load the Nix environment when you enter the project directory. Follow the [direnv installation guide](https://direnv.net/docs/installation.html).\n3.  **Hook direnv into your shell**: Make sure to follow the instructions to hook direnv into your shell (e.g., add `eval \"$(direnv hook zsh)\"` to your `.zshrc`).\n4.  **Install IDEs and SDKs**:\n    - **Android**: Install [Android Studio](https://developer.android.com/studio).\n    - **iOS (macOS only)**: Install [Xcode](https://developer.apple.com/xcode/) from the Mac App Store.\n\n**Setup:**\n\n1.  **Clone the Repository**\n\n    ```bash\n    git clone https://github.com/BlixtWallet/noah.git\n    cd noah\n    ```\n\n2.  **Allow direnv to load the environment**\n    This command will trigger Nix to build the development shell. It might take a while on the first run.\n\n    ```bash\n    direnv allow\n    ```\n\n3.  **Install JavaScript Dependencies**\n    Once the Nix shell is active, you can install the project's dependencies using Bun.\n\n    ```bash\n    bun install\n    ```\n\n4.  **Install iOS Dependencies (for macOS users)**\n    This step links the native iOS libraries.\n    ```bash\n    bun ios:prebuild\n    ```\n\nNow the project is ready to run.\n\n### Bare Expo Setup\n\nIf you prefer not to use Nix, you can set up your environment manually. This project is a bare Expo project.\n\nFor a comprehensive guide on setting up your machine for bare Expo development, please refer to the **[Expo documentation](https://docs.expo.dev/get-started/set-up-your-environment/?mode=development-build\u0026platform=android\u0026device=simulated)**. This includes installing Node.js, Watchman, the Java Development Kit, Android Studio, and Xcode.\n\nOnce your environment is set up, follow these steps:\n\n1.  **Clone the Repository**\n\n    ```bash\n    git clone https://github.com/BlixtWallet/noah.git\n    cd noah\n    ```\n\n2.  **Install JavaScript Dependencies**\n\n    ```bash\n    bun install\n    ```\n\n3.  **Install iOS Dependencies (for macOS users)**\n    ```bash\n    bun ios:prebuild\n    ```\n\n---\n\n## ⚡️ Local Ark Regtest Environment\n\nFor development and testing, you can run a local Ark stack (bitcoind, aspd, bark) using Docker. The [`scripts/ark-dev.sh`](./scripts/ark-dev.sh) script helps manage this environment.\n\n**Prerequisites:**\n\n- **Docker**: Install [Docker Desktop](https://www.docker.com/products/docker-desktop/).\n\n**Setup \u0026 Usage:**\n\n1.  **Bootstrap the environment**\n    This clones the `bark` repository and prepares the Docker setup.\n\n    ```bash\n    ./scripts/ark-dev.sh setup\n    ```\n\n2.  **Start the services**\n    This will start `bitcoind`, `aspd`, and `bark` in the background.\n\n    ```bash\n    ./scripts/ark-dev.sh up\n    ```\n\n3.  **Create and fund wallets**\n    - Create a Bitcoin Core wallet: `./scripts/ark-dev.sh create-wallet`\n    - Generate blocks to fund it: `./scripts/ark-dev.sh generate 101`\n    - Create a bark wallet: `./scripts/ark-dev.sh create-bark-wallet`\n    - Fund the ASPD: `./scripts/ark-dev.sh fund-aspd 1`\n\n4.  **Stop the services**\n    ```bash\n    ./scripts/ark-dev.sh down\n    ```\n\nFor more commands and details, run `./scripts/ark-dev.sh` without arguments.\n\n---\n\n## 🏃 Running the Application\n\nThis project uses various scripts to run the application in different environments (Mainnet, Signet, Regtest).\n\nPlease see the `scripts` section in the [`package.json`](./package.json) file for a full list of available commands.\n\n**Example (running on Android Regtest):**\n\n```bash\nbun run android:regtest:debug\n```\n\n**Example (running on iOS Regtest):**\n\n```bash\nbun run ios:regtest:debug\n```\n\n---\n\n## 📦 Building for Production\n\nYou can create production-ready application binaries using the build scripts.\n\nPlease see the `scripts` section in the [`package.json`](./package.json) file for commands starting with `build:`.\n\n**Note on Code Signing:** For production builds, you will need to configure your own signing keys. Refer to the official React Native and Expo documentation for code signing on [Android](https://reactnative.dev/docs/signed-apk-android) and iOS.\n\n---\n\n## 📜 License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblixtwallet%2Fnoah","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblixtwallet%2Fnoah","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblixtwallet%2Fnoah/lists"}