Giter Site home page Giter Site logo

birdboybolu / db3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dbpunk-labs/db3

0.0 0.0 0.0 13.45 MB

DB3: open-source decentralized firebase firestore alternative

Home Page: https://docs.db3.network/

License: Apache License 2.0

Shell 2.31% Rust 96.81% TypeScript 0.66% Solidity 0.22%

db3's Introduction

A ⭐️ is welcome!

GitHub Workflow Status (with event) coverage GitHub commit activity contribution GitHub issues GitHub issues by-label GitHub release (latest by date)Twitter Follow GitPOAP Badge Discord

English | 中文

DB3 Network

DB3 Network is a robust and secure decentralized database network designed to tackle the expected problems faced by dApps. These applications frequently require the ability to CRUD vast amounts of user-generated data, all while maintaining a decentralized architecture. By utilizing DB3 Network, you can effortlessly create data-intensive applications such as social networking apps, gamefi, and more.

Guide Line of DB3


  • Before create your dApp, you need to create database or find the existing database you can use on DMS website
  • Try Quick Start or based on ReactJS Demo to build your dApps with DB3 Network as your decentralized database
  • Since running a dApp need connect with a node, you can ether find a existing node from Commuity nodes or
  • Try Run Local Node to host your own nodes

Build dApps


DB3 Network is a database the same as Firestore but in a decentralized way. DApps can directly interact with DB3 Network with db3 client. A properly designed db3.js package allow you do the "CRUD" job in the client never be easier

Run DB3 Node


DB3 network is community owned and everyone is ecouraged to be part of the network. You can run a DB3 node to provide data storage, compute and bandwidth for dApps and earn make a good profit from that.

DEMOS

Why DB3 Network

why db3

Currently, there are two types of Data architecture for dApp(decentralized application): centralized vs. decentralized.

Centralized: use Firebase or MongoDBto store the data), both of which are developer-friendly. However, dApps would be regarded as less secure based on a central database.

Decentralized: use Ethereum or other blockchains to store the data and use the Graph to index data from it. The separation of the storage and the indexer would cost a lot of engineering efforts in future development.

With Db3 network, you can get both advantages of the above two choices.

Features

Schemaless

You can store data on DB3 Network without any change.

High Performance

Currently, decentralization means terrible performance, but DB3 is trying to improve it significantly:

  • Merkdb is the storage engine of the DB3 Network, and it has high Performance and fast-proof generation.
  • Geo distribution: the nodes in every storage shard are geo-distributed, and the clients can execute queries against the nearest storage node.
  • Query session, the first decentralized query protocol to resolve Performance and incentive perfectly.

Data Ownership

We proposed the document level ownership, and every document has its owner, while only the owner holds the private key can update/delete the record. DB3 network generates the proofs and provides signatures to prove the membership (db3 has the specific document) and ownership.

Programmable

Dapp developers can develop data processing contracts and deploy them to the DB3 Network, just like the data backend in web2.

Ethereum Guarded Security

DB3 Network is a layer2 network on Ethereum and Ethereum guards all the assets.

Project assistance

  • Add a GitHub Star⭐️ to the project.
  • Tweet about how to use DB3 network.
  • Write blogs about the project on Dev.to, Medium or your personal blog.

Together, we can make db3 network better!

The internal of db3

relationship

The Architecture

arch

How it works

Other Decentralized Database

  • the graph, a decentralized on-chain indexer
  • Locutus, a decentralized key-value database
  • ceramic network, a decentralized data network that brings unlimited data composability to Web3 applications
  • kwil, the first permissionless SQL database for the decentralized internet
  • spaceandtime, a decentralized data Warehouse
  • OrbitDB is a serverless, distributed, peer-to-peer database

Thanks support

I stood on the shoulders of giants and did only simple things. Thank you for your attention.


Protocol Labs

Filecoin

License

Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. See CONTRIBUTING.md.

db3's People

Contributors

imotai avatar dependabot[bot] avatar jingchen2222 avatar xuman2019 avatar xiyangjun avatar db3fans avatar muraneth avatar omahs avatar widat 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.