Sign inSign up

bitcoinsv/mapi

By bitcoinsv

•Updated almost 4 years ago

Merchant API (mAPI) is a RESTful API service that miners can offer to merchants.

Image
0

10K+

bitcoinsv/mapi repository overview

⁠mAPI

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⁠.

⁠Supported tags

The Dockerfile is available within the hierarchy at these links

⁠Usage

⁠Latest versions

See the ReadMe in the reference implementation⁠.

⁠v1.1.0

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

Tag summary

Content type

Image

Digest

sha256:c61b383e5…

Size

123.7 MB

Last updated

almost 4 years ago

docker pull bitcoinsv/mapi