openalias
v1.0.0
Published
Returns all OpenAlias compatible TXT records for crypto currency wallets, from a given domain
Downloads
4
Readme
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' } ]
};