fusion44 / btc-graphql

A simple GraphQL Server for Bitcoin Core Nodes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecation notice

This repository is not maintained anymore.

Bitcoin CLI GraphQL API

This is a simple server for any Bitcoin Node that has bitcoin-cli installed and the RPC server activated.

Setup

Virtualenvwrapper must be working properly on your system before continuing.

  • clone the repository
  • copy config.ini.sample to config.ini and apapt the values to your requirements
  • add a new virtual environment: mkvirtualenv btc-graphql
  • pip install -r requirements.txt
  • deactivate virtual environment to prevent some errors deactivate
  • use the environment: workon btc-graphql
  • ./manage.py makemigrations
  • ./manage.py migrate
  • ./manage.py runserver

Open http://localhost:8000/graphql to explore the available queries via GraphiQL.

About

A simple GraphQL Server for Bitcoin Core Nodes

License:MIT License


Languages

Language:Python 100.0%