If you're doing your own altcoin, I suggest forking the bitcoinj project to implement the specific rules. Add a new NetworkParameters subclass for your altcoin.
On 10/13/2017 03:45 AM, Arief Mulyana Djauhari wrote: > HI Andreas, > > In MainNetParams, how about id field, default is id = ID_MAINNET ,if > we want to running our own network, what is the value of id ? > > Best regards, > > Arief > > On Friday, October 13, 2017 at 3:25:25 AM UTC+7, Andreas Schildbach wrote: > > Use MainNetParams.get() for example. > > > On 10/12/2017 11:45 AM, Arief Mulyana Djauhari wrote: > > HI, > > > > In the WalletAppKit, we can instantiate new WalletAppKit using three > > param - WalletAppKit(NetworkParameters params, File directory, > String > > filePrefix). > > How to instantiate NetworkParameter? > > > > Best Regards, > > > > Arief > > > > -- > > You received this message because you are subscribed to the Google > > Groups "bitcoinj" group. > > To unsubscribe from this group and stop receiving emails from it, > send > > an email to bitcoinj+u...@googlegroups.com > > <mailto:bitcoinj+u...@googlegroups.com>. > > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > -- > You received this message because you are subscribed to the Google > Groups "bitcoinj" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to bitcoinj+unsubscr...@googlegroups.com > <mailto:bitcoinj+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "bitcoinj" group. To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.