You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document the yarn prerequisite and refresh mobile README for v0.4.0
A clean clone could not be built: bdk-rn resolves uniffi-bindgen-react-native
from a git source whose prepare step shells out to yarn build, so npm ci fails
on a workstation without yarn. Hosted CI images ship yarn, so the existing
workflow stayed green and hid the gap. Both READMEs now call this out before
the install step, along with the JDK 17 and Git requirements.
The mobile README still carried the 0.3.0 heading and none of the 0.4.0 work,
so it now lists BIP21 payment requests, MAX sends and the transaction detail
screen, documents the preview variant used to install a mainnet build beside
an existing one, and states that a missing signing variable silently produces
an unsigned build and that the keystore must be backed up outside the repo.
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,10 @@ The tested ARM64 APK is published under [GitHub Releases](https://github.com/tev
29
29
30
30
## Validation
31
31
32
+
Requires Node.js 22.11+, JDK 17, the Android SDK and Git. Yarn must be installed before the first install: `bdk-rn` pulls `uniffi-bindgen-react-native` from a git source whose prepare step shells out to `yarn build`, so `npm ci` fails without it. Hosted CI images ship yarn already, which is why this only bites on a fresh workstation.
Copy file name to clipboardExpand all lines: mobile/README.md
+23-2Lines changed: 23 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# BTC Wallet Mobile 0.3.0
1
+
# BTC Wallet Mobile 0.4.0
2
2
3
3
React Native ve resmi [BDK-RN 1.0](https://github.com/bitcoindevkit/bdk-rn) tabanlı, non-custodial Bitcoin cüzdanı. Android projesi birbirinden ayrı testnet ve mainnet uygulama kimlikleri üretir.
4
4
@@ -12,14 +12,27 @@ React Native ve resmi [BDK-RN 1.0](https://github.com/bitcoindevkit/bdk-rn) taba
12
12
- Tam sayı tabanlı BTC/SAT gösterimi ve işlem hesaplarından ayrı yaklaşık USD değeri
13
13
- Mempool.space/Blockstream fallback, mainnet genesis doğrulaması ve özel HTTPS Esplora desteği
14
14
- Alma adresi türetme indeksi, kullanılmamış adres sayacı ve 20 adreslik güvenlik sınırı
15
+
- QR kodlu BIP21 ödeme isteği; panodan gelen URI'de bilinmeyen `req-` parametresi, tekrar eden anahtar ve aralık dışı tutar reddedilir
16
+
- Tüm bakiyeyi gönderme (MAX); gerçek tutar tahmin yerine tamamlanmış PSBT çıktılarından okunur
17
+
- İşlem ayrıntı ekranı: yerel tutarlar, ücret, zaman damgası, kopyalanabilir txid; blok gezgini sorgusu açık kullanıcı eylemidir
15
18
- RBF, ücret sınırları, tam alıcı adresi ve son dört karakter onayı
16
19
- Ekran görüntüsü, overlay/tapjacking, Android yedekleme ve cleartext trafik korumaları
17
20
18
21
## Geliştirme
19
22
20
-
Android gereksinimleri: Node.js 22.11+, JDK 17 ve Android SDK. iOS bağımlılık çözümü ayrıca Ruby 3.1+ gerektirir.
23
+
Android gereksinimleri: Node.js 22.11+, JDK 17, Android SDK ve Git. iOS bağımlılık çözümü ayrıca Ruby 3.1+ gerektirir.
24
+
25
+
Kuruluma başlamadan önce **yarn'ı kurun**. `bdk-rn`, `uniffi-bindgen-react-native` paketini git kaynağından çeker ve o paketin hazırlık adımı `yarn build` çalıştırır; yarn bulunamazsa `npm ci` şu hatayla durur:
26
+
27
+
```
28
+
'yarn' is not recognized as an internal or external command
GitHub Actions imajlarında yarn hazır geldiği için CI bu durumu yakalamaz — temiz bir geliştirme makinesinde adım atlanmamalıdır.
21
33
22
34
```bash
35
+
npm install -g yarn # veya: corepack enable
23
36
npm ci
24
37
npx tsc --noEmit
25
38
npm run lint
@@ -48,6 +61,14 @@ cd android
48
61
49
62
Üretim APK'sı `android/app/build/outputs/apk/mainnet/app-mainnet.apk` altında oluşur. Release varyantı Metro kullanmaz; JavaScript paketi APK içine gömülür.
50
63
64
+
Dört değişkenden biri eksikse `hasReleaseSigning` false olur ve varyant imzasız derlenir. Keystore dosyası bilerek sürüm kontrolünün dışındadır; **repo dışında yedekleyin**, çünkü anahtar kaybedilirse aynı uygulama kimliğine güncelleme yayınlanamaz.
65
+
66
+
`preview` varyantı, `com.btcwalletmobile.previewmainnet` kimliğiyle mainnet derlemesini mevcut kurulumun yanına kurmayı sağlar; doğrulama sırasında kullanıcı verisini silmeye gerek kalmaz.
67
+
68
+
```powershell
69
+
.\gradlew.bat assemblePreview
70
+
```
71
+
51
72
## Güvenlik sınırları
52
73
53
74
- Uygulama sunucusuz ve non-custodial'dır; Esplora özel anahtarla imza atamaz fakat sorgulanan adresleri/IP'yi gözlemleyebilir veya eksik veri sunabilir.
0 commit comments