Giter VIP home page Giter VIP logo

btc-timestamp-document's Introduction

Bitcoin timestamp document

Creates a bitcoin zero value transaction with metadata. The metadata contains document hash and author name.

How to run:

python3 stamp.py \
  --private-key=925hizLyDqen4gsCFeCXFWLXPC7BGQRR4ngA76Usjgb6ABiz59j \
  --file=picture.png \
  --name="yulia tsareva" \
  --network=testnet

QR code for tx '6f873f255d6649daf3d8f83b454ff59793c4c46db631485d6f2c4f53d17ffc56' was saved to file 6f873.png

drawing

To decrypt data stored in the transaction:

  1. Scan received QR code
  2. Open the link. E.g. https://www.blockchain.com/en/btc-testnet/tx/6f873f255d6649daf3d8f83b454ff59793c4c46db631485d6f2c4f53d17ffc56
  3. Find Outputs section
  4. Get Pkscript hex-string
  5. Run decrypt script:
python3 decrypt.py \
  --pkscript cf89a9f87fe17438bfc10b98c40d6d590948df0a0e943555fda992171d60376d79756c69612074736172657661

Document hash: cf89a9f87fe17438bfc10b98c40d6d590948df0a0e943555fda992171d60376d
Author name: yulia tsareva
  1. Pay attention to the "Received Time" field (2022-03-19 14:30) and status ("Confirmed" is expected)

btc-timestamp-document's People

Contributors

yutsareva avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.