PerformanceBlog
Tempo MCP serverGive agents search and read tools for Tempo docs
Skip to content
LogoLogo

Prool Setup

Setup infinite pooled Tempo node instances in TypeScript using prool by following the steps below.

Install Prool for Tempo

  • Prool is a library that provides programmatic HTTP testing instances for Ethereum.

Create a Prool 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

Next steps for Prool

After you have set up Tempo with Prool, you can now:

  • Easily use Tempo in your test suite with Vitest
  • Run Tempo locally alongside your Vite or Next.js development server