Skip to main content

Teleporter CLI


Dive deeper into Teleporter and kickstart your journey in building cross-chain dApps by enrolling in our Teleporter course.

This directory contains the source code for the Teleporter CLI. The CLI is a command line interface for interacting with the Teleporter contracts. It is written with cobra commands as a Go application.


To build the CLI, run go build from this directory. This will create a binary called teleporter-cli in the current directory.


The CLI has a number of subcommands. To see the list of subcommands, run ./teleporter-cli help. To see the help for a specific subcommand, run ./teleporter-cli help <subcommand>.

The supported subcommands include:

  • event: given a log event's topics and data, attempts to decode into a Teleporter event in a more readable format.
  • message: given a Teleporter message encoded as a hex string, attempts to decode into a Teleporter message in a more readable format.
  • transaction: given a transaction hash, attempts to decode all relevant Teleporter and Warp log events in a more readable format.

Was this page helpful?