UNPKG

vanity-key

Version:

Generate vanity prefixes for Bitcoin public key addresses

17 lines (14 loc) 270 B
var redtape = require('redtape'), vanityKey = require('..'); var it = redtape({ beforeEach: function (cb) { cb(); }, afterEach: function (cb) { cb(); } }); it('should say hello', function(t) { t.equal(vanityKey(), 'Hello, world'); t.end(); });