Type Definition libindy_sys::indyCreatePaymentAddressCB [−][src]
type indyCreatePaymentAddressCB = Option<unsafe extern "C" fn(command_handle: indy_handle_t, wallet_handle: indy_handle_t, config: *const c_char, cb: indy_err_str_cb) -> indy_error_t>;
Create the payment address for this payment method.
This method generates private part of payment address and stores it in a secure place. Ideally it should be secret in libindy wallet (see crypto module).
Note that payment method should be able to resolve this secret by fully resolvable payment address format.
#Params
command_handle: command handle to map callback to context
wallet_handle: wallet handle where keys for signature are stored
config: payment address config as json:
{
seed:
#Returns payment_address - public identifier of payment address in fully resolvable payment address format