1.0.0 • Published 5 years ago

openalias v1.0.0

Weekly downloads
8
License
ISC
Repository
-
Last release
5 years ago

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' } ]
};