Skip to content

Dogeparty/dogepartyd-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker recipe for dogepartyd

See the global picture how this container interacts with other components to run Dogeparty:

Global Component Overview

Build

docker build -t dogepartyd:v1 .

Instantiate Data Container

docker run -d --name=dogepartyd-data dogepartyd:v1 bash

Run Container

docker run -it --name dogepartyd --volumes-from=dogepartyd-data --link dogecoind:dogecoind --link insight-doge:insight dogepartyd:v1 bash

Run Process

counterpartyd --backend-rpc-connect=dogecoind --backend-rpc-port=22555 --blockchain-service-connect=http://insight:3000 --verbose server

Debug

docker run -it --rm --volumes-from=dogepartyd-data dogepartyd:v1 bash

Test API Call

curl http://172.17.1.175:4000/ --user user:pass -H 'Content-Type: application/json; charset=UTF-8' -H 'Accept: application/json, text/javascript' --data-binary '{"jsonrpc":"2.0","id":0,"method":"get_balances","params":{"filters": {"field": "address", "op": "==", "value": "DKuDk3hBfdk6aMU4Bj9zpyCcAqLwhLQPKo"}}}'

Test CLI cmd

counterpartyd --backend-rpc-connect=$DOGECOIND_PORT_22555_TCP_ADDR --backend-rpc-port=$DOGECOIND_PORT_22555_TCP_PORT --blockchain-service-connect=$(echo $INSIGHT_PORT_3000_TCP|sed -e "s/tcp/http/") --verbose balances DKuDk3hBfdk6aMU4Bj9zpyCcAqLwhLQPKo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published