Fix index.ts networks.ts lint

This commit is contained in:
junderw 2019-03-07 12:11:15 +09:00
parent 6a734aef4c
commit 3f34fe457a
No known key found for this signature in database
GPG key ID: B256185D3A971908
5 changed files with 26 additions and 26 deletions

View file

@ -1,18 +1,18 @@
// https://en.bitcoin.it/wiki/List_of_address_prefixes
// Dogecoin BIP32 is a proposed standard: https://bitcointalk.org/index.php?topic=409731
export type Network = {
export interface Network {
messagePrefix: string;
bech32: string;
bip32: bip32;
bip32: Bip32;
pubKeyHash: number;
scriptHash: number;
wif: number;
};
}
type bip32 = {
interface Bip32 {
public: number;
private: number;
};
}
export const bitcoin: Network = {
messagePrefix: '\x18Bitcoin Signed Message:\n',