Setup
Setup infinite pooled Tempo node instances in TypeScript using prool by following the steps below.
Install
- Prool is a library that provides programmatic HTTP testing instances for Ethereum.
Create Instance
You can programmatically start a Tempo node instance in TypeScript using Instance.tempo:
import { Instance, Server } from 'prool'
const server = Server.create({
instance: Instance.tempo(),
});
// Start the node
await server.start()
// Instances available at:
// - http://localhost:8545/1
// - http://localhost:8545/2
// - http://localhost:8545/3
// - http://localhost:8545/4
// - http://localhost:8545/n