Files
common/packages/db
Jaco Greeff 2aba82e569 Schnorrkel support (#297)
* Initial schnorrkel support

* Start conversion of actual keyring

* Wrap encoding/decoding (needs another check)

* Manage encoding version & types with passthrough

* Update to version with working sign

* Cleanup pair interface (with seed)

* Fix failing tests

* Align naclSign signature

* Update tests for nacl (with TS conversion)

* Bump version with CHANGELOG

* Remove unneeded dep

* Use KeyringOptions instead of PairType

* Do isNumber check on addressPrefix
2019-02-13 16:46:33 +01:00
..
2019-01-04 14:50:50 +01:00
2018-11-21 12:26:38 +01:00
2019-02-13 16:46:33 +01:00

@polkadot/db

This is an implementation of a basic sync in-memory and on-disk database with overlays. Memory is currently used by polkadot-js/client

Usage

Installation -

yarn add @polkadot/db

Classes can be imported as follows:

// Default exports
import DiskDb from '@polkadot/db/Disk';
import MemoryDb from '@polkadot/db/Memory';
import TransactionDb from '@polkadot/db/engines/TransactionDb';

Documentation and Available Utilities

No classes or methods are exposed on the Polkadot-JS Common Documentation Portal.

However, the key classes that are available include:

  • db
    • Classes
      • Engines
        • DiskDb
        • MemoryDb
        • TransactionDb