Sign inSign up

breign/write2blockchain

By breign

•Updated over 7 years ago

Simple HTTP server that pushes ?input GET parameter to BSV blockchain via OP_RETURN

Image
0

50K+

breign/write2blockchain repository overview

⁠Usage:
docker pull breign/write2blockchain:latest &&  docker run -d \
 -p 8080:8080 \
 -e BSV_PK=Your Bitcoin SV Private Key (use a throwaway address for security) \
 breign/write2blockchain:latest
⁠Then call the running container via HTTP, eg.:

curl -G 'http://my_container_ip:8080/' --data-urlencode 'input=My text I want to store in BSV blockchain forever'

⁠On sucess, you'll get back response JSON, that can be directly used on https://chronos.bitdb.network/query/⁠
⁠On error, you'll get back response JSON error - probably out of coins on provided PrivateKey - lol

Tag summary

Content type

Image

Digest

Size

74.4 MB

Last updated

over 7 years ago

docker pull breign/write2blockchain