A minimal example demonstrating how to create, sign, and broadcast a Type 0x76 transaction to the Tempo network.
This example shows the basic flow for sending a transaction with a single call.
- Copy the environment file and configure your settings:
cp env.example .env- Edit
.envwith your values:
TEMPO_PRIVATE_KEY=0x... # Your private key
TEMPO_RECIPIENT_ADDRESS=0x... # Recipient address- Run the example:
export $(cat .env | xargs) && go run main.go