Skip to content

Conversation

@gakonst
Copy link
Contributor

@gakonst gakonst commented Jan 30, 2026

Summary

Adds documentation for Tempo T1 hardfork Foundry features.

Motivation

The T1 upgrade adds new cast/forge commands that need to be documented. Examples sourced from tempo-foundry/tempo-check.sh.

Changes

Adds T1 Features section to /sdk/foundry with:

  • 2D Nonces (--nonce-key) - parallel transaction submission with independent nonce sequences
  • Expiring Nonces (--expiring-nonce, --valid-before, --valid-after) - time-bounded transactions
  • Access Keys (--access-key, --root-account) - delegated signing via Account Keychain
  • Sponsored Transactions (--sponsor-signature, --print-sponsor-hash) - gasless transactions
  • Batch Transactions (cast batch-mktx, cast batch-send, forge script --batch) - atomic multi-call execution

Testing

Manual review of MDX syntax.


Stacked on #41

Slack thread: https://tempoxyz.slack.com/archives/C0A87C21805/p1769784784768179

Tempo Features (T0+):
- Sponsored transactions (--sponsor-signature, --print-sponsor-hash)
- Batch transactions (cast batch-mktx, cast batch-send, forge script --batch)
  - Atomic execution, single CREATE first, value must be 0, silent failures

T1 Features:
- 2D nonces (--nonce-key) for parallel tx submission
- Expiring nonces (--expiring-nonce, --valid-before, --valid-after)
- Access keys (--access-key, --root-account) for delegated signing

Examples adapted from tempo-foundry tempo-check.sh

Co-authored-by: George <george@tempo.xyz>
Amp-Thread-ID: https://ampcode.com/threads/T-019c0f64-ce8e-771c-af58-358a84c3d13c
Co-authored-by: Amp <amp@ampcode.com>
@gakonst gakonst force-pushed the georgen/foundry-t1-features branch from 620a25f to 58cd162 Compare January 30, 2026 15:19
Add examples to existing sections without new paragraphs:
- forge: --batch flag for atomic multi-call scripts
- cast: batch-send, sponsored tx, 2D nonces, expiring nonces, access keys

Batch transaction rules added as warning callout under forge section.

Amp-Thread-ID: https://ampcode.com/threads/T-019c0f64-ce8e-771c-af58-358a84c3d13c
Co-authored-by: Amp <amp@ampcode.com>
@grandizzy grandizzy marked this pull request as ready for review January 30, 2026 15:28
@o-az o-az merged commit b90d360 into next Jan 30, 2026
2 checks passed
@o-az o-az deleted the georgen/foundry-t1-features branch January 30, 2026 15:45
snario pushed a commit that referenced this pull request Feb 3, 2026
gakonst added a commit that referenced this pull request Feb 4, 2026
…eys, sponsors, batching (#55)

Co-authored-by: George <george@tempo.xyz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants