Desktop Bitcoin Wallet focused on security and privacy. Free and open source.
Find a file
2021-10-29 15:47:48 +02:00
.github/workflows update github build to java 16 2021-06-25 15:18:51 +02:00
buildSrc make jackson jars open and non-synthetic modules 2021-09-06 10:18:36 +02:00
docs v1.5.2 2021-10-29 15:47:48 +02:00
drongo@6c03c4106a various minor fixes 2021-10-29 14:33:47 +02:00
gradle/wrapper upgrade to gradle 7.1, java 16, javafx 16 2021-06-25 14:56:22 +02:00
src v1.5.2 2021-10-29 15:47:48 +02:00
.gitignore no ds store 2020-08-04 12:50:07 +02:00
.gitmodules fix recursive clone via https 2021-09-20 16:37:03 +02:00
.mailmap Add mailmap file for Craig Raw addresses. 2021-10-24 20:03:13 -05:00
build.gradle v1.5.2 2021-10-29 15:47:48 +02:00
gradlew upgrade to gradle 7.1, java 16, javafx 16 2021-06-25 14:56:22 +02:00
gradlew.bat upgrade to gradle 7.1, java 16, javafx 16 2021-06-25 14:56:22 +02:00
LICENSE license 2020-08-28 15:20:31 +02:00
README.md Merge pull request #205 from RequestPrivacy/build 2021-10-22 11:49:09 +02:00
settings.gradle Initial commit 2020-03-22 10:12:07 +02:00
sparrow Allow running sparrow script from other paths 2021-10-04 13:44:42 +03:00
sparrow.bat fix on windows 2020-10-01 12:00:38 +02:00

Sparrow Bitcoin Wallet

Sparrow is a modern desktop Bitcoin wallet application supporting most hardware wallets and built on common standards such as PSBT, with an emphasis on transparency and usability.

More information (and release binaries) can be found at https://sparrowwallet.com. Release binaries are also available directly from Github.

Sparrow Wallet

Building

To clone this project, use

git clone --recursive git@github.com:sparrowwallet/sparrow.git

or for those without SSH credentials:

git clone --recursive https://github.com/sparrowwallet/sparrow.git

In order to build, Sparrow requires Java 16 to be installed. The release binaries are built with AdoptOpenJdk 16.0.1+9 Hotspot.

Other packages may also be necessary to build depending on the platform. On Debian/Ubuntu systems:

sudo apt install -y rpm fakeroot binutils

The Sparrow binaries can be built from source using

./gradlew jpackage

When updating to the latest HEAD

git pull --recurse-submodules

The release binaries are reproducible from v1.5.0 onwards (pre codesigning and installer packaging). More detailed instructions on reproducing the binaries are provided.

A video documention of your built process uploaded to bitcoinbinary.org is appreciated. Alternatively check the site if you wish to see if someone else already verified the provided binaries.

Running

If you prefer to run Sparrow directly from source, it can be launched from within the project directory with

./sparrow

Java 16 or higher must be installed.

Configuration

Sparrow has a number of command line options, for example to change its home folder or use testnet:

./sparrow -h

Usage: sparrow [options]
  Options:
    --dir, -d
      Path to Sparrow home folder
    --help, -h
      Show usage
    --level, -l
      Set log level
      Possible Values: [ERROR, WARN, INFO, DEBUG, TRACE]      
    --network, -n
      Network to use
      Possible Values: [mainnet, testnet, regtest, signet]

As a fallback, the network (mainnet, testnet, regtest or signet) can also be set using an environment variable SPARROW_NETWORK. For example:

export SPARROW_NETWORK=testnet

A final fallback which can be useful when running the Sparrow binary is to create a file called network-testnet in the Sparrow home folder (see below) to configure the testnet network.

Note that if you are connecting to an Electrum server when using testnet, that server will need to be running on testnet configuration as well.

When not explicitly configured using the command line argument above, Sparrow stores its mainnet config file, log file and wallets in a home folder location appropriate to the operating system:

Platform Location
OSX ~/.sparrow
Linux ~/.sparrow
Windows %APPDATA%/Sparrow

Testnet, regtest and signet configurations (along with their wallets) are stored in subfolders to allow easy switching between networks.

Reporting Issues

Please use the Issues tab above to report an issue. If possible, look in the sparrow.log file in the configuration directory for information helpful in debugging.

License

Sparrow is licensed under the Apache 2 software licence.

Credit

Yourkit

Sparrow Wallet uses the Yourkit Java Profiler to profile and improve performance. YourKit supports open source projects with useful tools for monitoring and profiling Java and .NET applications.