0.0.22 • Published 6 years ago

dmap-cmd v0.0.22

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

dmap

  • dmap is a universal namespace defined by part of the Ethereum chain state.
  • dmap <dpath> gets the 32-byte value at the given path.
  • dpath is the path format and mini-language used by dmap.
  • dpath is future-proof and extensible.

Try it now:

npm install -g dmap-cmd

dmap .x.ample.        # Query
dmap walk .x.ample.   # Details

Quickstart on .x.: dmap .x.your-name.

If you want a valuable name, you should make a valuable namespace.

Examples

> dmap .x.
0x180513ff7459ebc79534d3cb8ac26a5a1ac8af0d

> dmap .x.ample.
0xdbb5fbdfdf8f2f87f94f28cbd3cacf3ad28cfda6

> dmap walk .x.ample.
walk .x.ample.
step .x.ample.
step read .x.ample.
step read -r 0x20d20820f5d4D310281533CD9154C1bE22D6e195 .x.ample.
     0x180513ff7459ebc79534d3cb8ac26a5a1ac8af0d000000000000000000000000
step read -r 0x180513ff7459ebc79534d3cb8ac26a5a1ac8af0d .ample.
     0xdbb5fbdfdf8f2f87f94f28cbd3cacf3ad28cfda6000000000000000000000000
step read -r 0xdbb5fbdfdf8f2f87f94f28cbd3cacf3ad28cfda6 .
DONE 0xdbb5fbdfdf8f2f87f94f28cbd3cacf3ad28cfda6

Use Cases

Our goal is to make dmap usable for the following initial use cases as quickly as possible.

  • Package integrity check
  • GUI integrity check
  • Key signing / WoT bootstrapping

Any time you sign an update to a "named something", you could be signing it with a multisig or any other smart contract.

Development Notes

  • At its core, this project is about dpath semantics.
  • Version 0.0.x has an unstable API. Version 0.1.0 will have a stable read and walk API for paths containing only . runes (separators).
  • dmap command line commands define a query language. dmap libraries should implement dmap("walk .x.ample.path"). first and .walk().x.ample.path() helper methods second.
  • We expect other implementations to be forks of Ethereum light clients optimized for dmap queries.
git clone https://github.com/dufolt/dmap
cd dmap
make

or

git clone keybase://team/dmap/dmap
cd dmap
make

Example paths to study

Active

.             the dmap
.d.           the dmap
.x.           xreg, the worst registry (is DMap, owner is XReg)
.x.ample.     example paths for docs
.x.dmap.      the dmap

Future

:x:ample:definitly-locked  
:x:ample.possibly-mutable 
.x.ample#ipld
.x.foo@.
.x.foo@@@.
.x.foo%bar.

Agenda

  • dmap type-info by path, by address
  • . rune
  • : rune
  • source bootstrap (git hash on chain, dmap update verifies it before linking)
  • ^ rune
0.0.22

6 years ago

0.0.21

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago