set address version and p2p_prefix for testnet