Giter VIP home page Giter VIP logo

CypherpunkPay

CypherpunkPay is a modern self-hosted software for accepting Bitcoin donations or Bitcoin payments as a merchant.

Being a single, self-contained Linux daemon, it is uniquely easy to install, with no dependencies, near-zero configuration and low hardware requirements.

See the official website (Tor onion).

Docs for donations and merchants

All docs are available on the official website (Tor onion).

Docs for contributors

Prerequisites for development

  • Linux
  • Python 3.9

Developer setup

After cloning this repo, review and run:

bin/dev-setup

This will update pip, install poetry and then use poetry to install dependencies.

Running app in dev env

To run the app in development environment, start the server:

bin/dev-server

...then go to http://127.0.0.1:6543/

Admin panel: http://127.0.0.1:6543/cypherpunkpay/admin/eeec6kyl2rqhys72b6encxxrte/

Dummy store: http://127.0.0.1:6543/cypherpunkpay/dummystore/

Running tests

To run just the unit tests:

bin/test-unit

The database for tests is separate from development and gets reset on each test run.

To run the full test suite you need on your development laptop:

  • testnet bitcoind running
    • unpruned
    • synced-up
    • with default settings
    • with ZMQ notifications enabled for LND:
      zmqpubrawblock=tcp://127.0.0.1:28332
      zmqpubrawtx=tcp://127.0.0.1:28333
      
  • testnet lnd running
    • connected and synced-up against your bitcoind
    • TODO: this probably needs more guidance

Then:

bin/test

Resetting dev database

Just remove database file:

rm /tmp/cypherpunkpay_dev.sqlite3

Public domain

CypherpunkPay is "dual-licensed" under Unlicense OR MIT. The Unlicense attempts to explicitly put CypherpunkPay in the public domain, while MIT is an alternative or fallback if you need it for legal reasons.

SPDX-License-Identifier: Unlicense OR MIT

cypherpunkpay's Projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.