Skip to content

Latest commit

 

History

History
69 lines (46 loc) · 1004 Bytes

README.md

File metadata and controls

69 lines (46 loc) · 1004 Bytes

PEAQ EVM Smart Contracts

This repository contains the smart contracts for PEAQ's EVM Gas Station implementation, built using Foundry.

Overview

The Gas Station Factory enables gasless transactions for machines on the PEAQ network, allowing them to execute transactions without holding native tokens. Key features include:

  • Machine Smart Account deployment
  • Gasless transaction execution
  • Balance management for gas station operations
  • EIP-712 compliant signatures
  • Role-based access control

Documentation

https://book.getfoundry.sh/

Usage

Build

$ forge build

Test

$ forge test

Format

$ forge fmt

Gas Snapshots

$ forge snapshot

Anvil

$ anvil

Deploy

$ forge script script/Counter.s.sol:CounterScript --rpc-url <your_rpc_url> --private-key <your_private_key>

Cast

$ cast <subcommand>

Help

$ forge --help
$ anvil --help
$ cast --help