https://github.com/kaplanmaxe/blockchain-store
https://github.com/kaplanmaxe/blockchain-store
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kaplanmaxe/blockchain-store
- Owner: kaplanmaxe
- Created: 2017-08-28T20:26:57.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-28T20:27:42.000Z (almost 9 years ago)
- Last Synced: 2025-12-02T06:59:40.222Z (7 months ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blockchain Store
Store data inside the blockchain.
### Blockchains supported
- Bitcoin
### Requirements
- Bitcoin Core
### Commands
##### Send a bitcoin transaction with some OP_RETURN metadata
- `docker run -ti -v /usr/bin/bitcoin-cli/user/bin/bitcoin-cli blockchain-store bash -c "btc-send 149wHUMa41Xm2jnZtqgRx94uGbZD9kPXnS 0.001 'Hello, blockchain!'"`
- testnet: `docker run -ti -v /usr/bin/bitcoin-cli/user/bin/bitcoin-cli blockchain-store bash -c "btc-send 149wHUMa41Xm2jnZtqgRx94uGbZD9kPXnS 0.001 'Hello, blockchain!' 1"`
##### Store some data in the blockchain using OP_RETURN
- `docker run -ti -v /usr/bin/bitcoin-cli/user/bin/bitcoin-cli blockchain-store bash -c "btc-store 'This example stores 47 bytes in the blockchain.'"`
- testnet: `docker run -ti blockchain-store bash -c "btc-store 'This example stores 47 bytes in the blockchain.' 1"`
##### Retrieve some data from OP_RETURNs in the blockchain
- `docker run -ti blockchain-store bash -c "btc-store 356115-052075"`
- testnet: `docker run -ti blockchain-store bash -c "btc-store 356115-052075 1"`
### Authors
- Max Kaplan [@maxekaplan](https://twitter.com/maxekaplan)
- [php-OP_RETURN](https://github.com/coinspark/php-OP_RETURN)