Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 554 Bytes

File metadata and controls

28 lines (18 loc) · 554 Bytes

Simple Send

Overview

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.

Running

  1. Copy the environment file and configure your settings:
cp env.example .env
  1. Edit .env with your values:
TEMPO_PRIVATE_KEY=0x...        # Your private key
TEMPO_RECIPIENT_ADDRESS=0x...  # Recipient address
  1. Run the example:
export $(cat .env | xargs) && go run main.go