Eclair Mobile (EOL)Latest release: 0.4.18 ( 1st March 2022 ) 🔍 Last analysed 22nd December 2019 . Failed to build from source provided!
Help spread awareness for build reproducibility
Please help us spread the word discussing build reproducibility with Eclair Mobile (EOL) via their Twitter!
Do your own research!
Try out searching for "lost bitcoins", "stole my money" or "scammers" together with the wallet's name, even if you think the wallet is generally trustworthy. For all the bigger wallets you will find accusations. Make sure you understand why they were made and if you are comfortable with the provider's reaction.
The Analysis ¶
This wallet has a really short description. Here it is in full:
Eclair Mobile is a next generation, Lightning-ready Bitcoin wallet. It can be used as a regular Bitcoin wallet, and can also connect to the Lightning Network for cheap and instant payments.
This software is based on eclair, and follows the Lightning Network standard.
No word on custodial or not.
Their website is more informative if only for the link to their GitHub.
eclair-mobile sounds promising.
There, in the description again we find no hints at it being non-custodial.
But in the repository’s wiki finally we find:
Is Eclair Mobile a “real” Lightning Node ?
Yes it is. Eclair Mobile is a real, self-contained lightning node that runs on your phone. It does not require you to run another Lightning Node node at home or in the cloud. It is not a custodial wallet either, you are in full control of your funds.
So … can we reproduce the build?
The build instructions are not very plentiful on the repo’s description:
- clone this project
clone eclair and checkout the android branch.
Follow the steps here to build the eclair-core library.
- Open the Eclair Mobile project with Android studio. You should now be able to install it on your phone/on an emulator.
This has two immediate issues:
- How do we know which version of “eclair” should we use? This should be resolved with a git submodule.
- Compiling with Android Studio is not easy to automate and should not be necessary.
- Branches are not a good way of referencing revisions of a repository. The “android branch” has 1938 revisions and if I want to check anything but the latest revision I have little to go by to find which app would match to which state of the branch.
but let’s see how compiling looks once these issues are resolved as we have little hope to verify the current apk …
$ git clone email@example.com:ACINQ/eclair-mobile.git $ git clone firstname.lastname@example.org:ACINQ/eclair.git $ cd eclair $ git checkout android $ docker run -it -v $PWD/eclair:/eclair -v $PWD/eclair-mobile:/eclair-mobile --workdir / electrum-android-builder-img user@d0cf683a144a:/$ sudo su - root@d0cf683a144a:~# apt update root@d0cf683a144a:~# apt install maven root@d0cf683a144a:~# mvn install -DskipTests ... [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ eclair-core_2.11 --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- scala-maven-plugin:3.4.2:testCompile (scalac) @ eclair-core_2.11 --- [INFO] /eclair/eclair-core/src/test/java:-1: info: compiling [INFO] /eclair/eclair-core/src/test/scala:-1: info: compiling [INFO] Compiling 114 source files to /eclair/eclair-core/target/test-classes at 1577007350665 [ERROR] /eclair/eclair-core/src/test/scala/fr/acinq/eclair/blockchain/bitcoind/BitcoindService.scala:74: error: value writeString is not a member of object java.nio.file.Files [ERROR] Files.writeString(new File(PATH_BITCOIND_DATADIR.toString, "bitcoin.conf").toPath, conf) [ERROR] ^ [ERROR] one error found [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for eclair_2.11 0.3.4-android-SNAPSHOT: [INFO] [INFO] eclair_2.11 ........................................ SUCCESS [ 1.951 s] [INFO] eclair-core_2.11 ................................... FAILURE [ 28.245 s] [INFO] eclair-node ........................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE
So following the instructions we didn’t get far and for now hope for better documentation and remain with the verdict: This app is not verifiable.
We encountered a build error while compiling from source code!
As part of our Methodology, we ask:Can the product be built from the source provided? If not, we tag it Build Error!
Published code doesn’t help much if the app fails to compile.
We try to compile the published source code using the published build instructions into a binary. If that fails, we might try to work around issues but if we consistently fail to build the app, we give it this verdict and open an issue in the issue tracker of the provider to hopefully verify their app later.
Share onTwitter Facebook LinkedIn
Or embed a widget in your website
<iframe src="https://walletscrutiny.com/widget/#appId=android/fr.acinq.eclair.wallet.mainnet2&theme=auto&style=short" name="_ts" style="min-width:180px;border:0;border-radius:10px;max-width:280px;min-height:30px;"> </iframe>
<iframe src="https://walletscrutiny.com/widget/#appId=android/fr.acinq.eclair.wallet.mainnet2&theme=auto&style=long" style="max-width:100%;width:342px;border:0;border-radius:10px;min-height:290px;"> </iframe>