To unlock gas savings via transaction aggregation, da-builder needs a way to submit proof transactions as if they originate from your EOA. For Aztec Ignition, this means da-builder can submit proofs and block proposal on your behalf and Aztec will attribute the transaction to your EOA (i.e., msg.sender remains your EOA for attribution and protocol logic).
There are multiple ways to do this with different security/operational tradeoffs. We recommend starting with a time-boxed, low-exposure test on a subset of dedicated prover EOAs.
We can enable “EOA-originating” calls by delegating your EOA to a compatible smart contract wallet (EIP-7702 delegation). This preserves msg.sender while allowing execution logic to be constrained in code.
Spire uses a gas tank to pay for transactions rather than using eth direct from your EOA, the reason for this is that we keep the logic off chain and it leads to further gas savings.
Add a small amount of ETH for gas to the EOA being delegated to cover gas:
https://etherscan.io/address/0x2565c0A726cB0f2F79cd16510c117B4da6a6534b#writeProxyContract
Delegate your EOA to our TrustedProposer 0xC09f597034f654283a05B058EE1306534b837868
You can use a script we’ve built to simplify things:
bash -c 'curl -s <https://da-builder.mainnet.spire.dev/scripts/delegate.js> > /tmp/delegate.js && node /tmp/delegate.js'
Otherwise you need to sign a delegation transaction using something like cast:
#!/usr/bin/env bash
set -euo pipefail
# Required env var:
# EOA_PK - private key of the EOA that will be delegated (and pays gas)
RPC_URL="<https://da-builder.mainnet.spire.dev/>"
DELEGATE="0xC09f597034f654283a05B058EE1306534b837868"
# ^Trusted Proposer Address
SIGNED_AUTH="$(cast wallet sign-auth "$DELEGATE" \
--private-key "$EOA_PK" \
--rpc-url "$RPC_URL")"
cast send "$(cast az)" \
--private-key "$EOA_PK" \
--auth "$SIGNED_AUTH" \
--rpc-url "$RPC_URL"
Update your RPC provider to https://da-builder.mainnet.spire.dev/ for eth_sendRawTransaction and eth_getTransactionReceipt. On our setup we’ve been using erpc for this.