Sign inSign up

cyphernode/pycoin

By cyphernode

Updated over 3 years ago

Pycoin container used in CypherNode

Image
0

10K+

cyphernode/pycoin repository overview

Pycoin container in Cyphernode

Pull our Cyphernode image

docker pull cyphernode/pycoin:cyphernode-0.05

Build yourself the image

docker build -t cyphernode/pycoin:cyphernode-0.05 .

Run image

If you are using it independantly from the Docker stack (docker-compose.yml), you can run it like that:

docker run --rm -d -p 7777:7777 --network cyphernodenet --env-file env.properties cyphernode/pycoin:cyphernode-0.05 `id -u cyphernode`:`id -g cyphernode` ./startpycoin.sh

Usefull examples

See https://github.com/shivaenigma/pycoin

List SegWit addresses for path 0/24-30 for a pub32:

curl -H "Content-Type: application/json" -d '{"pub32":"tpubD6NzVbkrYhZ4YR3QK2tyfMMvBghAvqtNaNK1LTyDWcRHLcMUm3ZN2cGm5BS3MhCRCeCkXQkTXXjiJgqxpqXK7PeUSp86DTTgkLpcjMtpKWk","path":"0/25-30"}' http://localhost:7777/derive
curl -H "Content-Type: application/json" -d '{"pub32":"vpub5SLqN2bLY4WeZF3kL4VqiWF1itbf3A6oRrq9aPf16AZMVWYCuN9TxpAZwCzVgW94TNzZPNc9XAHD4As6pdnExBtCDGYRmNJrcJ4eV9hNqcv","path":"0/25-30"}' http://localhost:7777/derive

Tag summary

Content type

Image

Digest

sha256:ebd7be264

Size

25.6 MB

Last updated

over 3 years ago

docker pull cyphernode/pycoin:v0-rc.3