How to create a Zcash main net address before the actual launch

Can someone explain how to create a Zcash main net address before the actual launch?
When I set my config file to:

The Zcashd -daeomon will no longer load due to the following error:

EXCEPTION: St13runtime_error       
could not load param file at /home/roger/.zcash-params/z9-verifying.key       
Zcash in AppInit()

When I set my config file to:
Everything works fine.
Any advice on how to generate a main net address before the official launch would be greatly appreciated!

1 Like

This is an issue with the location of the JoinSplit parameters. It will be fixed in the soon-to-be-released beta 2 :slight_smile:

So is there a way I can create a main net address today?

Start the Zcash node with testnet=0 (or just without it), and then zcash-cli z_getnewaddress. If you have encrypted the wallet, you’ll need to wait until beta 2 is released in order for it to be persisted, but at this point it is probably safer to just export it. So:

$ ./src/zcash-cli z_getnewaddress
$ ./src/zcash-cli z_exportkey zcFooB4rb45...

Once mainnet launches:
$ ./src/zcash-cli z_importkey SKk33PM3s4fe...

this creates realnet usable t addresses:

apt-get install golang
mkdir ~/go
export GOPATH=~/go
export PATH=$PATH:$GOPATH/bin
go get -u GitHub - btcsuite/btcutil: Provides bitcoin-specific convenience functions and types
go get -u GitHub - blackkeyboard/mneumonic
go get -u GitHub - blackkeyboard/zgenerate: Offline BIP32 wallet generator for Zcash
zgenerate -n 1