Aya Elhawary
Aya Elhawary

Reputation: 11

How can I transfer data from running hyperledgerfabric blockchain to new hyperledgerFabric blockchain?

I have running hyperLedgerFabric blockchain network and I want to transfer data to new hyperLedgerFabric blockchain

Upvotes: 1

Views: 160

Answers (1)

Dave Enyeart
Dave Enyeart

Reputation: 2573

You can write a client application that uses the block event service to read all the blocks from the first chain, iterate over the transaction write sets within each block, and for each submit a transaction to the new chain. See the block event service sample that iterates over all transactions.

Upvotes: 1

Related Questions