Module: bitmessage/address

Working with Bitmessage addresses.
NOTE: Address is exported as a module.

Source:
See:
Example
var Address = require("bitmessage").Address;
// Or: var Address = require("bitmessage/lib/address");

// Generate a new random Bitmessage identity.
var addr1 = Address.fromRandom();
console.log("New random Bitmessage address:", addr1.encode());

// Or create it from passphrase.
var addr2 = Address.fromPassphrase("test");
console.log("Deterministic Bitmessage address:", addr2.encode());

Classes

Address