Skip to content

valentinfernandez1/TransactionReplaySender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transaction Replay Sender

Used with the evm-tx-replay pallet to perform transaction replay migration into a substrate chain. It sends all the transactions from the old chain to the new chain. All the transactions are stored in a mongoDB collection.

Configuration

Inside config.json some values can be customized

{
  "poolBuffer": 20,   # Amount of space to leave in the pool to avoid filling it
  "poolLimit": 5000,  # Limit set in the receiving chain
  "startingIndex": 0, # Starting transaction number to send in case the script stops
  "timeout": 6000     # Time between transaction pool checks
}

Also inside a .env file the following values are needed

CHAIN_URL = # Receiving blockchain
MONGO_URL = # MongoDB collection where the txs are stored
PERMISSIONED_AUTHORITY = #Private key of account configured as authority in evm-tx-replay pallet

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors