diff --git a/hosts/android/.github/README.md b/hosts/android/.github/CI.md similarity index 100% rename from hosts/android/.github/README.md rename to hosts/android/.github/CI.md diff --git a/hosts/android/README.md b/hosts/android/README.md index 375d7b1efb..56f179115a 100644 --- a/hosts/android/README.md +++ b/hosts/android/README.md @@ -1,5 +1,5 @@ > [!WARNING] -> This is an experimental proof-of-concept: a prototype and reference implementation developed and published by Parity. This open source code is provided for research, experimentation, and developer education only. It has not been audited, is actively experimental, and may contain bugs, vulnerabilities, or incomplete features. The app is a self-custodial wallet that can hold real assets — use at your own risk. +> This is an experimental proof-of-concept: a prototype and reference implementation developed and published by Parity. This open source code is provided for research, experimentation, and developer education only. It has not been audited, is actively experimental, and may contain bugs, vulnerabilities, or incomplete features. The app is a self-custodial wallet that can hold real assets — use at your own risk and obtain legal advice as appropriate — DYOR. > > Parity does not deploy or operate this code and does not run any service behind it; it may update the code based on community feedback. If you experience problems with an app that was built from or distributed using this code, contact the party who built and distributed it, not Parity. diff --git a/hosts/android/bindings/bandersnatch-crypto/rust/Cargo.toml b/hosts/android/bindings/bandersnatch-crypto/rust/Cargo.toml index 5016a3346f..6c4eecece6 100644 --- a/hosts/android/bindings/bandersnatch-crypto/rust/Cargo.toml +++ b/hosts/android/bindings/bandersnatch-crypto/rust/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ['Parity Technologies'] edition = '2021' -license = 'Apache 2.0' +license = 'GPL-3.0-or-later' name = "bandersnatch-crypto" repository = 'https://github.com/paritytech/polkadot-android-community' version = "0.1.0" diff --git a/hosts/android/bindings/hydra-dx-math/rust/Cargo.toml b/hosts/android/bindings/hydra-dx-math/rust/Cargo.toml index 364a3086aa..bab5d958ea 100644 --- a/hosts/android/bindings/hydra-dx-math/rust/Cargo.toml +++ b/hosts/android/bindings/hydra-dx-math/rust/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ['Parity Technologies'] edition = '2021' -license = 'Apache 2.0' +license = 'GPL-3.0-or-later' name = "hydra-dx-math-java" repository = 'https://github.com/paritytech/polkadot-android-community' version = "0.1.0" diff --git a/hosts/android/bindings/sr25519-vrf/rust/Cargo.toml b/hosts/android/bindings/sr25519-vrf/rust/Cargo.toml index 54770d26e5..1bf963ce75 100644 --- a/hosts/android/bindings/sr25519-vrf/rust/Cargo.toml +++ b/hosts/android/bindings/sr25519-vrf/rust/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ['Parity Technologies'] edition = '2021' -license = 'Apache 2.0' +license = 'GPL-3.0-or-later' name = "sr25519-vrf" repository = 'https://github.com/paritytech/polkadot-android-community' version = "0.1.0" diff --git a/hosts/android/feature/products/product-sample/package-lock.json b/hosts/android/feature/products/product-sample/package-lock.json index abf8c0a6c2..458d5dd7f0 100644 --- a/hosts/android/feature/products/product-sample/package-lock.json +++ b/hosts/android/feature/products/product-sample/package-lock.json @@ -9,10 +9,10 @@ "version": "1.0.0", "hasInstallScript": true, "dependencies": { - "@novasamatech/host-api": "file:/Users/valentun/WebstormProjects/triangle-js-sdks/local-tarballs/novasamatech-host-api-0.11.0-local.20260911131013.tgz", - "@novasamatech/host-api-wrapper": "file:/Users/valentun/WebstormProjects/triangle-js-sdks/local-tarballs/novasamatech-host-api-wrapper-0.11.0-local.20260911131013.tgz", - "@novasamatech/product-react-renderer": "file:/Users/valentun/WebstormProjects/triangle-js-sdks/local-tarballs/novasamatech-product-react-renderer-0.11.0-local.20260911131013.tgz", - "@novasamatech/scale": "file:/Users/valentun/WebstormProjects/triangle-js-sdks/local-tarballs/novasamatech-scale-0.11.0-local.20260911131013.tgz", + "@novasamatech/host-api": "0.12.0", + "@novasamatech/host-api-wrapper": "0.12.0", + "@novasamatech/product-react-renderer": "0.12.0", + "@novasamatech/scale": "0.12.0", "@polkadot-api/descriptors": "file:.papi/descriptors", "@polkadot-api/json-rpc-provider": "^0.2.0", "@polkadot-api/pjs-signer": "^0.6.19", @@ -487,12 +487,12 @@ } }, "node_modules/@novasamatech/host-api": { - "version": "0.11.0-local.20260911131013", - "resolved": "file:../../../../../WebstormProjects/triangle-js-sdks/local-tarballs/novasamatech-host-api-0.11.0-local.20260911131013.tgz", - "integrity": "sha512-SdgYN8gf0Eupq7nmraH3WPOC7GIvGzE4yyGgZN9MD24X5XosY0CWCb7Yc2jdYtl5+QVJB8ginTfE/z1V5RrbnQ==", + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/@novasamatech/host-api/-/host-api-0.12.0.tgz", + "integrity": "sha512-1wvhk/3zz8tQ0Xp+Us9k7NDMmSkRkx4v7l3+5bkdEg1Ia1CShclRVx8IpRl7YVAD52v4oNVmYEo5MLNjBtAeEw==", "license": "Apache-2.0", "dependencies": { - "@novasamatech/scale": "0.11.0-local.20260911131013", + "@novasamatech/scale": "0.12.0", "nanoevents": "10.0.0", "nanoid": "6.0.1", "neverthrow": "^8.2.0", @@ -500,12 +500,12 @@ } }, "node_modules/@novasamatech/host-api-wrapper": { - "version": "0.11.0-local.20260911131013", - "resolved": "file:../../../../../WebstormProjects/triangle-js-sdks/local-tarballs/novasamatech-host-api-wrapper-0.11.0-local.20260911131013.tgz", - "integrity": "sha512-ex9VGVRvz8Y2AWqC+/yDwEGYVXdPTZt0e1aoVAlwgifkcIGLeLeNd8aPJVHC8YqaqmWLrKGMUs9b8kVEoPolcw==", + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/@novasamatech/host-api-wrapper/-/host-api-wrapper-0.12.0.tgz", + "integrity": "sha512-2kuxEcv1ogU8X/I7xr+L2omUa+7IMg/TuCCaVP4iRnvwp4s4HEtewBOf3aMtkZPykJheRv9rXi1IGcE8UWZSmQ==", "license": "Apache-2.0", "dependencies": { - "@novasamatech/host-api": "0.11.0-local.20260911131013", + "@novasamatech/host-api": "0.12.0", "@polkadot-api/json-rpc-provider-proxy": "^0.4.0", "@polkadot-api/signers-common": "^0.3.0", "@polkadot-api/substrate-bindings": "^0.21.0", @@ -540,13 +540,13 @@ } }, "node_modules/@novasamatech/product-react-renderer": { - "version": "0.11.0-local.20260911131013", - "resolved": "file:../../../../../WebstormProjects/triangle-js-sdks/local-tarballs/novasamatech-product-react-renderer-0.11.0-local.20260911131013.tgz", - "integrity": "sha512-nBKPGOlDkKc/Er98xtxSn5YmCMlAO8tNXW9+pv/H05yZXxZ3v6GA2FrWVkhomGfLiCAc60t2XOpYw4PniVLXSQ==", + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/@novasamatech/product-react-renderer/-/product-react-renderer-0.12.0.tgz", + "integrity": "sha512-WvPwSDzfdQXU70f2nGAnKtZ6Owbqx2IO8JNAm+ZrKVy1EE2gTxS3hGKeSHAgO6yNz4dfw0PRXzu6A1vJsHAuxg==", "license": "Apache-2.0", "dependencies": { - "@novasamatech/host-api": "0.11.0-local.20260911131013", - "@novasamatech/host-api-wrapper": "0.11.0-local.20260911131013", + "@novasamatech/host-api": "0.12.0", + "@novasamatech/host-api-wrapper": "0.12.0", "react-reconciler": "0.33.0", "scale-ts": "1.6.1" }, @@ -555,9 +555,9 @@ } }, "node_modules/@novasamatech/scale": { - "version": "0.11.0-local.20260911131013", - "resolved": "file:../../../../../WebstormProjects/triangle-js-sdks/local-tarballs/novasamatech-scale-0.11.0-local.20260911131013.tgz", - "integrity": "sha512-x/OirPqgAcEQMv0N4eSmPzNmLXhBBAAlofkD5k6/4NdRagaZe/uV9IuNpsgFf0/DaG9deYgHZUTiGlDFQKZ3sA==", + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/@novasamatech/scale/-/scale-0.12.0.tgz", + "integrity": "sha512-LwqkDLfeK82hdbOxEDfq7huMbeq/UXKhNPtkbkU68keLY0wvHrZ2rw1ibzDqspM6KWUPAxuWXbmGEM+cZJyxBg==", "license": "Apache-2.0", "dependencies": { "@polkadot-api/utils": "^0.4.0", diff --git a/hosts/android/feature/wallet/impl/src/main/java/io/paritytech/polkadotapp/feature_wallet_impl/presentation/pocket/coins/CoinageAssetStore.kt b/hosts/android/feature/wallet/impl/src/main/java/io/paritytech/polkadotapp/feature_wallet_impl/presentation/pocket/coins/CoinageAssetStore.kt index 1a5a9a6376..6cfc4b988c 100644 --- a/hosts/android/feature/wallet/impl/src/main/java/io/paritytech/polkadotapp/feature_wallet_impl/presentation/pocket/coins/CoinageAssetStore.kt +++ b/hosts/android/feature/wallet/impl/src/main/java/io/paritytech/polkadotapp/feature_wallet_impl/presentation/pocket/coins/CoinageAssetStore.kt @@ -13,9 +13,9 @@ import java.util.concurrent.Executors * Everything the coin renderer draws with, decoded once: the meshes, the struck-relief atlas, the studio * environment, the shaders and the constants the material reads. * - * All of it is exported by `paritytech/coinage-viz` (`npm run export:native`, which writes - * `public/native/assets`) and vendored under `assets/coinage`. The constants arrive as data rather than as - * code, so a material change is a file change here. + * All of it is exported by the maintainers' internal coinage reference implementation and vendored under + * `assets/coinage`. The constants arrive as data rather than as code, so a material change is a file change + * here. * * That project has done its job and nothing regenerates these files. Changing a coin face, a shape or the * studio means reproducing the export, and it needs four things that were never upstreamed. Written down diff --git a/hosts/android/feature/wallet/impl/src/main/java/io/paritytech/polkadotapp/feature_wallet_impl/presentation/pocket/coins/CoinageStripLayout.kt b/hosts/android/feature/wallet/impl/src/main/java/io/paritytech/polkadotapp/feature_wallet_impl/presentation/pocket/coins/CoinageStripLayout.kt index 306c6d09ae..6343c06f32 100644 --- a/hosts/android/feature/wallet/impl/src/main/java/io/paritytech/polkadotapp/feature_wallet_impl/presentation/pocket/coins/CoinageStripLayout.kt +++ b/hosts/android/feature/wallet/impl/src/main/java/io/paritytech/polkadotapp/feature_wallet_impl/presentation/pocket/coins/CoinageStripLayout.kt @@ -10,8 +10,8 @@ import kotlin.math.sqrt /** * The summary strip: every coin at a fixed height, in a fixed width. * - * Ported line for line from `src/layout/strip.js` in the `coinage-viz` reference and checked against its - * conformance vectors, so the two stay the same strip. + * Ported line for line from the strip layout in the maintainers' internal coinage reference implementation + * and checked against its conformance vectors, so the two stay the same strip. * * As coins are added the strip gives ground in a fixed order. First the margins close, from ten points * toward four, which is why ten coins keep their full margin and nothing jumps at the coin that first does diff --git a/hosts/android/feature/wallet/impl/src/test/java/io/paritytech/polkadotapp/feature_wallet_impl/presentation/pocket/coins/CoinageConformanceTest.kt b/hosts/android/feature/wallet/impl/src/test/java/io/paritytech/polkadotapp/feature_wallet_impl/presentation/pocket/coins/CoinageConformanceTest.kt index a6c5934469..0b9fcf5daf 100644 --- a/hosts/android/feature/wallet/impl/src/test/java/io/paritytech/polkadotapp/feature_wallet_impl/presentation/pocket/coins/CoinageConformanceTest.kt +++ b/hosts/android/feature/wallet/impl/src/test/java/io/paritytech/polkadotapp/feature_wallet_impl/presentation/pocket/coins/CoinageConformanceTest.kt @@ -7,8 +7,9 @@ import org.junit.Test import kotlin.math.abs /** - * Checks the ported layout and motion against the vectors `coinage-viz` exports, so the strip on the phone is - * the strip in the reference rather than something that merely resembles it. + * Checks the ported layout and motion against the vectors the maintainers' internal coinage reference + * implementation exports, so the strip on the phone is the strip in the reference rather than something that + * merely resembles it. * * The vectors are vendored verbatim under `resources/coinage/conformance` and shared with the iOS port, so a * drift between the two platforms shows up here rather than on a screen. diff --git a/hosts/android/feature/wallet/impl/src/test/resources/coinage/conformance/README.md b/hosts/android/feature/wallet/impl/src/test/resources/coinage/conformance/README.md index 513ce73dfc..4fd1670e15 100644 --- a/hosts/android/feature/wallet/impl/src/test/resources/coinage/conformance/README.md +++ b/hosts/android/feature/wallet/impl/src/test/resources/coinage/conformance/README.md @@ -1,3 +1,3 @@ -Conformance vectors copied verbatim from `paritytech/coinage-viz` -(`public/native/assets/conformance/`). Regenerate them there with -`npm run export:native`; do not hand-edit them here. +Conformance vectors copied verbatim from the maintainers' internal +coinage reference implementation. Regenerated and re-exported by the +maintainers; do not hand-edit them here. diff --git a/hosts/imports.json b/hosts/imports.json index ef70421ba3..37e5a753ee 100644 --- a/hosts/imports.json +++ b/hosts/imports.json @@ -1,7 +1,7 @@ { "android": { "branch": "main", - "ref": "7c239096b65b62b9d1de1b1cdef6ab4f7fba202e", + "ref": "edc2867a91cd427e1c225fb203b0b4ce18fb8174", "source": "https://github.com/paritytech/polkadot-android-community.git" }, "ios": {