Wondering what’s next for npm?Check out our public roadmap! »

    openalias

    1.0.0 • Public • Published

    OpenAlias JS

    This helper will query a domain name and return all OpenAlias compatible TXT records for crypto currency wallets

    Example Usage

    const { openAlias } = require('openAlias');
    
    openAlias("vinniejames.de").then(wallets => {
      // [ { coin: 'btc',
      //    address: '1AhN1xcGAMUe5NojxH9Xeg1MzipAgAjuhD',
      //    name: 'Super Bitcoin' },
      //  { coin: 'eth',
      //    address: '0xdAF400C566ebf96e099C5AE0236e5245Fb052A47',
      //    name: 'Extra Ethereum' } ]
    };
    

    Keywords

    none

    Install

    npm i openalias

    DownloadsWeekly Downloads

    3

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    1.46 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar