Function rusty_paper_wallet::create_key_pairs_and_address[][src]

pub fn create_key_pairs_and_address(
    descriptor_string: &Descriptor<String>,
    network: Network
) -> Result<(BTreeMap<String, WifAndHexPub>, Address)>
Expand description

Creates a key pair for every alias in the given descriptor, Creates another descriptor replacing alias with the relative public key, so that we can compute the address.