add opts.blockchain in wallet