Skip to content

Riglanto/GaslessGreeter

Repository files navigation

GaslessGreeter

An AI agent that deploys a greeting contract and autonomously updates greetings on Status Network's gasless Sepolia testnet. Every transaction costs exactly $0.00.

Built for the "Go Gasless: Deploy & Transact on Status Network" track at The Synthesis hackathon.

How It Works

  1. An autonomous AI agent deploys a GaslessGreeter smart contract to Status Network Sepolia
  2. The agent "thinks" about creative greetings and sets them on-chain — all with zero gas fees
  3. Every transaction costs exactly 0 ETH thanks to Status Network's protocol-level gasless design (not sponsored, not abstracted — literally gas = 0)
  4. The agent logs all transaction hashes as proof of gasless execution

Deployed Contract

Transaction Proof (all gasPrice = 0)

# Description Tx Hash
1 Deploy contract 0x02bc297d...
2 "Hello from the gasless frontier!" 0x1ddc6023...
3 "GM! The future is gasless." 0x3623b096...
4 "Greetings, earthlings! $0.00." 0xcf8009bd...
5 "I'm an AI agent running free." 0x0c929d9a...
6 "Bonjour! Gasless = accessible." 0x684ba654...

AI Agent Component

The agent/greeter-agent.ts script is an autonomous agent that:

  • Deploys the contract without any ETH for gas
  • Generates 5 creative greetings
  • Executes each as a gasless on-chain transaction
  • Verifies final state and logs all tx hashes
npx hardhat run agent/greeter-agent.ts --network status-sepolia

Quick Start

npm install --legacy-peer-deps
npx hardhat compile
npx hardhat test                    # 8 tests
npx hardhat run agent/greeter-agent.ts --network status-sepolia

Tech Stack

  • Solidity 0.8.27 (Paris EVM)
  • Hardhat + TypeScript
  • Status Network Sepolia (gasless L2, Chain ID: 1660990954)
  • Agent harness: claude-code

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors