Quick Contracts Deployment

You can control the mining pace to accelerate contract deployment. Start anvil with the following configuration:

[blockchain_a]
  type = "anvil"

Set the miner speed,

	// start periodic mining so nodes can receive heads (async)
	miner := rpc.NewRemoteAnvilMiner(bcSrc.Nodes[0].HostHTTPUrl, nil)
	miner.MinePeriodically(5 * time.Second)

Then use this template