Skip to content
Buy Bitcoin instantly on the Lightning Network
TypeScript CSS JavaScript Shell HTML
Branch: master
Clone or download
Sparkswap
Latest commit cbed947 Oct 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public Publishing client to sparkswap-desktop: v0.2.1 Sep 27, 2019
scripts Publishing client to sparkswap-desktop: v0.2.1 Sep 27, 2019
src Publishing client to sparkswap-desktop: v0.3.2 Oct 18, 2019
test Publishing client to sparkswap-desktop: v0.2.1 Sep 27, 2019
.eslintrc.e2e.js Publishing client to sparkswap-desktop: v0.2.1 Sep 27, 2019
.eslintrc.js Publishing client to sparkswap-desktop: v0.2.0-0 Sep 11, 2019
.eslintrc.node.js Publishing client to sparkswap-desktop Aug 22, 2019
.eslintrc.web.js Publishing client to sparkswap-desktop Aug 22, 2019
.gitignore Publishing client to sparkswap-desktop: v0.1.5 Sep 5, 2019
.node-version Publishing client to sparkswap-desktop Aug 22, 2019
.npmrc Publishing client to sparkswap-desktop: v0.3.1 Oct 16, 2019
.nvmrc Publishing client to sparkswap-desktop Aug 22, 2019
LICENSE Publishing client to sparkswap-desktop: v0.2.0 Sep 18, 2019
Procfile Publishing client to sparkswap-desktop Aug 22, 2019
README.md Update README.md Oct 17, 2019
config-overrides.js Publishing client to sparkswap-desktop Aug 22, 2019
electron-builder-sample.env Publishing client to sparkswap-desktop: v0.1.5 Sep 5, 2019
electron-builder.env Publishing client to sparkswap-desktop Aug 22, 2019
electron-builder.yml Publishing client to sparkswap-desktop: v0.2.1 Sep 27, 2019
package-lock.json Publishing client to sparkswap-desktop: v0.3.2 Oct 18, 2019
package.json Publishing client to sparkswap-desktop: v0.3.2 Oct 18, 2019
tsconfig.e2e.json Publishing client to sparkswap-desktop: v0.2.1 Sep 27, 2019
tsconfig.json Publishing client to sparkswap-desktop: v0.3.1 Oct 16, 2019
tsconfig.node.json Publishing client to sparkswap-desktop: v0.3.1 Oct 16, 2019

README.md

Sparkswap Desktop

Buy Bitcoin instantly on the Lightning Network.

Sparkswap - stack your sats

Download Sparkswap Desktop

Navigate to Sparkswap Desktop's Latest Release and download the file for your specific platform.

  • .dmg (macOS)
  • .exe (Windows 8/10)
  • .AppImage (Ubuntu/Linux)

Verify the release

With every release, Sparkswap will cryptographically sign each application to allow users to ensure that your downloaded application was not modified by a third party. Below are instructions on how you can verify your copy of Sparkswap Desktop.

Before you begin

  1. Install gpg
  2. Install sha256sum

Verification steps

  1. To verify your application, you will first need to verify that the releaselchecksum file sha256sum.txt.asc has been signed with RSA 36F4123656A9401723777B9C3692B7471CC2F716.
curl -Ls https://github.com/sparkswap/sparkswap-desktop/releases/download/v0.2.0/sha256sum.txt.asc -o sha256sum.txt.asc
gpg --verify sha256sum.txt.asc

The file sha256sum.txt.asc contains cryptographic hashes of all Sparkswap Desktop applications that we will use in the next step as verification that our version of Sparkswap Desktop has not been modified.

  1. Hash your downloaded copy of Sparkswap Desktop
sha256sum <path-to-sparkswap-desktop-file>
  1. Verify that the output from step #2 matches the same output that is located in sha256sum.txt.asc
cat sha256sum.txt.asc

If the hashes match, then you have successfully verified your copy of Sparkswap Desktop.

Additional Verification For Mac:

  1. Verify that Sparkswap Hub, Inc. is the signer of the application by running the following command:
codesign -dv --verbose=4 /Path/To/Application.app

Additional Verification For Windows:

  1. Right click the exe and select Properties > Digital Signatures
  2. Select the sparkswap signature and click Details
  3. Verify that the information was signed by Sparkswap Hub, Inc.

Installing from source

Setup

  1. Install NodeJS 12
  2. Clone this repo
  3. Run npm install to install dependencies

Building for your platform

npm run package

This command will create a package of Sparkswap Desktop using a friendly file format for your current OS (either dmg, AppImage, or exe).

We only support packages being built on a native OS. Building mac on windows, etc. will not work

Running Sparkswap Desktop in Development

After running through the setup steps, run the following command to open an electron and react development environment:

npm run dev

React will update when you make changes, so if you change anything in src, the app will reload.

However, if you change anything in electron or main.js you'll need to reload by killing the current process and running npm start again.

Troubleshooting

On Linux, if postinstall (electron-builder) results in compiler errors, you may have encountered an outstanding grpc bug. Depending on the system type, gprc may fail to compile on distributions using GCC 8.x.x. Use the following commands as a workaround:

sudo apt-get install g++-7
CXX=/usr/bin/g++-7 CC=/usr/bin/gcc-7 npm i
You can’t perform that action at this time.