Editing
Portal:Crypto and Blockchain
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Blockchain data as a database problem === A blockchain can be understood as a distributed append-only database with unusual consensus rules. For Perl, that makes cryptocurrency partly a data-development problem. A Bitcoin node, Ethereum node, block explorer, wallet, or indexer produces large amounts of data that must be decoded, filtered, stored, indexed, and searched. Perl can help move blockchain data into traditional databases such as SQLite, PostgreSQL, MySQL, or MariaDB. A Perl blockchain-data pipeline might: * call Bitcoin Core or Ethereum JSON-RPC; * decode blocks and transactions; * extract addresses, scripts, inputs, outputs, logs, or events; * store normalized rows in PostgreSQL or MariaDB; * build SQLite caches for local tools; * index addresses or transaction IDs; * create reports or dashboards; * alert on matching patterns; * export CSV or JSON for other tools. This is a classic Perl workflow. The blockchain is the source system; the relational database is the analysis system; Perl is the glue.
Summary:
Please note that all contributions to Perl Guilds - Getting Medieval with Perl may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Perl Guilds - Getting Medieval with Perl:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Tools
What links here
Related changes
Page information