Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 591 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 591 Bytes

@metamask/slip44

A simple mapping between slip44 identifiers and the associated metadata, parsed directly from that repository linked above.

Usage

const slip44 = require('@metamask/slip44');

const metadata = slip44['0']
assert.equals(metadata.name, 'Bitcoin');
interface Slip44 {
  [index:string]: {
    index: string;
    hex: string;
    symbol: string;
    name: string;
    link?: string;
  }
}

Updating

To automatically update from the slip44 doc, run ./generate.sh.