Git Product home page Git Product logo

dmap's Introduction

dmap

  • dmap is a key-value store
  • It supports user-defined registries, but all values are stored in one contract
    • Traversal proofs do not need to spin up an EVM or execute arbitrary logic
  • dpath is a path format with a concept of 'verify immutable'
    • example: :stone:rock.backdoored.subreg
    • :stone:rock will always resolve to the same value, but from there .backdoored.subreg could change
  • Values have flags
    • dmap defines one core flag: locked
    • the locked flag lets you to verify that an entry is immutable without having to audit external logic
    • The 255 'user' flags are open to interpretation by other protocols
    • The 1st user flag is dir, used to define hierarchal resolution

If you are concerned about web3 decentralization, you should do the following right now:

  • Sync an ETH light client to your actual physical computer.
  • Spin up an ETH2 validator on a server that you physically control, if you can afford to. Pool on rocketpool if you can't.
  • Store critical values for your dapp in dmap. Consider storing a dpack CID.
    • A create-only registry at :free:yourapp* is a good stopgap solution.
  • Write your own dmap client that talks directly to your ETH node.
    • Make sure your client verifies state trie proofs.
  • Remove dependency on DNS for resolution and SSL for authentication
    • You need to verify merkle proofs for ETH values
    • You need to verify CIDs for IPFS values

dmap's People

Contributors

nmushegian avatar kbrav avatar stobiewan 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.