Skip to content

42cc/dashr-gw

Repository files navigation

Dash Ripple Gateway

A proof-of-concept DASH-Ripple gateway with no KYC, created according to the Dash budget proposal.

Quick Start

The project uses Docker and Docker Compose. You must have them installed to run a gateway (highly recommended to use the latest versions).

  1. Create volumes for data of dashd and rippled:
docker volume create --name=dashd-data
docker volume create --name=rippled-data
  1. Build a Docker image of the project and start it:
docker-compose build
docker-compose up -d
  1. Apply database migrations and load initial data of pages to the DB:
docker exec dashripplegw_web_1 bash -c "./manage.py migrate && ./manage.py loaddata initial_pages.json"
  1. Create an admin for your gateway:
docker exec -it dashripplegw_web_1 bash -c "./manage.py createsuperuser"
  1. A web-page of the gateway will run here. You should be able to log in the admin panel with credentials created earlier.
  2. Adjust settings of your gateway and content of base pages, set credentials of your Ripple wallet.
  3. Wait until Ripple ledger and Dash blockchain are loaded.

It is possible to use Dash and Ripple test nets. Follow "comment" and "uncomment" instructions in 'docker-compose.yml' before running the above commands. You can generate test-net Ripple credentials here.

Tests

Run tests:

docker run --rm dashripplegw_web make test

License

The project is released under the MIT license.