Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 872 Bytes

localsigning.md

File metadata and controls

35 lines (25 loc) · 872 Bytes

Using the local signing

If you do not want to send your secrets to a node you can make use of our ardorsign npm package.

npm i ardorsign -g

This will install the command line tool which will be required by this package.

If you want to use this feature set the config:

ARDOR_LOCAL_SIGN_AVAILABLE=true

or within your application code:

Config::set('ardor.localSignAvailable', true);

After that every method provided by this application will be available with an extra command (signLocal). eg:

$message = time();
$messenger = new ArdorMessengerHandler();   
$result = $messenger
            ->signLocal()
            ->calculateFee()
            ->sendMessage("ARDOR-DAZJ-VVSM-552M-8K459", $message, false);

Return to the overview page for all topics.