Skip to content
This repository has been archived by the owner on Nov 25, 2023. It is now read-only.

andgohq/insight-bitcoin-regtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitcoin Regtest with Insight and Faucet API

Requirement

  • docker & docker-compose

Usage

Following commands are enabled under the root dir of the project.

  • build: docker-compose build
  • start daemon: docker-compose up -d
  • stop & remove daemon: docker-compose down
  • list process: docker-compose ps
  • login to the server: docker-compose exec btcserver bash
  • run command: docker-compose exec btcserver [command]

Insight API example

curl http://localhost:3000/api/addr/mnJQyeDFmGjNoxyxKQC6MMFdpx77rYV3Bo/balance

Faucet API example

curl -d "amount=10" http://localhost:3000/faucet/mnJQyeDFmGjNoxyxKQC6MMFdpx77rYV3Bo

Note

This is forked from https://github.com/hunterlong/btcregtest-insight.

About

Bitcoin regtest with Insight and Fauset API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published