mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-03-29 22:35:41 +08:00
313eacb2fd2178d96d256be83e533bb24b90b366
Blockstore: A Key-Value Store on Bitcoin
Blockstore is a generic key-value store on Bitcoin. You can use it register globally unique names, associate data with those names, and transfer them between Bitcoin addresses.
Then, you or anyone can perform lookups on those names and securely obtain the data associated with them.
Blockstore uses the Bitcoin blockchain for storing name operations and data hashes, and the Kademlia distributed hash table for storing the full data files.
Installation
pip install blockstore
Getting Started
First, start blockstored and index the blockchain:
$ blockstored start
Then, perform name lookups:
$ blockstore-cli lookup swiftonsecurity
{
"data": "{\"name\":{\"formatted\": \"Taylor Swift\"}}"
}
Next, learn how to register names of your own, as well as transfer them and associate data with them:
Design
Contributions
The best way to contribute is to:
- decide what changes you'd like to make (you can find inspiration in the tab of issues)
- fork the repo
- make your changes
- submit a pull request
License
Released under the MIT License
Copyright 2015, openname.org
Languages
Rust
94.6%
Clarity
2.4%
TypeScript
2.3%
Shell
0.5%