Download presentation
Presentation is loading. Please wait.
1
OurSQL = MySQL + Blockchain
OurSQL is the tool to replicate MySQL database using a Blockchain
2
The Idea Simple creation of decentralized applications
Have blockchain without coding a blockchain
3
OurSQL is between your app and MySQL
4
How does it work Decentralized application instance includes:
- MySQL server - OurSQL server - An application itself
5
Where is blockchain? ←Blockchain is managed by OurSQL
- SQL update queries are stored in transactions - Transactions are collected in blocks - Blocks are posted to other nodes of an app - Nodes accept or decline blocks based on consensus
6
Just DB replication. Nothing more
OurSQL implements replication of MySQL database using a blockchain. No need to build any app to see how it works. Create a DB and use standard mysql client tools to manage your decentralized DB
7
Cryptocurrency? Yes. We can
Every DB replicated with OurSQL receives own cryptocurrency Cryptocurrency is a side effect of a blockchain. It is optional to use. Anyway, cryptocurrency is useful in any decentralized ledger application: - allows to control DB modify access, can be important part of consensus
8
Consensus Current version supports Proof of Work consensus .
Configuration file contains consensus rules and is part of a decentralized DB PoW options: Number of coins for new block Block hash strength Number of transactions per block etc
9
Consensus. Coming soon... Dynamic module with consensus rules.
Will be distributed as part of a DB and application. .dll or .so file, doing all consensus logic
10
Lightweight clients Transactions are signed on a node
- one user per node - simple standard SQL queries - wallet with keys is a part of a node Transactions are signed by a client - one node can have multiple users - special process of SQL query Execution in 2 steps - node doesn’t have access to private keys
11
How this refers to Bitcoin, Etherium etc
OurSQL helps to build new PRIVATE blockchain. No any connection to bitcoin and other famous public blockchains. Your new private blockchain can be public as well, without any connection to other public blockchains. Cryptocurrency created with OurSQL has no any connection to other cryptocurrencies
12
Use cases Any kind of applications where user’s don’t want to have trusted authority - decentralized blog platforms and social networks - new generation of cryptocurrencies with new cryptoeconomy features - decentralized voting systems, including hidden voting - power “smart contracts” with own blockchain - private decetralized databases for ICO ect, ect ...
13
Try OurSQL More info and examples on http://oursql.org
Try it with docker docker run --name oursql -p 8766:8766 -d -it oursql/oursql-server mysql -h P u blockchain -pblockchain BC > CREATE TABLE test (a int unsigned primary key auto_increment, b varchar(100)); > INSERT INTO test SET b='row1'; Run 2 nodes and see how Database contents is replicated docker run --name oursql1 -p 9001:8765 -p 9002: d -it oursql/oursql-server interactiveautocreate -port 9001 docker run --name oursql2 -p 9003:8765 -p 9004: d -it oursql/oursql-server importfromandstart -port nodeaddress host.local.address:9001 More info and examples on
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.