Provided here is a configuration for building Bisq as a snap. Snaps are distributed on the Snapcraft store.
The purpose of the Bisq snap is to make it easier for users to get started with Bisq and to better market the decentralized trading platform.
When using any snap, the user is trusting BOTH the builder of the snap and the publisher of the snap. This snap relies on Cononical to BOTH build the snap and publish the snap. You only trust this repository in so far as you trust that the snapcraft.yaml
file is correctly configured.
To reduce the need for trust in both the builder and publisher, the build and install steps are provided below.
The snap system automatically updates snaps. Although convenient, the end user may not be aware the application has been updated. The user also needs to manually verify the hash of the snap again, otherwise they are implicitly trusting the builder and publisher of the snap.
I would at this point recommend turning off automatic updates if concerned, however it seems there is some difficulty in do so. A long discussion on the disabling automatic updates can be read here.
From the command line, snap install bisq-desktop
will install the Bisq snap from the Snapcraft store.
To build install the requirements and then run snapcraft
in the root of this repository.
- Install
snap
. Follow your OSes instructions for installingsnap
andsnapd
. - Install
snapcraft
. Typically installed as a snap like sosnap install snapcraft --classic
. - Install
multipass
. Runningsnapcraft
will try to installmultipass
but can also be installed manually withsnap install multipass --beta --classic
.
See Snapcraft documentation for more details.
Simply run snapcraft
in the root of this repository to build the snap.
The Bisq snap can be installed from the store or directly from the .snap
file. Only installing through the store will provide automatic updates.
After building, running snap install bisq-desktop_${my_version}_amd64.snap --dangerous
will install the snap. Where ${my_version}
is the version built, for example 1.0.1
.