1.0.2 • Published 11 months ago

@zhelvis/tokens v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Tokens

Downloads metadata of well-known tokens in diffrenent networks from CmC API

Instalation

npm install @zhelvis/tokens

Usage

Usage: tokens [options]

Options:
  -V, --version         output the version number
  -k, --key <string>    CmC API key (default: "b54bcf4d-1bca-4e8e-9a24-22ff2c3d462c")
  -h --host <string>    CmC API host (default: "sandbox-api.coinmarketcap.com")
  -r --rate <number>    Requests per minute (default: 30)
  -o --output <string>  Output file (default: "tokens.json")
  --help                display help for command

Output structure

{
    [symbol: string]: {
        name: string;
        logo: string;
        description: string | null;
        urls: {
            website: string[];
            technical_doc: string[];
            explorer: string[];
            source_code: string[];
            message_board: string[];
            chat: string[];
            announcement: string[];
            reddit: string[];
            twitter: string[];
        };
        addresses: {
            [platform: string]: string;
        };
    } 
}
1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago