Merchant API (mAPI) is a RESTful API service that miners can offer to merchants.
10K+
More details of the BRFC mAPI Specification are available here.
The mAPI reference implementation is open source and can be found here.
The pull requests for all docker hub images are listed here.
The Dockerfile is available within the hierarchy at these links
See the ReadMe in the reference implementation.
To run mAPI with example settings configuration connected to regtest and MinerId running locally:
$ docker run -p 9004:9004 \
-e httpAddress=:9004 \
-e bitcoin_1_host=host.docker.internal \
-e minerId_URL=http://host.docker.internal:9002/minerid \
-e minerId_alias=testMiner \
bitcoinsv/mapi:1.1.0
To run a container in the background, pass the -d option to docker run, and give your container a name for easy reference later:
$ docker run -p 9004:9004 \
-e httpAddress=:9004 \
-e bitcoin_1_host=host.docker.internal \
-e minerId_URL=http://host.docker.internal:9002/minerid \
-e minerId_alias=testMiner \
--name mapi-v1.1.0
--restart=always -d \
bitcoinsv/mapi:1.1.0
Content type
Image
Digest
sha256:c61b383e5…
Size
123.7 MB
Last updated
almost 4 years ago
docker pull bitcoinsv/mapi