io.horizen.DefaultAccountBootstrappingTool Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sidechains-sdk-account_sctools Show documentation
Show all versions of sidechains-sdk-account_sctools Show documentation
This module offers a way to create a sidechain's configuration file and some utilities (account model).
package io.horizen;
import io.horizen.tools.utils.ConsolePrinter;
public class DefaultAccountBootstrappingTool extends AbstractScBootstrappingTool {
public DefaultAccountBootstrappingTool() {
super(new ConsolePrinter());
}
public static void main(String[] args) {
AbstractScBootstrappingTool bootstrap = new DefaultAccountBootstrappingTool();
bootstrap.startCommandTool(args);
}
@Override
protected ScBootstrappingToolCommandProcessor getBootstrappingToolCommandProcessor() {
return new ScBootstrappingToolCommandProcessor(printer, new AccountModel());
}
}