navigation

BTCPay Server & Pirate Chain

Quick Start

Requirements: Docker

Tested on Linux

  1. Download the docker-compose.yml for this project
  2. Edit BTCPAYSERVER_starting_height and BTCPAYSERVER_fvk. They should be set to your receiving wallet birth height and full viewing key.
  3. Launch the server
$ wget https://raw.githubusercontent.com/hhanh01/pirate-btcpay/main/docker/docker-compose.yml
$ vim docker-compose.yml
$ docker-compose -f docker-compose.yml up default

Configuration

  • Navigate to BTCPayserver and create the administrator account

  • Create your store

  • Make sure you set the default currency to ARRR (you must type it in)

  • Do not set a wallet or a lightning node,

  • Instead, go to Settings then Pirate,

  • Click on “Modify”

  • Enable the Wallet. Save and return to the previous page

  • Now create a test app

  • Set the app name and leave it as Point of Sale

  • Save the new app and then click on View

  • Choose one of the item for sale and Pay for it

  • You should see a payment code

  • Use your wallet to pay for it

  • Once it is confirmed, the invoice should be paid

Your server is now setup.

Next steps

Refer to the BTCPayserver documentation for the next steps.

  • You may want to configure a reverse proxy to isolate your server from the internet and add SSL
  • If you use Wordpress or Shopify, there are integration plugins for these platforms