insight-bitcore-api
Version:
An open-source bitcoin blockchain API. The Insight API provides you with a convenient, powerful and simple way to query and broadcast data on the bitcoin network and build your own services with it.
22 lines (15 loc) • 389 B
JavaScript
#!usr/bin/env node
var email = process.argv[2];
if (!email) {
console.log('\tdeleteWholeProfile.js <email>');
process.exit(-1);
}
console.log('\t Deleting email:', email, process.env.INSIGHT_NETWORK);
var p = require('../plugins/emailstore');
p.init({});
p.deleteWholeProfile(email, function(err) {
if (err)
console.log('[err:]', err);
else
console.log('done');
});