Translations: Sample Java Programs/62/en
From ArdorDocs
// start the node, so make sure it is not already running or you'll receive a BindException
try { PhasedTransaction phasedTransaction = new PhasedTransaction(); phasedTransaction.submitPhasedTransaction(url); } finally { Nxt.shutdown(); // shutdown the node properly before closing the Java process } }