Wallet { public static WalletFile createLight(String password, ECKeyPair ecKeyPair) throws CipherException { return create(password, ecKeyPair, N_LIGHT, P_LIGHT); }  static WalletFile create(String password, ECKeyPair ecKeyPair, int n, int p); static WalletFile createStandard(String password, ECKeyPair ecKeyPair); static WalletFile createLight(String password, ECKeyPair ecKeyPair); static ECKeyPair decrypt(String password, WalletFile walletFile);  }
@Test public void testCreateLight() throws Exception { WalletFile walletFile = Wallet.createLight(SampleKeys.PASSWORD, SampleKeys.KEY_PAIR); System.out.println("------ mainnet:" + walletFile.getAddress().getMainnet()); System.out.println("------ testnet:" + walletFile.getAddress().getTestnet()); }